segmentation fault

Mark Johnson mrj001 at shaw.ca
Thu Feb 23 22:28:19 EST 2006


With gnucash svn 13366, I am getting a segmentation fault for the 
command line:
$ gnucash --nofile

This is repeatable.  I was trying this because it was crashing when I 
tried File->New->new file with a file open.  That crash was also repeatable.

Any one else seeing this?  Is it fixed in a newer svn? 

Here is some output from gdb for the "gnucash --nofile" case:
Starting program: /opt/gnucash-svn13366/bin/gnucash-bin --nofile
[Thread debugging using libthread_db enabled]
[New Thread -1230563648 (LWP 19744)]

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\x9c' (-100)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\u0002' (2)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\xd8' (-40)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\u0002' (2)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\xb0' (-80)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\xe0' (-32)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\xe0' (-32)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\xcf' (-49)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\x92' (-110)

(process:19744): GLib-WARNING **: goption.c:1672: ignoring invalid short 
option '\u0006' (6)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1230563648 (LWP 19744)]
0xb6b0d6db in strlen () from /lib/tls/libc.so.6
(gdb) bt                                                  
#0  0xb6b0d6db in strlen () from /lib/tls/libc.so.6
#1  0xb6c2ab56 in g_option_context_add_main_entries () from 
/usr/lib/libglib-2.0.so.0
#2  0xb6c2b9cf in g_option_context_parse () from /usr/lib/libglib-2.0.so.0
#3  0x0804a2c3 in gnucash_command_line (argc=0xbfa17480, argv=0xbfa17504)
    at gnucash-bin.c:311
#4  0x0804a79c in main (argc=2, argv=0xbfa17504) at gnucash-bin.c:492


Mark


More information about the gnucash-devel mailing list