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 155327 - Crash if hitting close (ctrl-q) while saving
Crash if hitting close (ctrl-q) while saving
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
1.8.x
Other Linux
: Normal critical
: ---
Assigned To: David Hampton
Chris Lyttle
: 139188 148802 159792 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-13 18:26 UTC by Paolo Benvenuto
Modified: 2018-06-29 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Benvenuto 2004-10-13 18:26:46 UTC
With my gnucash file (29 MB), if I save (ctrl-s), and during the save I hit
ctrl-q, I get a crash.

If gnucash** CRITICAL **: file sixtp-dom-generators.c: line 93
(commodity_ref_to_dom_tree): assertion `c' failed.

** CRITICAL **: file sixtp-dom-generators.c: line 93
(commodity_ref_to_dom_tree): assertion `c' failed.

** CRITICAL **: file sixtp-dom-generators.c: line 93
(commodity_ref_to_dom_tree): assertion `c' failed.

** CRITICAL **: file sixtp-dom-generators.c: line 93
(commodity_ref_to_dom_tree): assertion `c' failed.

** CRITICAL **: file sixtp-dom-generators.c: line 93
(commodity_ref_to_dom_tree): assertion `c' failed. has been run from a terminal,
in the terminal I see:


I tried with a previous file (28 MB), and the result is the same.

I have ~1,300 accounts and ~22,000 txns.
Comment 1 Christian Stimming 2004-10-21 09:26:13 UTC
*** Bug 148904 has been marked as a duplicate of this bug. ***
Comment 2 Christian Stimming 2004-10-21 09:26:49 UTC
*** Bug 148802 has been marked as a duplicate of this bug. ***
Comment 3 Christian Stimming 2004-10-21 09:31:46 UTC
Changing severity to critical - it's a crasher.
Comment 4 Christian Stimming 2004-11-29 15:48:23 UTC
*** Bug 159792 has been marked as a duplicate of this bug. ***
Comment 5 Christian Stimming 2004-12-17 10:43:20 UTC
Could you provide a stack trace (see
http://bugzilla.gnome.org/getting-traces.cgi for more information on how to do
so) of this crash? Thanks.
Comment 6 Paolo Benvenuto 2004-12-17 18:12:34 UTC
Backtrace was generated from '/usr/bin/guile'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread 1076251008 (LWP 6126)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...0x400d540e in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread 1076251008 (LWP 6126))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 gnome_init
    from /usr/lib/libgnomeui.so.32
  • #2 <signal handler called>
  • #3 xmlStrdup
    from /usr/lib/libxml.so.1
  • #4 xmlNewText
    from /usr/lib/libxml.so.1
  • #5 xmlNewDocText
    from /usr/lib/libxml.so.1
  • #6 xmlNewDocRawNode
    from /usr/lib/libxml.so.1
  • #7 xmlNewTextChild
    from /usr/lib/libxml.so.1
  • #8 commodity_ref_to_dom_tree
    at sixtp-dom-generators.c line 102
  • #9 gnc_transaction_dom_tree_create
    at gnc-transaction-xml-v2.c line 164
  • #10 xml_add_trn_data
    at io-gncxml-v2.c line 1028
  • #11 xaccGroupVisitUnvisitedTransactions_thunk
    at Group.c line 1123
  • #12 xaccAccountVisitUnvisitedTransactions
    at Account.c line 3070
  • #13 xaccAccountForEachTransaction
    at Account.c line 3092
  • #14 xaccGroupVisitUnvisitedTransactions
    at Group.c line 1157
  • #15 xaccGroupForEachTransaction
    at Group.c line 1179
  • #16 write_transactions
    at io-gncxml-v2.c line 1046
  • #17 write_book
    at io-gncxml-v2.c line 949
  • #18 gnc_book_write_to_xml_filehandle_v2
    at io-gncxml-v2.c line 1145
  • #19 gnc_book_write_to_xml_file_v2
    at io-gncxml-v2.c line 1256
  • #20 gnc_file_be_write_to_file
    at gnc-backend-file.c line 680
  • #21 file_sync_all
    at gnc-backend-file.c line 186
  • #22 gnc_session_save
    at gnc-session.c line 650
  • #23 gnc_file_save
    at gnc-file.c line 684
  • #24 gnc_main_window_file_save_cb
    at window-main.c line 451
  • #25 gtk_marshal_NONE__NONE
    from /usr/lib/libgtk-1.2.so.0
  • #26 gtk_signal_remove_emission_hook
    from /usr/lib/libgtk-1.2.so.0
  • #27 gtk_signal_set_funcs
    from /usr/lib/libgtk-1.2.so.0
  • #28 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #29 gtk_accel_group_activate
    from /usr/lib/libgtk-1.2.so.0
  • #30 gtk_accel_groups_activate
    from /usr/lib/libgtk-1.2.so.0
  • #31 gtk_window_set_default_size
    from /usr/lib/libgtk-1.2.so.0
  • #32 gtk_marshal_BOOL__POINTER
    from /usr/lib/libgtk-1.2.so.0
  • #33 gtk_signal_set_funcs
    from /usr/lib/libgtk-1.2.so.0
  • #34 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #35 gtk_widget_event
    from /usr/lib/libgtk-1.2.so.0
  • #36 gtk_propagate_event
    from /usr/lib/libgtk-1.2.so.0
  • #37 gtk_main_do_event
    from /usr/lib/libgtk-1.2.so.0
  • #38 gdk_wm_protocols_filter
    from /usr/lib/libgdk-1.2.so.0
  • #39 ??
  • #40 ??
  • #41 ??
  • #42 g_slist_free_1
    from /usr/lib/libglib-1.2.so.0
  • #43 g_get_current_time
    from /usr/lib/libglib-1.2.so.0
  • #44 g_get_current_time
    from /usr/lib/libglib-1.2.so.0
  • #45 g_main_run
    from /usr/lib/libglib-1.2.so.0
  • #46 gtk_main
    from /usr/lib/libgtk-1.2.so.0
  • #47 gnc_ui_start_event_loop
    at top-level.c line 538
  • #48 gw__tmp799_gnc_ui_start_event_loop_wrapper
    at gw-gnc.c line 276
  • #49 scm_ceval
    from /usr/lib/libguile.so.12
  • #50 scm_ceval
    from /usr/lib/libguile.so.12
  • #51 scm_ceval
    from /usr/lib/libguile.so.12
  • #52 scm_ceval
    from /usr/lib/libguile.so.12
  • #53 scm_i_eval_x
    from /usr/lib/libguile.so.12
  • #54 scm_primitive_eval_x
    from /usr/lib/libguile.so.12
  • #55 scm_primitive_eval
    from /usr/lib/libguile.so.12
  • #56 scm_internal_dynamic_wind
    from /usr/lib/libguile.so.12
  • #57 scm_eval_x
    from /usr/lib/libguile.so.12
  • #58 scm_shell
    from /usr/lib/libguile.so.12
  • #59 scm_init_guile
    from /usr/lib/libguile.so.12
  • #60 scm_init_guile
    from /usr/lib/libguile.so.12
  • #61 scm_boot_guile
    from /usr/lib/libguile.so.12
  • #62 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0

Comment 7 Christian Stimming 2005-11-21 09:48:00 UTC
*** Bug 139188 has been marked as a duplicate of this bug. ***
Comment 8 David Hampton 2006-02-21 00:14:55 UTC
This is fixed in subversion and will be in the 1.9.2 release.
Comment 9 Christian Stimming 2006-02-28 09:35:41 UTC
Adding milestone.
Comment 10 John Ralls 2018-06-29 20:47:43 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=155327. Please update any external references or bookmarks.