After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 379371 - Crash when posting/unposting invoice
Crash when posting/unposting invoice
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Register
2.0.x
Other Linux
: Normal critical
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on:
Blocks:
 
 
Reported: 2006-11-26 05:20 UTC by Per
Modified: 2018-06-29 21:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Per 2006-11-26 05:20:52 UTC
First time I've seen this happen, I've posted other invoices successfully in 2.0.2.  But for some reason, this one is crashing it.  Here's the gdb output with stack trace:

(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 13995)

  • #0 gtk_tree_model_get_valist
    from /usr/lib/libgtk-x11-2.0.so.0
  • #1 gtk_tree_model_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #2 sort_by_string
    at gnc-tree-view-account.c line 287
  • #3 gtk_tree_model_sort_convert_iter_to_child_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 gtk_tree_model_sort_convert_child_iter_to_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_tree_model_row_inserted
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_tree_model_filter_convert_iter_to_child_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #17 gtk_tree_model_row_changed
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 gnc_tree_model_account_event_handler
    at gnc-tree-model-account.c line 1560
  • #19 qof_event_generate_internal
    at qofevent.c line 247
  • #20 on_done
    at Account.c line 321
  • #21 qof_commit_edit_part2
    at qofutil.c line 321
  • #22 xaccAccountCommitEdit
    at Account.c line 406
  • #23 gncInvoicePostToAccount
    at gncInvoice.c line 1053
  • #24 gnc_invoice_window_postCB
    at dialog-invoice.c line 662
  • #25 gnc_plugin_page_invoice_cmd_post
    at gnc-plugin-page-invoice.c line 621
  • #26 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #31 gtk_action_create_menu_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #38 gtk_tool_button_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #40 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #44 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 gtk_button_get_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #48 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #52 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #53 gtk_button_set_relief
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #55 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #56 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #57 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #58 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #59 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #60 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #61 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #62 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #63 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #64 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #65 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #66 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #67 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #68 gnc_ui_start_event_loop
    at gnc-gnome-utils.c line 368
  • #69 inner_main
    at gnucash-bin.c line 479
  • #70 scm_boot_guile
    from /usr/lib/libguile.so.12
  • #71 main
    at gnucash-bin.c line 515

Comment 1 Christian Stimming 2006-11-26 20:47:31 UTC
Stack trace similar to bug#341757 which claims to be a duplicate of bug#343405 but was fixed in 1.9.7.

On the other hand there are all these gtk_tree_model crashes in bug#364946 - maybe related?

@Per: Does this crash occur every time or only occasionally? Can you please add some more precise instructions on how to reproduce? Thanks.
Comment 2 Per 2006-11-27 01:35:01 UTC
Christian:

Yes, it crashes every time.  So I reverted to Gnucash 1.8.12 to post the invoice (worked fine), then re-opened it in 2.0.2 and tried to unpost it.  Crashed again when doing that, so the stack trace is below.  I could try to wash the confidential information from the set of accounts and attach it if you think that will help?

(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 3536)

  • #0 gtk_tree_model_get_valist
    from /usr/lib/libgtk-x11-2.0.so.0
  • #1 gtk_tree_model_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #2 sort_by_string
    at gnc-tree-view-account.c line 287
  • #3 gtk_tree_model_sort_convert_iter_to_child_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 gtk_tree_model_sort_convert_child_iter_to_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_tree_model_row_inserted
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_tree_model_filter_convert_iter_to_child_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #17 gtk_tree_model_row_changed
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 gnc_tree_model_account_event_handler
    at gnc-tree-model-account.c line 1560
  • #19 qof_event_generate_internal
    at qofevent.c line 247
  • #20 xaccSplitCommitEdit
    at Split.c line 516
  • #21 do_destroy
    at Transaction.c line 897
  • #22 qof_commit_edit_part2
    at qofutil.c line 316
  • #23 xaccTransCommitEdit
    at Transaction.c line 1044
  • #24 gncInvoiceUnpost
    at gncInvoice.c line 1152
  • #25 gnc_invoice_window_unpostCB
    at dialog-invoice.c line 695
  • #26 gnc_plugin_page_invoice_cmd_unpost
    at gnc-plugin-page-invoice.c line 635
  • #27 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #32 gtk_action_create_menu_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #39 gtk_tool_button_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #44 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #45 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 gtk_button_get_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 g_cclosure_marshal_VOID__VOID
  • #48 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #52 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #53 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 gtk_button_set_relief
    from /usr/lib/libgtk-x11-2.0.so.0
  • #55 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #56 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #57 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #58 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #59 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #60 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #61 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #62 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #63 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #64 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #65 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #66 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #67 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #68 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #69 gnc_ui_start_event_loop
    at gnc-gnome-utils.c line 368
  • #70 inner_main
    at gnucash-bin.c line 479
  • #71 scm_boot_guile
    from /usr/lib/libguile.so.12
  • #72 main
    at gnucash-bin.c line 515

