btzy / nativefiledialog-extended

Cross platform (Windows, Mac, Linux) native file dialog library with C and C++ bindings, based on mlabbe/nativefiledialog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on Linux

Sil3ntStorm opened this issue · comments

When using this on Linux and calling OpenDialog the application instantly terminates

Gtk:ERROR:../../../../gtk/gtkpathbar.c:1754:gtk_path_bar_get_info_callback: assertion failed: (cancellable == file_info->path_bar->priv->get_info_cancellable)
Bail out! Gtk:ERROR:../../../../gtk/gtkpathbar.c:1754:gtk_path_bar_get_info_callback: assertion failed: (cancellable == file_info->path_bar->priv->get_info_cancellable)

when not using gtk but dbus instead there is simply a segmentation fault.

Please share your OS version, and ideally a GitHub Actions link or build script. Also, try out the samples in the test/ directory - if the samples work but your code doesn't work, then you probably aren't calling NFD correctly.

Closing this because there is not enough information to reproduce. Feel free to reopen it when you can provide clear instructions that will allow me to reproduce the crash.