[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] segfault when accessing help/commands on latest gnubg(li
From: |
Christian Anthon |
Subject: |
Re: [Bug-gnubg] segfault when accessing help/commands on latest gnubg(linux) |
Date: |
Fri, 07 Apr 2006 10:32:57 +0200 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
Philippe Michel wrote:
> It crashes for me (on FreeBSD), but this is not new. See the end of
> http://lists.gnu.org/archive/html/bug-gnubg/2005-10/msg00019.html
>
> Core was generated by `gnubg'.
> Program terminated with signal 11, Segmentation fault.
> (gdb) where
> #0 0x287b85cd in g_strdup () from /usr/local/lib/libglib-2.0.so.0
> #1 0x28772c21 in g_value_transforms_init ()
> from /usr/local/lib/libgobject-2.0.so.0
> #2 0x28364897 in gtk_tree_store_set_valist ()
> from /usr/X11R6/lib/libgtk-x11-2.0.so.0
> #3 0x28364ab2 in gtk_tree_store_set () from
> /usr/X11R6/lib/libgtk-x11-2.0.so.0
> #4 0x080d20f1 in GTKHelpAdd (pts=0x8da4000, ptiParent=0xbfbfb7b0,
> pc=0x8174a90) at gtkgame.c:7316
> #5 0x080d2111 in GTKHelpAdd (pts=0x8da4000, ptiParent=0xbfbfb800,
> pc=0x8173e64) at gtkgame.c:7319
> #6 0x080d2111 in GTKHelpAdd (pts=0x8da4000, ptiParent=0x0, pc=0x8173420)
> at gtkgame.c:7319
> #7 0x080d2572 in GTKHelp (sz=0x875a224 "") at gtkgame.c:7395
> #8 0x080598fb in CommandHelp (sz=0x875a224 "") at gnubg.c:3765
> #9 0x08058ee5 in HandleCommand (sz=0x875a224 "", ac=0x8173060) at
> gnubg.c:3120
> #10 0x0805d083 in ProcessInput (sz=0xbfbfbab0 "help", fFree=0) at
> gnubg.c:6453
> etc...
>
Same here more or less. Strangely it seems to depend on the optimization
options passed to gcc. It crashes with -O2, but not with -O1 nor -g -O2.
Christian.