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 416986 - crash (scm stack overflow) building a income statement report
crash (scm stack overflow) building a income statement report
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.0.x
Other All
: High critical
: ---
Assigned To: David Hampton
Chris Lyttle
Depends on:
Blocks: 347575
 
 
Reported: 2007-03-11 03:52 UTC by Boris Goldowsky
Modified: 2018-06-29 21:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Boris Goldowsky 2007-03-11 03:52:57 UTC
What were you doing when the application crashed?
building a income statement report.  


Distribution: Fedora Core release 6 (Zod)
Gnome Release: 2.16.3 2007-01-31 (Red Hat, Inc)
BugBuddy Version: 2.16.0

System: Linux 2.6.19-1.2911.6.5.fc6 #1 SMP Sun Mar 4 16:05:34 EST 2007 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Disabled

Memory status: size: 712613888 vsize: 712613888 resident: 232607744 share: 19005440 rss: 232607744 rss_rlim: -1
CPU usage: start_time: 1173583835 rtime: 38894 utime: 38556 stime: 338 cutime:7 cstime: 3 timeout: 0 it_real_value: 0 frequency: 100

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

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912496442880 (LWP 27693)]
0x000000302ac0d96f in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 46912496442880 (LWP 27693))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 gnome_gtk_module_info_get
    from /usr/lib64/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 scm_struct_p
    at struct.c line 228
  • #4 deval
    at eval.c line 4219
  • #5 deval
    at eval.c line 3578
  • #6 deval
    at eval.c line 4328
  • #7 deval
    at eval.c line 3650
  • #8 deval
    at eval.c line 3384
  • #9 scm_dapply
    at eval.c line 4984
  • #10 gnc_options_dialog_response_cb
    at dialog-options.c line 1327
  • #11 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #12 g_signal_chain_from_overridden
    from /lib64/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #14 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #16 g_signal_chain_from_overridden
    from /lib64/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #19 gtk_button_set_alignment
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #20 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #21 g_signal_chain_from_overridden
    from /lib64/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #24 gtk_button_released
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #25 gtk_marshal_BOOLEAN__VOID
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #26 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #27 g_signal_chain_from_overridden
    from /lib64/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #30 gtk_widget_get_default_style
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #33 gdk_add_client_message_filter
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #34 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #35 g_main_context_check
    from /lib64/libglib-2.0.so.0
  • #36 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #37 gtk_main
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #38 gnc_ui_start_event_loop
    at gnc-gnome-utils.c line 375
  • #39 inner_main
    at gnucash-bin.c line 479
  • #40 invoke_main_func
    at init.c line 367
  • #41 c_body
    at continuations.c line 366
  • #42 scm_c_catch
    at throw.c line 204
  • #43 scm_i_with_continuation_barrier
    at continuations.c line 342
  • #44 scm_c_with_continuation_barrier
    at continuations.c line 384
  • #45 scm_i_with_guile_and_parent
    at threads.c line 649
  • #46 scm_boot_guile
    at init.c line 350
  • #47 main
    at gnucash-bin.c line 515
  • #0 waitpid
    from /lib64/libpthread.so.0


----------- .xsession-errors (9 sec old) ---------------------
<unnamed port>: In expression (struct? obj):
<unnamed port>: Stack overflow
(yelp:27747): Yelp-WARNING **: An error occurred getting the gconf value '/apps/yelp/variable_font'
(yelp:27747): Yelp-WARNING **: An error occurred getting the gconf value '/apps/yelp/fixed_font'
(evolution:24165): camel-WARNING **: camel_exception_get_id called with NULL parameter.
(evolution:24165): camel-WARNING **: camel_exception_get_id called with NULL parameter.
** (bug-buddy:27796): WARNING **: Couldn't load icon for Open Folder
"/usr/bin/gnucash": not in executable format: File format not recognized
--------------------------------------------------
Comment 1 Josh Sled 2007-03-11 20:01:17 UTC
Are you able to reproduce?

Can you capture more output from the terminal when the crash occurs?  BugBuddy captured a couple of lines (the ones starting "<unnamed port>") that are relevant; more would be great...

What version of guile?  Was it built with threading support?
Comment 2 Boris Goldowsky 2007-03-12 00:02:36 UTC
I was able to replicate it pretty easily today.  Here's the procedure that causes a crash for me:

1) create a report.  I tried "Income Statement" and "Income vs. Day-of-Week".

2) Click "options" and change an option.  Click OK in the options dialog.

3) While report is rebuilding, click "Cancel" in the options dialog.  Expected behavior would be that it would stop rebuilding the report, because you noticed an option that you forgot to set.

4) It does not stop or cancel.  Instead, when report is done building, GC crashes.

Here' the terminal output:

$ gnucash
gnucash: [M] "Found Finance::Quote version ""1.08"

** (bug-buddy:5647): WARNING **: Couldn't load icon for Open Folder
"/usr/bin/gnucash": not in executable format: File format not recognized
Comment 3 Boris Goldowsky 2007-03-12 00:05:23 UTC
Oh, and guile is std Fedora:

guile-1.8.0-8.20060831cvs
Comment 4 David Hampton 2007-04-21 19:18:15 UTC
Fixed in r15959.
Comment 5 Derek Atkins 2007-04-21 19:32:00 UTC
Backported to 2.0 as r15965.
Fix will be in 2.0.6 (and 2.1.1)
Comment 6 John Ralls 2018-06-29 21:29:23 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=416986. Please update any external references or bookmarks.