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 348469 - Hitting tab after creating new transaction sometimes crashes Gnucash
Hitting tab after creating new transaction sometimes crashes Gnucash
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Register
2.0.x
Other All
: Normal critical
: ---
Assigned To: Chris Shoemaker
Chris Shoemaker
: 361227 377014 379001 379784 382171 383299 384155 385237 385660 386053 386096 387339 387387 389954 390826 391001 391080 391708 391748 391949 393398 393521 394980 396139 400483 403090 406862 409703 413652 415158 456117 (view as bug list)
Depends on:
Blocks: 347575
 
 
Reported: 2006-07-24 03:44 UTC by Philip Lowman
Modified: 2018-06-29 21:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Lowman 2006-07-24 03:44:35 UTC
Steps to reproduce:
(Even I can't reproduce it 100% of the time but here's the general flow:)
1. Open Gnucash
2. Open an account
3. Enter a new name for a transaction and hit TAB
4. Segfault.

Stack trace:
Backtrace was generated from '/usr/local/bin/gnucash'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1230014784 (LWP 14317)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1230014784 (LWP 14317))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 gnc_split_register_load
    at split-register-load.c line 248
  • #11 gnc_ledger_display_refresh_internal
    at gnc-ledger-display.c line 810
  • #12 gnc_ledger_display_refresh_by_split_register
    at gnc-ledger-display.c line 861
  • #13 gnc_split_register_redraw
    at split-register.c line 1089
  • #14 gnc_split_register_move_cursor
    at split-register-control.c line 349
  • #15 gnc_table_move_cursor_internal
    at table-allgui.c line 782
  • #16 gnc_table_move_cursor_gui
    at table-allgui.c line 901
  • #17 gnc_table_verify_cursor_position
    at table-allgui.c line 929
  • #18 gnc_table_wrap_verify_cursor_position
    at table-allgui.c line 992
  • #19 gnucash_sheet_cursor_move
    at gnucash-sheet.c line 292
  • #20 gnucash_sheet_key_press_event
    at gnucash-sheet.c line 1723
  • #21 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #27 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 gtk_window_propagate_key_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #36 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #40 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #41 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #42 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #43 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 gnc_ui_start_event_loop
    at gnc-gnome-utils.c line 368
  • #45 inner_main
    at gnucash-bin.c line 479
  • #46 scm_boot_guile
    from /usr/lib/libguile.so.12
  • #47 main
    at gnucash-bin.c line 515
  • #0 __kernel_vsyscall


Other information:
Nope, other than keep up the good work with the new GTK2 Gnucash, I love it!
Comment 1 Hans Petter Jansson 2006-10-04 06:08:15 UTC
This happens to me too, frequently when I go to one of my asset accounts and try to enter a transaction at the bottom of the table. It happens immediately upon pressing tab in the "Description" column in an attempt to get to the "target account" column.

On standard error, I get:

** ERROR **: file split-register-load.c: line 248 (gnc_split_register_load): assertion failed: (pending_trans == NULL)
aborting...

The stack trace is identical to the one above.
Comment 2 Hans Petter Jansson 2006-10-04 06:09:48 UTC
The about box says "This copy was built from r14585 on 2006-09-26".
Comment 3 Chris Shoemaker 2006-10-04 13:42:44 UTC
Related report:

http://lists.gnucash.org/pipermail/gnucash-devel/2006-October/018668.html

And can you also provide any of the requested info:

How many registers were open?
What type of register was this?  Regular?  General Ledger?
Which edit mode?  Basic? Auto-Split? Journal?
If in Basic mode, were the splits visible?
What was the value of the "enter" moves to blank transaction preference?
Was double-line mode in use? 
Had you used import functionality during the session that crashed?
When tabbing from the description, was a memorized transaction being recalled?

In general, did you do anything unusual with registers sometime before
the crash?  (not necessarily immediately)

Comment 4 Andrew Sackville-West 2006-10-04 20:19:57 UTC
I've answered this on -devel, 

http://lists.gnucash.org/pipermail/gnucash-devel/2006-October/018679.html

