[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] segfault when changing appearance
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] segfault when changing appearance |
Date: |
Sun, 4 Jan 2004 01:57:18 +0100 |
User-agent: |
Mutt/1.4.1i |
On Sat 03 Jan 2004 (20:40 +0100), Martin Janke wrote:
> Hi,
>
> I get a segmentation fault when performing the following:
>
> 1. start gnubg (using 2d board as default)
> 2. Settings -> Appearance -> Designs -> (any design)
> 3. OK
> 4. Settings -> Appearance -> Designs -> (any other design)
> => seg fault
>
> CVS from yesterday on Linux, gtk+ 2.2.4
>
> Backtrace from gdb attached.
>
> /Martin
>
> --
> Martin Janke <address@hidden>
> address@hidden martin $ gdb gnubg
> GNU gdb 5.3
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...
> (gdb) run -w
> Starting program: /usr/local/bin/gnubg -w
> [New Thread 16384 (LWP 6108)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 6108)]
> 0x40a4b8f8 in _int_free () from /lib/libc.so.6
> (gdb) bt
> #0 0x40a4b8f8 in _int_free () from /lib/libc.so.6
> #1 0x40a4a7ca in free () from /lib/libc.so.6
> #2 0x081ce6ca in ClearTextures (bd=0x441ba24, glValid=0) at misc3d.c:1894
> #3 0x0811c241 in UseDesign () at gtkprefs.c:1679
Could you start up gdb on this core file and do the following
(gdb) frame 2
(gdb) p *bd
(gdb) p i
This should dump the structure BoardData and identify which texture
name it was trying to free.
I don't get this with a build from Dec 29 or one from 4 Jan.
--
Jim Segrave address@hidden