Pain
Program terminated with signal 6, Aborted. #0 0x41050c14 in ?? () (gdb) bt #0 0x41050c14 in ?? () #1 0x41050a2c in ?? () #2 0x41050a2c in ?? () Previous frame identical to this frame (corrupt stack?)
gdb, you are not helping me here.
Posted by Marius Gedminas at Thu Nov 2 17:37:11 2006:
Posted by Ross at Thu Nov 2 18:03:54 2006:
Some points I didn't mention:
1) I'm just given a core dump and told "it crashed". No reproduction is possible.
2) This is on the Nokia 770, so Valgrind won't run.
Valgrind is an essential tool in my life. It being missing is painful!
Posted by Frédéric Riss at Thu Nov 2 18:13:45 2006:
1) I'm just given a core dump and told "it crashed". No reproduction is possible.
2) This is on the Nokia 770, so Valgrind won't run.
Valgrind is an essential tool in my life. It being missing is painful!
Don't know how much you know GDB, this might be a totally dump suggestion.
If you're using a cross debugger, have you taken a look at 'set solib-absolute-prefix' or 'set solib-search-path'? This looks terribly like addresses in shared libs that the debugger didn't find...
Posted by Tommi Komulainen at Thu Nov 2 19:03:13 2006:
If you're using a cross debugger, have you taken a look at 'set solib-absolute-prefix' or 'set solib-search-path'? This looks terribly like addresses in shared libs that the debugger didn't find...
Installing (all) debugging symbol packages might help a bit. You should be able to run gdb in scratchbox provided that you get identical set of packages (for related parts at least) and set up some symbolic links to work around scratcbox oddities. Something like:
cd /usr/lib/debug
mkdir targets
ln -s /usr/lib/debug targets/$(sh -c '. /targets/links/scratchbox.config;echo $SBOX_TARGET_NAME')
Then again, we're missing lots of -dbg packages in the current 770 sw upgrade (IIRC). Things are improving, though.
Posted by MDK at Thu Nov 2 21:39:00 2006:
cd /usr/lib/debug
mkdir targets
ln -s /usr/lib/debug targets/$(sh -c '. /targets/links/scratchbox.config;echo $SBOX_TARGET_NAME')
Then again, we're missing lots of -dbg packages in the current 770 sw upgrade (IIRC). Things are improving, though.
Yeah, as Tommi said -- we're missing some -dbg packages, but all core libraries in HAF should have them. If something doesn't provide -dbg packages, file bugs.
Posted by Ross at Thu Nov 2 22:07:14 2006:
I have lots of debug packages installed:
$ dpkg -l *-dbg | wc -l
19
And have the .debug/ symlinks from Eero's script installed. Any more ideas?
Posted by Frédéric Riss at Thu Nov 2 22:12:17 2006:
$ dpkg -l *-dbg | wc -l
19
And have the .debug/ symlinks from Eero's script installed. Any more ideas?