Graham Menhennitt wrote: > I'm seeing a crash in 2.3.8 when setting options in a Transaction > report. I'm 99% sure that this didn't happen in 2.3.7. If required, I > can rebuild 2.3.7 and try it. I've tried running Check & Repair All to > make sure I have no errors in my file, but it still happens. > > I open my GnuCash XML file and select Reports->Transaction Report - the > report opens correctly. I then open the Report Options dialog, on the > Accounts tab select a single account and press Apply or Ok. Gnucash > immediately crashes with "Segmentation Violation". If I run with > --debug, the last few lines of the gnucash.trace file contain: > > * 11:06:09 WARN <GLib-GObject> invalid cast from > `GncTreeModelAccountDrag' to `GtkTreeModelSort' > * 11:06:09 CRIT <Gtk> gtk_tree_model_sort_convert_iter_to_child_iter: > assertion `GTK_IS_TREE_MODEL_SORT (tree_model_sort)' failed > * 11:06:09 WARN <GLib-GObject> invalid cast from > `GncTreeModelAccountDrag' to `GtkTreeModelSort' > * 11:06:09 CRIT <Gtk> gtk_tree_model_sort_get_model: assertion > `GTK_IS_TREE_MODEL_SORT (tree_model)' failed > * 11:06:09 CRIT <Gtk> gtk_tree_model_filter_convert_iter_to_child_iter: > assertion `GTK_IS_TREE_MODEL_FILTER (filter)' failed
Some more info: this is on Kubuntu Karmic and with a standard gnucash build with no options to configure. It happens 100% reproducibly. Below is a stack backtrace. Graham Program received signal SIGSEGV, Segmentation fault. 0x077c78d9 in gnc_tree_view_account_filter_by_view_info (acct=0x8, data=0x8588518) at gnc-tree-view-account.c:986 986 g_return_val_if_fail(GNC_IS_ACCOUNT(acct), FALSE); (gdb) bt #0 0x077c78d9 in gnc_tree_view_account_filter_by_view_info (acct=0x8, data=0x8588518) at gnc-tree-view-account.c:986 #1 0x077c7373 in get_selected_accounts_helper (s_model=0x9425a30, s_path=0xa555ad0, s_iter=0xbfffe25c, data=0xbfffe2a8) at gnc-tree-view-account.c:1218 #2 0x00f97e6a in gtk_tree_selection_selected_foreach () from /usr/lib/libgtk-x11-2.0.so.0 #3 0x077c9445 in gnc_tree_view_account_get_selected_accounts (view=0x8588310) at gnc-tree-view-account.c:1242 #4 0x0776f5f6 in gnc_option_get_ui_value_account_list (option=0x9d9fb28, widget=0x8588310) at dialog-options.c:2797 #5 0x07772357 in gnc_option_get_ui_value_internal (option=0x9d9fb28) at dialog-options.c:348 #6 0x0039a1fc in gnc_option_get_ui_value (option=0x85428b0) at option-util.c:161 #7 0x0039bcbc in gnc_commit_option (odb=0x8ee24f0) at option-util.c:1662 #8 gnc_option_db_commit (odb=0x8ee24f0) at option-util.c:1799 #9 0x00d3cb0c in gnc_options_dialog_apply_cb (propertybox=0xa3dd348, user_data=0xa4b6798) at window-report.c:85 #10 0x07772821 in gnc_options_dialog_response_cb (dialog=0x8a5a620, response=-10, window=0xa3dd348) at dialog-options.c:1357 #11 0x004a0748 in g_cclosure_marshal_VOID(int0_t) () from /usr/lib/libgobject-2.0.so.0 #12 0x00493072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #13 0x004a87a8 in ?? () from /usr/lib/libgobject-2.0.so.0 #14 0x004a9b2d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #15 0x004a9fb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #16 0x00e20961 in gtk_dialog_response () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x004a09fc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #18 0x00493072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #19 0x004a87a8 in ?? () from /usr/lib/libgobject-2.0.so.0 #20 0x004a9b2d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #21 0x004a9fb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #22 0x00dee88a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0 #23 0x00defea8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #24 0x004a09fc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #25 0x004916f9 in ?? () from /usr/lib/libgobject-2.0.so.0 #26 0x00493072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #27 0x004a80b0 in ?? () from /usr/lib/libgobject-2.0.so.0 #28 0x004a9b2d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #29 0x004a9fb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #30 0x00dee92a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #31 0x00dee963 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #32 0x00eae474 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #33 0x004916f9 in ?? () from /usr/lib/libgobject-2.0.so.0 #34 0x00493072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #35 0x004a849e in ?? () from /usr/lib/libgobject-2.0.so.0 #36 0x004a99b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #37 0x004a9fb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #38 0x00fca96e in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #39 0x00ea6c20 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #40 0x00ea7ea9 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #41 0x005a562a in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #42 0x00b0ce78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #43 0x00b10720 in ?? () from /lib/libglib-2.0.so.0 #44 0x00b10b8f in g_main_loop_run () from /lib/libglib-2.0.so.0 #45 0x00ea8419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #46 0x0779f904 in gnc_ui_start_event_loop () at gnc-gnome-utils.c:450 #47 0x0804ad05 in inner_main (closure=0x0, argc=1, argv=0xbffff5d4) at gnucash-bin.c:491 #48 0x001d9912 in scm_boot_guile () from /usr/lib/libguile.so.12 #49 0x0804a8bd in main (argc=1, argv=0xbffff5d4) at gnucash-bin.c:625 _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel