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 501526 - crash in GnuCash Finance Management: Moving between fields in...
crash in GnuCash Finance Management: Moving between fields in...
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.2.x
Other All
: High critical
: ---
Assigned To: Charles Day
Andreas Köhler
: 509974 514264 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-12-04 14:24 UTC by galway
Modified: 2018-06-29 21:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description galway 2007-12-04 14:24:55 UTC
What were you doing when the application crashed?
Moving between fields in a "split", as best as I can recall.


Distribution: Fedora release 7 (Moonshine)
Gnome Release: 2.18.3 2007-07-02 (Red Hat, Inc)
BugBuddy Version: 2.18.0

System: Linux 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:47:21 EDT 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Glider
Icon Theme: gnome

Memory status: size: 103473152 vsize: 103473152 resident: 54136832 share: 24899584 rss: 54136832 rss_rlim: 4294967295
CPU usage: start_time: 1196777680 rtime: 2063 utime: 1993 stime: 70 cutime:18 cstime: 3 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gnucash'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208920352 (LWP 17775)]
[New Thread -1245533296 (LWP 17777)]
(no debugging symbols found)
0x00110402 in __kernel_vsyscall ()

Thread 1 (Thread -1208920352 (LWP 17775))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 ??
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/libc.so.6
  • #6 abort
    from /lib/libc.so.6
  • #7 g_logv
    from /lib/libglib-2.0.so.0
  • #8 g_log
    from /lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /lib/libglib-2.0.so.0
  • #10 gnc_split_register_load
    from /usr/lib/gnucash/libgncmod-ledger-core.so
  • #11 ??
    from /usr/lib/gnucash/libgncmod-ledger-core.so
  • #12 gnc_ledger_display_refresh_by_split_register
    from /usr/lib/gnucash/libgncmod-ledger-core.so
  • #13 gnc_split_register_redraw
    from /usr/lib/gnucash/libgncmod-ledger-core.so
  • #14 ??
    from /usr/lib/gnucash/libgncmod-ledger-core.so
  • #15 ??
    from /usr/lib/gnucash/libgncmod-register-core.so
  • #16 gnc_table_move_cursor_gui
    from /usr/lib/gnucash/libgncmod-register-core.so
  • #17 gnc_table_verify_cursor_position
    from /usr/lib/gnucash/libgncmod-register-core.so
  • #18 gnc_table_wrap_verify_cursor_position
    from /usr/lib/gnucash/libgncmod-register-core.so
  • #19 ??
    from /usr/lib/gnucash/libgncmod-register-gnome.so
  • #20 ??
    from /usr/lib/gnucash/libgncmod-register-gnome.so
  • #21 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 ??
    from /lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #24 ??
    from /lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #27 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #31 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #32 ??
    from /lib/libglib-2.0.so.0
  • #33 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #34 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gnc_ui_start_event_loop
    from /usr/lib/gnucash/libgncmod-gnome-utils.so
  • #36 ??
  • #37 ??
    from /usr/lib/libguile.so.17
  • #38 ??
    from /usr/lib/libguile.so.17
  • #39 scm_c_catch
    from /usr/lib/libguile.so.17
  • #40 scm_i_with_continuation_barrier
    from /usr/lib/libguile.so.17
  • #41 scm_c_with_continuation_barrier
    from /usr/lib/libguile.so.17
  • #42 scm_i_with_guile_and_parent
    from /usr/lib/libguile.so.17
  • #43 scm_with_guile
    from /usr/lib/libguile.so.17
  • #44 scm_boot_guile
    from /usr/lib/libguile.so.17
  • #45 main
  • #0 __kernel_vsyscall

Comment 1 Charles Day 2008-07-14 17:35:34 UTC
As of r17327, the variable "info" in gnc_split_register_load() in split-register-load.c does not get checked to see if it might be NULL before being dereferenced. That's a problem, but I don't think that's what is causing this gdb output.

It looks more like the assert() at line 277 of the same function. I've never
touched the register code, so I'm surely the wrong person to take this on, but
I thought this information would be useful to whoever does.
Comment 2 Charles Day 2008-07-14 17:39:02 UTC
*** Bug 514264 has been marked as a duplicate of this bug. ***
Comment 3 Charles Day 2008-07-14 17:40:28 UTC
Bug 514267 and bug 516167 are also duplicates of this bug.
Comment 4 Charles Day 2008-07-14 17:42:38 UTC
This bug is probably related to bug 499215, although the gdb output is a little different.
Comment 5 Christian Stimming 2008-11-03 11:18:53 UTC
*** Bug 509974 has been marked as a duplicate of this bug. ***
Comment 6 Charles Day 2009-03-12 06:34:33 UTC
Actually this is the same point of failure as bug 499215. I've found a bug that causes that failure and fixed it in r17962. Closing this one out as fixed. Targeting for 2.3.x as this patch is unlikely to be backported for 2.2.x.
Comment 7 John Ralls 2018-06-29 21:55:35 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=501526. Please update any external references or bookmarks.