pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] Debugging Pan with gdb


From: Douglas Bollinger
Subject: [Pan-users] Debugging Pan with gdb
Date: Mon, 21 Aug 2006 18:01:18 -0400

I have a gdb debugging questions for all you coding gurus out there.

I'm using a Gentoo system compiled with the popular cflag
-fomit-frame-pointer.  Now, I'm having a Pan crasher I'm trying to debug, so
I built a local copy of Pan with the default flags.  It's just that the
backtrace didn't seem to provide much information:

(gdb) run
Starting program: /home/doug/pan-0.109/pan/gui/pan
[Thread debugging using libthread_db enabled]
[New Thread -1219107152 (LWP 14368)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219107152 (LWP 14368)]
0xb7e56acf in gtk_tree_view_set_fixed_height_mode ()
   from /usr/lib/libgtk-x11-2.0.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1219107152 (LWP 14368)):
#0  0xb7e56acf in gtk_tree_view_set_fixed_height_mode ()
   from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0  0xb7e56acf in gtk_tree_view_set_fixed_height_mode ()
   from /usr/lib/libgtk-x11-2.0.so.0

Does having my entire system (and espcially the gtk libs) compiled with
-fomit-frame-pointer pretty much render my system useless for debugging?

-- 
<|Rain|> #define struct union /* great space saver */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]