GNUCash Crashing following editing of Account Summary

foxylady337 hendry.michael at gmail.com
Tue Feb 7 11:51:24 EST 2012


On Tue, 2012-02-07 at 06:57 -0800, John Ralls-2 [via GnuCash] wrote:
> 
> On Feb 7, 2012, at 1:53 AM, foxylady337 wrote: 
> 
> > OK - worked it out! - type "run"... 
> > 
> > I'm not sure how to "Open a bug", so here's the backtrace: 
> > 
> > (gdb) run 
> > Starting program: /usr/bin/gnucash 
> > [Thread debugging using libthread_db enabled] 
> > gnc.bin-Message: main: binreloc relocation support was disabled at
> configure 
> > time. 
> > 
> > [New Thread 0x2438b70 (LWP 5938)] 
> > [New Thread 0x38deb70 (LWP 5940)] 
> > Found Finance::Quote version 1.17
> Snip 
> 
> > #21 0x011ca384 in ?? ()
> from /usr/lib/gnucash/gnucash/libgncmod-html.so 
> > ---Type <return> to continue, or q <return> to quit--- 
> > #22 0x011ce146 in ?? ()
> from /usr/lib/gnucash/gnucash/libgncmod-html.so 
> > #23 0x00f2646b in g_object_unref ()
> from /usr/lib/libgobject-2.0.so.0 
> > #24 0x011c9774 in gnc_html_destroy () 
> >   from /usr/lib/gnucash/gnucash/libgncmod-html.so 
> > #25 0x0013c45f in gnc_plugin_page_report_destroy () 
> >   from /usr/lib/gnucash/gnucash/libgncmod-report-gnome.so 
> > #26 0x0013c539 in ?? () from 
> > /usr/lib/gnucash/gnucash/libgncmod-report-gnome.so 
> > #27 0x0022b9f8 in gnc_plugin_page_destroy_widget () 
> >   from /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so 
> > #28 0x0021e7c7 in gnc_main_window_close_page () 
> >   from /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so 
> > #29 0x002203dc in ?? () from 
> > /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so
> Snip 
> Hmm, interesting. Looks like it's trying to free something that's not
> there. 
> Unfortunately, you didn't get the symbols into the build (the trace
> lines should give a line number), so I need you to try again. If you
> run 
> 
> which gnucash 
> 
> does it return the path of the one you built or the package-installed
> one? If the latter, you'll need to do 

It was the latter (/usr/bin/gnucash), so I tried...

gdb /home/michael/unstable/gnucash/bin/gnucash

...and got similar results


> gdb /path/to/the/right/gnucash 
> 
> instead of just "gdb gnucash". If that's not it or you're still not
> getting a full trace, do: 
> 

...so I tried this...
> make distclean 
> ./configure {insert whatever parameters you need here} CFLAGS="$CFLAGS
> -ggdb3 -O0" 
> make 
> make install 
> gdb /path/to/gnucash 

...and got a very similar backtrace as follows...

michael at Linley6:~/development/gnucash$
gdb /home/michael/unstable/gnucash/bin/gnucash
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/michael/unstable/gnucash/bin/gnucash...done.
(gdb) run
Starting program: /home/michael/unstable/gnucash/bin/gnucash 
[Thread debugging using libthread_db enabled]


This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel at gnucash.org.
You can also lookup and file bug reports at http://bugzilla.gnome.org
The last stable version was GnuCash 2.4.10
The next stable version will be GnuCash 2.6

[New Thread 0xb7dfbb70 (LWP 23289)]
[New Thread 0xb3d37b70 (LWP 23296)]
Found Finance::Quote version 1.17

Program received signal SIGSEGV, Segmentation fault.
0x0105dee7 in g_datalist_id_set_data_full () from /lib/libglib-2.0.so.0
(gdb) bt
#0  0x0105dee7 in g_datalist_id_set_data_full ()
from /lib/libglib-2.0.so.0
#1  0x00fec017 in ?? () from /usr/lib/libgobject-2.0.so.0
#2  0x009c4461 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#3  0x00ad23c4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x00fec9ff in g_object_run_dispose ()
from /usr/lib/libgobject-2.0.so.0
#5  0x009c415e in gtk_object_destroy ()
from /usr/lib/libgtk-x11-2.0.so.0
#6  0x008d3b3d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x00a0356d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x0090c3f4 in gtk_container_foreach ()
from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0090cc88 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00a0529c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00ffa0cc in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#12 0x00fe8487 in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0x00fe9e1a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x0100366c in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x01004e54 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#16 0x010055c2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x009c4451 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00ad23c4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00fec9ff in g_object_run_dispose ()
from /usr/lib/libgobject-2.0.so.0
#20 0x009c415e in gtk_object_destroy ()
from /usr/lib/libgtk-x11-2.0.so.0
#21 0x012a7ee1 in gnc_html_dispose (obj=0x8663140) at gnc-html.c:126
#22 0x012aebfa in gnc_html_gtkhtml_dispose (obj=0x8663140) at
gnc-html-gtkhtml.c:191
#23 0x00fec46b in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#24 0x012a8d3f in gnc_html_destroy (self=0x8663140) at gnc-html.c:441
#25 0x00140062 in gnc_plugin_page_report_destroy (priv=0x868a7a8) at
gnc-plugin-page-report.c:1006
#26 0x0013f119 in gnc_plugin_page_report_destroy_widget
(plugin_page=0x868a760)
    at gnc-plugin-page-report.c:706
