| View previous topic :: View next topic |
| Author |
Message |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Wed Oct 29, 2008 11:20 pm Post subject: debugging symbols stripped even with FEATURES="no strip |
|
|
I am trying to debug my gphpedit installation, which crashes durring 'replace all'. I followed the bug documentation and made sure to emerge the package as follows: FEATURES="no strip" emerge gphpedit
Now I run a backtrace (bt) after gphpedit crashes (using gdb) , but the backtrace does not have debugging symbols. It looks like this:
| Code: |
b6dff000-b6e06
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6de96d0 (LWP 13581)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb716a101 in raise () from /lib/libc.so.6
#2 0xb716b8e8 in abort () from /lib/libc.so.6
#3 0xb71a0cbb in ?? () from /lib/libc.so.6
#4 0x00000011 in ?? ()
#5 0xbfcbd940 in ?? ()
#6 0x00000400 in ?? ()
#7 0xbfcbd878 in ?? ()
#8 0xb765db5e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9 0xb71a6a00 in ?? () from /lib/libc.so.6
#10 0x00000002 in ?? ()
#11 0xb7255968 in ?? () from /lib/libc.so.6
#12 0xbfcbf4c3 in ?? ()
#13 0xb7255a40 in ?? () from /lib/libc.so.6
#14 0xbfcbde77 in ?? ()
#15 0xb7255a40 in ?? () from /lib/libc.so.6
#16 0x30000000 in ?? ()
#17 0x32653638 in ?? ()
#18 0x00383030 in ?? ()
#19 0xb726cff4 in ?? () from /lib/libc.so.6
#20 0xb726e120 in ?? () from /lib/libc.so.6
#21 0x086e2008 in ?? ()
#22 0xbfcbdea8 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0xb71a86f9 in free () from /lib/libc.so.6
Backtrace stopped: frame did not save the PC |
|
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Wed Oct 29, 2008 11:43 pm Post subject: |
|
|
I guess it's supposed to mean
| Code: | | FEATURES="nostrip" emerge ... |
|
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Wed Oct 29, 2008 11:49 pm Post subject: |
|
|
| how is that different from what i did? |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Wed Oct 29, 2008 11:56 pm Post subject: |
|
|
| You printed an extra space ("no strip") in your command. I'm not sure if that's what you executed on your PC or if it is just what you typed here. |
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Thu Oct 30, 2008 12:00 am Post subject: |
|
|
that's just what i typed here. good catch though!!
any other ideas? |
|
| Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Thu Oct 30, 2008 12:03 am Post subject: |
|
|
| Does emerging it with USE=debug change anything? |
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Thu Oct 30, 2008 12:18 am Post subject: |
|
|
I already have the following line in my package.use file
app-editors/gphpedit debug |
|
| Back to top |
|
 |
yngwin Retired Dev


Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu Oct 30, 2008 11:15 am Post subject: |
|
|
If it doesn't work with FEATURES="nostrip" and USE="debug", then file a bug. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Thu Nov 06, 2008 3:39 pm Post subject: |
|
|
I filed a bug and this is the response I received:
| Quote: |
Please read the following document:
http://www.gentoo.org/proj/en/qa/backtraces.xml
if you already read it, read it again. Unless portage yells at you and says it
installs a pre-stripped binary, there is nothing gnome team as to do with your
situation. Please reopen if the this is the case, otherwise, this is invalid.
|
I followed the instructions in the documentation as well as the page quoted above and I still don't have symbols.  |
|
| Back to top |
|
 |
tarpman Veteran


Joined: 04 Nov 2004 Posts: 1083 Location: Victoria, BC, Canada
|
Posted: Thu Nov 06, 2008 11:52 pm Post subject: |
|
|
Do you have some form of -g in your CFLAGS? Also, if your CFLAGS contain -fomit-frame-pointer, you need to remove it for backtraces to work. _________________ Saving the world, one kilobyte at a time. |
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Fri Nov 07, 2008 12:34 am Post subject: |
|
|
My CFLAGS are as follows:
CFLAGS="-O1 -pipe -g -ggdb"
CXXFLAGS="${CFLAGS}" |
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Fri Nov 14, 2008 6:36 pm Post subject: |
|
|
| bump |
|
| Back to top |
|
 |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sun Nov 23, 2008 10:12 pm Post subject: |
|
|
Is this problem due to my global use flags?
USE="-gnome -kde -qt3 -qt4 X dbus hal startup-notification xscreensaver truetype alsa" |
|
| Back to top |
|
 |
StringCheesian l33t

Joined: 21 Oct 2003 Posts: 887
|
Posted: Mon Nov 24, 2008 8:31 pm Post subject: |
|
|
| Maybe it isn't portage's fault - it could be that a bug in gphpedit's Makefile is stripping stuff. |
|
| Back to top |
|
 |
|