Comment 3 Christian Stimming 2006-11-27 09:44:48 UTC
Thanks for the additional stack trace. Again the crash from sort_by_string() gnc-tree-view-account.c:287 is also mentioned in bug#343405 (and bug#339656 but that has a different stack trace otherwise) which is claimed to be fixed in 1.9.7. Which version of gtk do you have installed? 2.8.x or 2.10.x or something similar?

Did I understand correctly: The crash in comment#2 appeared when *unposting* an invoice, whereas the initial crash appeared when *posting* an invoice? You could help a little bit more by trying to get a more verbose stack trace; e.g. are there any packages gtk2-debuginfo that you can install, and then get a stack trace again? Also, when in gdb, can you print some of the variables in the frames where gnucash functions are being called (function name and/or file name starts with gnc), like frame#2 and frame#18, like this:

up 2
print *f_model
print *f_iter1
print *f_iter2

Thanks.
Comment 4 Per 2006-11-27 16:33:45 UTC
I am on a Fedora Core 4 system, I built gnucash 2.0.2 from source as I don't yet want to upgrade the OS.  The gtk2 rpm I am currently using is gtk2-2.6.10-2.fc4.4.

Yes, the crash in comment 2 happened when I tried to unpost the same invoice (as I had mentioned, I got it to post successfully only after going back to Gnucash 1.8.12).  I was trying to unpost it in 2.0.2 to see if I could duplicate the crash.

I can't find any gtk2 debuginfo packages for my distro, unless you see something that looks right here?

# yum list '*debug*' | grep -i gtk
GTKsubtitler-debuginfo.i386              0.2.4-0.2.fc4.rf       rpmforge
blogtk-debuginfo.i386                    1.0-1.2.fc4.rf         rpmforge
gtkextra-debuginfo.i386                  0.99.17-1.2.fc4.rf     rpmforge
gtkglext-debuginfo.i386                  1.0.6-1.2.fc4.rf       rpmforge
gtklife-debuginfo.i386                   4.2-1.2.fc4.rf         rpmforge
gtkmm2-debuginfo.i386                    2.2.12-1.fc4.rf        rpmforge
gtkpod-debuginfo.i386                    0.99.4-2.fc4.rf        rpmforge
gtksql-debuginfo.i386                    0.4.2-2.2.fc4.rf       rpmforge
gtktalog-debuginfo.i386                  1.0.4-3.2.fc4.rf       rpmforge
perl-Gtk-HandyCList-debuginfo.i386       0.031-1.2.fc4.rf       rpmforge
perl-Gtk2-TrayIcon-debuginfo.i386        0.03-1.2.fc4.rf        rpmforge
perl-Gtk2-debuginfo.i386                 1.102-1.2.fc4.rf       rpmforge
wxGTK-debuginfo.i386                     2.4.2-5.2.fc4.rf       rpmforge
xmms-gtk-playlist-debuginfo.i386         2.0-0.2.fc4.rf         rpmforge

As for the last request, I'll have to get back to you.  I don't have a lot of time this morning.

Thanks!
Comment 5 André Klapper 2006-11-27 18:33:29 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 341757 ***
Comment 6 Per 2006-11-27 18:56:20 UTC
341757 was closed as a duplicate of 343405, which was closed as "fixed" in 1.9.7.