#27 0x002466d1 in gnc_plugin_page_destroy_widget (plugin_page=0x868a760)
at gnc-plugin-page.c:186
#28 0x0023c648 in gnc_main_window_close_page (page=0x868a760) at
gnc-main-window.c:2734
#29 0x0023efda in gnc_main_window_cmd_file_close (action=0x814bdb0,
window=0x8145000)
    at gnc-main-window.c:3683
#30 0x00ffa0cc in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#31 0x00fe9e1a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#32 0x010037ed in ?? () from /usr/lib/libgobject-2.0.so.0
#33 0x01004e54 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#34 0x010055c2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#35 0x008c4da5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x008c6ead in gtk_action_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#37 0x00a7832e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x00ffa0cc in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#39 0x00fe9e1a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#40 0x010037ed in ?? () from /usr/lib/libgobject-2.0.so.0
#41 0x01004e54 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#42 0x010055c2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#43 0x008dfc7a in gtk_button_clicked ()
from /usr/lib/libgtk-x11-2.0.so.0
#44 0x008e1238 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#45 0x00ffa0cc in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#46 0x00fe8487 in ?? () from /usr/lib/libgobject-2.0.so.0
#47 0x00fe9e1a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#48 0x0100308a in ?? () from /usr/lib/libgobject-2.0.so.0
#49 0x01004e54 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#50 0x010055c2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#51 0x008dfd1a in gtk_button_released ()
from /usr/lib/libgtk-x11-2.0.so.0
#52 0x008dfd63 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x0099d434 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#54 0x00fe8487 in ?? () from /usr/lib/libgobject-2.0.so.0
#55 0x00fe9e1a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#56 0x01003436 in ?? () from /usr/lib/libgobject-2.0.so.0
#57 0x01004cd3 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#58 0x010055c2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#59 0x00aca646 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#60 0x00995a6d in gtk_propagate_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#61 0x00996e17 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#62 0x00c8b39a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#63 0x01076b05 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0x0107b0c8 in ?? () from /lib/libglib-2.0.so.0
#65 0x0107b607 in g_main_loop_run () from /lib/libglib-2.0.so.0
#66 0x009973d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#67 0x00234520 in gnc_ui_start_event_loop () at gnc-gnome-utils.c:668
#68 0x0804d5b5 in inner_main (closure=0x0, argc=1, argv=0xbffff434) at
gnucash-bin.c:735
#69 0x00481f46 in ?? () from /usr/lib/libguile.so.17
#70 0x00452e02 in ?? () from /usr/lib/libguile.so.17
#71 0x004c8c43 in scm_c_catch () from /usr/lib/libguile.so.17
#72 0x004533e2 in scm_i_with_continuation_barrier ()
from /usr/lib/libguile.so.17
#73 0x004534c3 in scm_c_with_continuation_barrier ()
from /usr/lib/libguile.so.17
#74 0x004c77b9 in scm_i_with_guile_and_parent ()
from /usr/lib/libguile.so.17
#75 0x004c78ae in scm_with_guile () from /usr/lib/libguile.so.17
#76 0x00481edf in scm_boot_guile () from /usr/lib/libguile.so.17
#77 0x0804d9b1 in main (argc=1, argv=0xbffff434) at gnucash-bin.c:879
(gdb) 

Where do we go from here?


> 
> (-ggdb3 emits more detailed debug info than just -g) 
> 
> Regards, 
> John Ralls 
> 
> 
> _______________________________________________ 
> gnucash-user mailing list 
> [hidden email] 
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> ----- 
> Please remember to CC this list on all your replies. 
> You can do this by using Reply-To-List or Reply-All. 
> 
> 
> 
> ______________________________________________________________________
> If you reply to this email, your message will be added to the
> discussion below:
> http://gnucash.1415818.n4.nabble.com/GNUCash-Crashing-following-editing-of-Account-Summary-tp4357811p4364957.html 
> To unsubscribe from GNUCash Crashing following editing of Account
> Summary, click here.
> NAML 





--
View this message in context: http://gnucash.1415818.n4.nabble.com/GNUCash-Crashing-following-editing-of-Account-Summary-tp4357811p4365364.html
Sent from the GnuCash - User mailing list archive at Nabble.com.


More information about the gnucash-user mailing list