Bugzilla – Bug 156487
hugin segfaults when closing file dialog
Last modified: 2006-04-13 07:00:37 UTC
Run hugin, select "Add individual images..." and close the file dialog again. hugin either segfaults immediatelly or prints: (hugin:17019): GLib-GObject-WARNING **: invalid uninstantiatable type `gchararray' in cast to `GtkFileChooser' (hugin:17019): Gtk-CRITICAL **: gtk_file_chooser_get_filter: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed (hugin:17019): Gtk-CRITICAL **: gtk_file_chooser_list_filters: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed After two or three iterations, hugin eventually segfaults. Same result on x86_64 and i586.
Created attachment 71990 [details] hugin.backtrace
Created attachment 72033 [details] hugin-0.5-filedialog-close-crash.patch Patch that avoids touching the dlg object when it's closed/cancelled. The real problem is wxGTK not distinguishing between "dialog canceled" and "dialog closed" (and the GTK widget free()d). It allways returns wxID_CANCEL :-(
Fixed. Could you report it upstream?
done.