I am running 2.0.2, and clearly this issue is not "fixed" as I am still experiencing crashes.
Comment 7 Per 2006-11-28 07:37:15 UTC
Christian:

Here's the stack trace with variables from the gnc frames.  I still don't know which gtk2 debuginfo package I need; hope this helps anyway.

Thanks!

(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 14984)

  • #0 gtk_tree_model_get_valist
    from /usr/lib/libgtk-x11-2.0.so.0
  • #1 gtk_tree_model_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #2 sort_by_string
    at gnc-tree-view-account.c line 287
  • #3 gtk_tree_model_sort_convert_iter_to_child_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 gtk_tree_model_sort_convert_child_iter_to_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_tree_model_row_inserted
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_tree_model_filter_convert_iter_to_child_iter
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #17 gtk_tree_model_row_changed
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 gnc_tree_model_account_event_handler
    at gnc-tree-model-account.c line 1560
  • #19 qof_event_generate_internal
    at qofevent.c line 247
  • #20 xaccSplitCommitEdit
    at Split.c line 516
  • #21 do_destroy
    at Transaction.c line 897
  • #22 qof_commit_edit_part2
    at qofutil.c line 316
  • #23 xaccTransCommitEdit
    at Transaction.c line 1044
  • #24 gncInvoiceUnpost
    at gncInvoice.c line 1152
  • #25 gnc_invoice_window_unpostCB
    at dialog-invoice.c line 695
  • #26 gnc_plugin_page_invoice_cmd_unpost
    at gnc-plugin-page-invoice.c line 635
  • #27 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #32 gtk_action_create_menu_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #39 gtk_tool_button_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #44 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #45 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 gtk_button_get_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 g_cclosure_marshal_VOID__VOID
  • #48 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #51 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #52 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #53 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 gtk_button_set_relief
    from /usr/lib/libgtk-x11-2.0.so.0
  • #55 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #56 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #57 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #58 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #59 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #60 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #61 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #62 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #63 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #64 gdk_screen_get_setting
    from /usr/lib/libgdk-x11-2.0.so.0
  • #65 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #66 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #67 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #68 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #69 gnc_ui_start_event_loop
    at gnc-gnome-utils.c line 368
  • #70 inner_main
    at gnucash-bin.c line 479
  • #71 scm_boot_guile
    from /usr/lib/libguile.so.12
  • #72 main
    at gnucash-bin.c line 515
  • #2 sort_by_string
    at gnc-tree-view-account.c line 287
  • #18 gnc_tree_model_account_event_handler
    at gnc-tree-model-account.c line 1560
  • #19 qof_event_generate_internal
    at qofevent.c line 247
  • #24 gncInvoiceUnpost
    at gncInvoice.c line 1152
  • #26 gnc_plugin_page_invoice_cmd_unpost
    at gnc-plugin-page-invoice.c line 635
$8 = {object = {g_type_instance = {g_class = 0x9433e90}, ref_count = 8,
    qdata = 0x993f7d0}, private_data = 0x9969848}
(gdb) print *plugin_page
$9 = {gnc_plugin_page = {gobject = {g_type_instance = {g_class = 0x9968f28},
      ref_count = 1, qdata = 0x996fca8}, window = 0x942d9a8,
    notebook_page = 0x996af38, summarybar = 0x9996ac0}}
(gdb)
Comment 8 pmckelvey 2007-04-04 21:55:49 UTC
I am running Fedora6, patches current to this afternoon.  I am experiencing the crash on print bug.   I entered a transaction in a cheching account (asset) and saved the whole file to post everything. I try to print that entry using the defaults on the "print check" and it crashes immediately with no bug trace.
Comment 9 Andreas Köhler 2007-05-18 14:59:36 UTC
This is a known bug in Gtk+, fixed in version 2.10.10.  Please update that
library.  I am going to resolve this one as fixed, so as not to spam the
subscribers of bug 364946.
Comment 10 John Ralls 2018-06-29 21:17:29 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=379371. Please update any external references or bookmarks.