G2 svn 12157 - crash on SX edit
Tim Wunder
tim at thewunders.org
Mon Jan 16 10:10:29 EST 2006
On Monday 16 January 2006 9:46 am, someone claiming to be Josh Sled wrote:
> On Mon, 2005-12-12 at 12:55 -0500, Tim Wunder wrote:
> > On Monday 12 December 2005 12:16 pm, someone claiming to be Derek Atkins
> >
> > wrote:
> > > Tim Wunder <tim at thewunders.org> writes:
> > > > If I edit an SX and change the Reconcile flag, G2 will crash after
> > > > clicking OK.
> > >
> > > I'm not even sure what the reconcile flag MEANS in an SX.. Perhaps
> > > it should just get removed from the SX GUI? Josh? Is there some
> > > meaning to the flag for an SX?
> >
> > I was surprised to see it there, I've never paid any attention to it. I
> > discovered the problem when I noticed an SX that I was editing in G2 had
> > its reconcile flag set to "c" (the same SX in my 1.8.11 data file also
> > has the "c" in the reconcile flag). When I went to change it to "n" and
> > click OK, that's when G2 crashed. Further testing indicated that G2 would
> > crash any time I clicked OK after attempting to change the flag on *any*
> > SX, even if I immediatley changed it back to what it was originally.
> >
> > FWIW, it does not crash in 1.8.11, neither does the Since Last Run dialog
> > in 1.8.11 honor the status of the reconcile flag when creating the
> > transaction.
>
> I may work to remove it from the ui anyways, but for the moment I'm
> unable to reproduce this with r12360; are you?
Yes, the problem still exists in r12365. Pulling up an existing SX, changing
one of the reconcile flags, then clicking OK results in a crash.
Backtrace was generated from '/opt/gnucash/bin/gnucash'
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209186624 (LWP 21110)]
0x00c4e402 in ?? ()
#0 0x00c4e402 in ?? ()
#1 0x00672f93 in __waitpid_nocancel () from /lib/libpthread.so.0
#2 0x0204c080 in libgnomeui_module_info_get ()
from /usr/lib/libgnomeui-2.so.0
#3 <signal handler called>
#4 0x002233ed in g_date_valid () from /usr/lib/libglib-2.0.so.0
#5 0x0374ec8d in gnc_sxed_update_cal (sxed=0x9a05138) at
dialog-scheduledxaction.c:2367
#6 0x00d357e7 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#7 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8 0x00d3875b in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#9 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x00d3ca10 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#11 0x00f84c42 in freq_option_value_changed (b=0x9a3db50, d=0x9a3d1b0) at
gnc-frequency.c:1080
#12 0x00d357e7 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#13 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x00d3875b in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#15 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x076e01b1 in gtk_menu_shell_select_first ()
from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00d357e7 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#19 0x00d29d9b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#20 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0x00d388e7 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#22 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x076e02c7 in gtk_menu_shell_cancel () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x076db2cb in gtk_menu_get_for_attach_widget ()
from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00d3587b in g_cclosure_marshal_VOID__BOOLEAN ()
from /usr/lib/libgobject-2.0.so.0
#27 0x00d29d9b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#28 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#29 0x00d383b0 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#30 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#31 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#32 0x077adfe0 in gtk_widget_region_intersect ()
from /usr/lib/libgtk-x11-2.0.so.0
#33 0x076cf4d3 in gtk_false () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x07612fab in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x0764e3ee in gtk_container_foreach () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x076cf5ef in gtk_false () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x077bdd77 in gtk_window_get_position () from /usr/lib/libgtk-x11-2.0.so.0
#38 0x00d357e7 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#39 0x00d29d9b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#40 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#41 0x00d383b0 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#42 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#43 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#44 0x077ac66d in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#45 0x07660839 in gtk_dialog_run () from /usr/lib/libgtk-x11-2.0.so.0
#46 0x00f875c3 in gnc_verify_dialog (parent=0x9a05010, yes_is_default=1,
format=0x3781078 "The current template transaction has been changed.
\nWould you like to record the changes?") at gnc-gui-query.c:268
#47 0x0374e37b in sxed_close_handler (user_data=0x9a05138) at
dialog-scheduledxaction.c:2153
#48 0x00b77f56 in gnc_close_gui_component (component_id=4) at
gnc-component-manager.c:835
#49 0x00b78019 in gnc_close_gui_component_by_data (
component_class=0x3780f08 "dialog-scheduledtransaction-editor",
user_data=0x9a05138)
at gnc-component-manager.c:857
#50 0x037502e2 in editor_ok_button_clicked (b=0x9a05790, sxed=0x9a05138) at
dialog-scheduledxaction.c:424
#51 0x00d357e7 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#52 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#53 0x00d3875b in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#54 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#55 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#56 0x07617b9c in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#57 0x07619300 in gtk_button_get_alignment ()
from /usr/lib/libgtk-x11-2.0.so.0
#58 0x00d357e7 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#59 0x00d29d9b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#60 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#61 0x00d383b0 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#62 0x00d39eb0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#63 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#64 0x07617b16 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#65 0x07618a05 in gtk_button_set_relief () from /usr/lib/libgtk-x11-2.0.so.0
#66 0x076d1be2 in gtk_marshal_VOID__UINT_STRING ()
from /usr/lib/libgtk-x11-2.0.so.0
#67 0x00d29d9b in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#68 0x00d2a285 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#69 0x00d388e7 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#70 0x00d39c23 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#71 0x00d3a223 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#72 0x077ad743 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#73 0x076d0348 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#74 0x076d0784 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#75 0x078fadf6 in gdk_screen_get_setting () from /usr/lib/libgdk-x11-2.0.so.0
#76 0x002344ce in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#77 0x002374d6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#78 0x002377c3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#79 0x076cfa46 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#80 0x0376d0f6 in gnc_ui_start_event_loop () at top-level.c:442
#81 0x004da3d7 in gw__tmp1096_gnc_ui_start_event_loop_wrapper () at
gw-gnc.c:208
#82 0x00884a79 in scm_deval () from /usr/lib/libguile.so.12
#83 0x00882c63 in scm_deval () from /usr/lib/libguile.so.12
#84 0x00882c63 in scm_deval () from /usr/lib/libguile.so.12
#85 0x0088170a in scm_i_eval_x () from /usr/lib/libguile.so.12
#86 0x008870e4 in scm_primitive_eval_x () from /usr/lib/libguile.so.12
#87 0x008c374f in scm_read_0str () from /usr/lib/libguile.so.12
#88 0x0088bf2a in scm_c_with_fluids () from /usr/lib/libguile.so.12
#89 0x0088c02b in scm_c_with_fluid () from /usr/lib/libguile.so.12
#90 0x008a1c28 in scm_c_call_with_current_module ()
from /usr/lib/libguile.so.12
#91 0x008c37bf in scm_eval_string () from /usr/lib/libguile.so.12
#92 0x008c37eb in scm_c_eval_string () from /usr/lib/libguile.so.12
#93 0x0089cba9 in scm_boot_guile () from /usr/lib/libguile.so.12
#94 0x08048a36 in main (argc=1, argv=0xbff0ce74) at gnucash-bin.c:56
Thread 1 (Thread -1209186624 (LWP 21110)):
#0 0x00c4e402 in ?? ()
No symbol table info available.
#1 0x00672f93 in __waitpid_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2 0x0204c080 in libgnomeui_module_info_get ()
from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0x002233ed in g_date_valid () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0x0374ec8d in gnc_sxed_update_cal (sxed=0x9a05138) at
dialog-scheduledxaction.c:2367
lastInst = (GDate *) 0x40
i =
HTH,
Tim
--
Fedora Core release 4 (Stentz), Linux 2.6.14-1.1653_FC4
KDE: 3.5.0-4.2.fc4.kde, xorg-x11-6.8.2-37.FC4.49.2
10:10:05 up 12 days, 11:56, 0 users, load average: 0.21, 0.51, 0.44
MP3/OGG archive Total playlength : 7 days, 18 hours, 17 mins 41 seconds
"It's what you learn after you know it all that counts" John Wooden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060116/32bab4ec/attachment-0001.bin
More information about the gnucash-devel
mailing list