A
Comment 5 Hans Petter Jansson 2006-10-04 21:58:19 UTC
- Only 1 register was open.
- It is a regular register.
- It's in auto-split mode.
- Enter moves to blank transaction.
- Double-line mode is off.
- I had not used any import functionality.
- Unsure if a memorized transaction was being recalled. The description was autocompleted, Gnucash seemed fine, then I hit tab and it crashed without any further ado.
- I did not do anything unusual with registers. I've been able to trigger this crash immediately after startup.
Comment 6 Chris Shoemaker 2006-10-12 03:35:10 UTC
I believe this is fixed in r15004, which is marked for backport, along with 15002.
Comment 7 Christian Stimming 2006-11-21 15:03:32 UTC
If comment#6 is correct, then this is a duplicate of bug#361227
Comment 8 Christian Stimming 2006-11-22 09:36:33 UTC
*** Bug 377014 has been marked as a duplicate of this bug. ***
Comment 9 Derek Atkins 2006-11-24 18:44:47 UTC
Backported r15002 and r15004 into 2.0 branch as r15136.
Should be fixed in 2.0.3
Comment 10 Derek Atkins 2006-11-24 18:48:11 UTC
*** Bug 361227 has been marked as a duplicate of this bug. ***
Comment 11 Christian Stimming 2006-11-25 09:02:03 UTC
*** Bug 379001 has been marked as a duplicate of this bug. ***
Comment 12 Christian Stimming 2006-11-27 14:43:00 UTC
*** Bug 379784 has been marked as a duplicate of this bug. ***
Comment 13 Christian Stimming 2006-12-04 10:44:13 UTC
*** Bug 382171 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Köhler 2006-12-07 12:59:17 UTC
*** Bug 383299 has been marked as a duplicate of this bug. ***
Comment 15 Andreas Köhler 2006-12-10 11:32:26 UTC
*** Bug 384155 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Köhler 2006-12-13 08:03:44 UTC
*** Bug 385237 has been marked as a duplicate of this bug. ***
Comment 17 Christian Stimming 2006-12-14 08:58:12 UTC
*** Bug 385660 has been marked as a duplicate of this bug. ***
Comment 18 Christian Stimming 2006-12-15 10:07:15 UTC
*** Bug 386053 has been marked as a duplicate of this bug. ***
Comment 19 Christian Stimming 2006-12-15 10:09:16 UTC
*** Bug 386096 has been marked as a duplicate of this bug. ***
Comment 20 Christian Stimming 2006-12-19 10:48:05 UTC
*** Bug 387339 has been marked as a duplicate of this bug. ***
Comment 21 Christian Stimming 2006-12-19 10:48:28 UTC
*** Bug 387387 has been marked as a duplicate of this bug. ***
Comment 22 Andreas Köhler 2006-12-27 13:22:43 UTC
*** Bug 389954 has been marked as a duplicate of this bug. ***
Comment 23 Andreas Köhler 2006-12-29 23:46:28 UTC
*** Bug 390826 has been marked as a duplicate of this bug. ***
Comment 24 Andreas Köhler 2006-12-30 21:42:02 UTC
*** Bug 391001 has been marked as a duplicate of this bug. ***
Comment 25 Christian Stimming 2007-01-02 10:00:28 UTC
*** Bug 391708 has been marked as a duplicate of this bug. ***
Comment 26 Christian Stimming 2007-01-02 10:00:35 UTC
*** Bug 391080 has been marked as a duplicate of this bug. ***
Comment 27 Christian Stimming 2007-01-02 10:00:48 UTC
*** Bug 391748 has been marked as a duplicate of this bug. ***
Comment 28 Christian Stimming 2007-01-03 08:48:16 UTC
*** Bug 391949 has been marked as a duplicate of this bug. ***
Comment 29 Andreas Köhler 2007-01-07 12:35:19 UTC
*** Bug 393398 has been marked as a duplicate of this bug. ***
Comment 30 Andreas Köhler 2007-01-07 12:35:50 UTC
*** Bug 393521 has been marked as a duplicate of this bug. ***
Comment 31 Christian Stimming 2007-01-15 12:33:28 UTC
*** Bug 396139 has been marked as a duplicate of this bug. ***
Comment 32 Christian Stimming 2007-01-25 09:43:11 UTC
*** Bug 400483 has been marked as a duplicate of this bug. ***
Comment 33 Andreas Köhler 2007-02-01 07:21:17 UTC
*** Bug 403090 has been marked as a duplicate of this bug. ***
Comment 34 Christian Stimming 2007-02-20 09:10:26 UTC
*** Bug 406862 has been marked as a duplicate of this bug. ***
Comment 35 Christian Stimming 2007-02-22 09:39:38 UTC
*** Bug 409703 has been marked as a duplicate of this bug. ***
Comment 36 Andreas Köhler 2007-03-02 13:13:01 UTC
*** Bug 413652 has been marked as a duplicate of this bug. ***
Comment 37 Christian Stimming 2007-03-05 09:06:41 UTC
*** Bug 394980 has been marked as a duplicate of this bug. ***
Comment 38 Christian Stimming 2007-03-06 08:40:03 UTC
*** Bug 415158 has been marked as a duplicate of this bug. ***
Comment 39 Christian Stimming 2007-07-13 08:33:19 UTC
*** Bug 456117 has been marked as a duplicate of this bug. ***
Comment 40 John Ralls 2018-06-29 21:10:26 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=348469. Please update any external references or bookmarks.