[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] gnubg crash
From: |
Christian Anthon |
Subject: |
Re: [Bug-gnubg] gnubg crash |
Date: |
Fri, 22 Jun 2007 01:24:51 +0200 |
On 6/21/07, address@hidden <address@hidden> wrote:
In the Makefile, "CFLAGS = -g -O2", so it looks like debugging
is turned on. However, when I type "gdb gnubg" and then type
"run --sync", after the crash I get:
Program exited with code 01.
(gdb) backtrace
No stack.
=================
Yes that is because the error kills gnubg rather than causing an
actual crash, so you need to set a breakpoint at gdk_x_error. For that
you need to have the gtk2-debuginfo package installed. On Fedora it is
placed in the debuginfo repository, which is enabled by editing
/etc/yum.repos.d/fedora.repo (the file you need to edit will obviously
have a different name, this can probably be done in a redhat package
management gui tool as well).
Christian.