2.0.2 and GConf

Mark Johnson mrj001 at shaw.ca
Wed Nov 29 16:23:51 EST 2006


I ran gnucash --g-fatal-warnings, found the process, attached gdb.

Here is the backtrace, along with the value of the parameters from frame 6:
(gdb) cont
Continuing.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1229989664 (LWP 28567)]
0xb6b5a027 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb6b5a027 in raise () from /lib/tls/libc.so.6
#1  0xb6b5b747 in abort () from /lib/tls/libc.so.6
#2  0xb6cc0b0d in g_logv () from /usr/lib/libglib-2.0.so.0
#3  0xb6cc0b36 in g_log () from /usr/lib/libglib-2.0.so.0
#4  0xb750368b in gconf_listeners_remove_if () from /usr/lib/libgconf-2.so.4
#5  0xb751356f in gconf_client_notify_remove () from 
/usr/lib/libgconf-2.so.4
#6  0xb7529807 in gnc_gconf_remove_notification (object=0x814d940, 
section=0x0, whoami=0x809aeb0 "\030Ý\t\b\017")
    at gnc-gconf-utils.c:867
#7  0xb7e3410b in gnc_main_window_destroy (object=0x814d940) at 
gnc-main-window.c:1817
#8  0xb6d3cea8 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#9  0xb6d2a8b9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#10 0xb6d2a5e5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0xb6d3c648 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#12 0xb6d3ba9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0xb6d3bd26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0xb72f93c5 in gtk_object_destroy () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb73d5bb4 in gtk_widget_get_default_direction () from 
/usr/lib/libgtk-x11-2.0.so.0
#16 0xb73daaf2 in gtk_window_remove_embedded_xid () from 
/usr/lib/libgtk-x11-2.0.so.0
#17 0xb6d2ca51 in g_object_run_dispose () from /usr/lib/libgobject-2.0.so.0
#18 0xb72f933b in gtk_object_destroy () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb73ceeb5 in gtk_widget_destroy () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7e34d6b in gnc_main_window_close_page (page=0xb6d56650) at 
gnc-main-window.c:2142
#21 0xb7e36c59 in gnc_main_window_cmd_file_close (action=0x8494320, 
window=0x814d940) at gnc-main-window.c:2887
#22 0xb6d3cea8 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#23 0xb6d2a5e5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb6d3c9cf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#25 0xb6d3ba9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xb6d3bd26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb72010a3 in gtk_action_new () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb720112b in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb6d3cea8 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#30 0xb6d2a5e5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#31 0xb6d3c9cf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#32 0xb6d3ba9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#33 0xb6d3be16 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#34 0xb7388699 in gtk_tool_button_get_type () from 
/usr/lib/libgtk-x11-2.0.so.0
#35 0xb6d3cea8 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#36 0xb6d2a5e5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#37 0xb6d3c9cf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#38 0xb6d3ba9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#39 0xb6d3bd26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#40 0xb720caf5 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb720d9ea in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0
#42 0xb6d3cea8 in g_cclosure_marshal_VOID__VOID () from 
/usr/lib/libgobject-2.0.so.0
#43 0xb6d2a8b9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#44 0xb6d2a5e5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#45 0xb6d3c251 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#46 0xb6d3ba9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#47 0xb6d3bd26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#48 0xb720ca65 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#49 0xb720d823 in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0
#50 0xb72da8c0 in gtk_marshal_VOID__UINT_STRING () from 
/usr/lib/libgtk-x11-2.0.so.0
#51 0xb6d2a8b9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#52 0xb6d2a5e5 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#53 0xb6d3c455 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#54 0xb6d3b87a in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#55 0xb6d3bd26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#56 0xb73d16a7 in gtk_widget_send_expose () from 
/usr/lib/libgtk-x11-2.0.so.0
#57 0xb72d9392 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#58 0xb72d81a6 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#59 0xb71765e5 in gdk_x11_register_standard_event_type () from 
/usr/lib/libgdk-x11-2.0.so.0
#60 0xb6cb872a in g_source_is_destroyed () from /usr/lib/libglib-2.0.so.0
#61 0xb6cb97c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb6cb9b00 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb6cba0a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#64 0xb72d7a53 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#65 0xb7e2a222 in gnc_ui_start_event_loop () at gnc-gnome-utils.c:368
#66 0x0804a73c in inner_main (closure=0x0, argc=1, argv=0xbfdfb6f4) at 
gnucash-bin.c:479
#67 0xb6deb84f in scm_init_guile () from /usr/lib/libguile.so.12
#68 0xb6deb80c in scm_init_guile () from /usr/lib/libguile.so.12
#69 0xb6deb4e0 in scm_boot_guile () from /usr/lib/libguile.so.12
#70 0x0804a8a4 in main (argc=1, argv=0xb6e4153c) at gnucash-bin.c:509
(gdb) select 6
(gdb) print client
$1 = (GConfClient *) 0x809aeb0
(gdb) print *client
$2 = {object = {g_type_instance = {g_class = 0x809dd18}, ref_count = 15, 
qdata = 0x0}, engine = 0x809b420,
  error_mode = GCONF_CLIENT_HANDLE_UNRETURNED, dir_hash = 0x806d120, 
cache_hash = 0x806d140,
  listeners = 0x809e7a8, notify_list = 0x0, notify_handler = 0, 
pending_notify_count = 0, pad1 = 0x0, pad2 = 0}
(gdb) print id
$3 = 0
(gdb) print *object
$4 = {g_type_instance = {g_class = 0x814ca00}, ref_count = 3, qdata = 
0x855b110}
(gdb) print *section
Cannot access memory at address 0x0
(gdb) print *whoami
$5 = 24 '\030'

After this, I told gdb to continue, and the crash error dialog came up 
(restart, close, etc).  No doubt, this is due to the --g-fatal-warnings 
parameter to gnucash.

Mark



Derek Atkins wrote:

>Can you run gnucash under gdb with --g-fatal-warnings and find
>a stack trace for where the gconf message comes from in the
>gnucash code?
>
>-derek
>
>Mark Johnson <mrj001 at shaw.ca> writes:
>
>  
>
>>In trying gnucash 2.0.2, I noticed that whenever I close a register, I 
>>get the following two errors:
>>mj at ds9:~$ gnucash
>>
>>(gnucash:27727): GConf-CRITICAL **: file gconf-listeners.c: line 444 
>>(ltable_remove): assertion `node != NULL' failed
>>
>>(gnucash:27727): GConf-CRITICAL **: file gconf-listeners.c: line 444 
>>(ltable_remove): assertion `node != NULL' failed
>>
>>This happens even if I simply open a register and immediately close it.
>>
>>I have reproduced it on two systems:
>>1. Slackware 10.2 with gconf 2.6.2
>>2. Slackware 10.0 with gconf 2.14.0
>>
>>In both cases, gnucash was built from source on the system where it was 
>>running with that version of gconf installed prior to the build.
>>
>>The errors disappeared when I reverted system #2 to gnucash 2.0.1.
>>
>>Has anyone else noticed this problem?  Was there something I should have 
>>updated when I upgraded gnucash from 2.0.1 to 2.0.2?
>>
>>Mark
>>
>>_______________________________________________
>>gnucash-devel mailing list
>>gnucash-devel at gnucash.org
>>https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>
>>
>>    
>>
>
>  
>


More information about the gnucash-devel mailing list