![]() |
2013-04-20
, 14:06
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#292
|
Thanks.
Unfortunately doesn't really tell me what I didn't already know. Two valid stack frames then nothing but question marks. Some buffer over- or under-run has destroyed the stack? Any suggestions?
Note that turning off compiler optimisation makes the problem go away. And valgrind didn't find anything.
Not too sure where to go from here.
The Following 5 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
2013-04-20
, 23:08
|
Posts: 96 |
Thanked: 80 times |
Joined on May 2010
|
#293
|
You are missing debug symbols for /usr/lib/libQtCore.so.4, that is why gdb says "Backtrace stopped: previous frame identical to this frame (corrupt stack?)". Just install libqt4-core-dbg and you'll see. I can't say it clearer than that
user@Nokia-N900:~/MyDocs/core-dumps/columbus-3E77-11-2005$ dpkg -l libqt4-core-dbg Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=====================-=====================-========================================================== ii libqt4-core-dbg 1:4.7.4~git20110505+c Qt 4 library debugging symbols user@Nokia-N900:~/MyDocs/core-dumps/columbus-3E77-11-2005$ gdb /opt/usr/bin/columbus ./coredump GNU gdb (GDB) 6.8.50.20090417-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabi". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... (no debugging symbols found) Reading symbols from /opt/usr/lib/librxsupport.so.1...(no debugging symbols found)...done. Loaded symbols for /opt/usr/lib/librxsupport.so.1 Reading symbols from /opt/usr/lib/libcolumbus.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libQtCore.so.4...Reading symbols from /opt/usr/lib/debug/usr/lib/libQtCore.so.4.7.4...done. done. Loaded symbols for /usr/lib/libQtCore.so.4
Core was generated by `/opt/usr/bin/columbus'. Program terminated with signal 11, Segmentation fault. #0 QString::fromLatin1_helper (str=0x73 <Address 0x73 out of bounds>, size=-1) at tools/qstring.cpp:3743 3743 tools/qstring.cpp: No such file or directory. in tools/qstring.cpp (gdb) bt #0 QString::fromLatin1_helper (str=0x73 <Address 0x73 out of bounds>, size=-1) at tools/qstring.cpp:3743 #1 0x40e7910c in QString::fromAscii_helper (str=0x73 <Address 0x73 out of bounds>, size=1088917772) at tools/qstring.cpp:3809 #2 0x00015ad0 in ?? () #3 0x00015ad0 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Current language: auto; currently c++ (gdb)
![]() |
2013-04-20
, 23:17
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#294
|
The Following 3 Users Say Thank You to handaxe For This Useful Post: | ||
![]() |
2013-04-20
, 23:26
|
Posts: 96 |
Thanked: 80 times |
Joined on May 2010
|
#295
|
[OT] @avidscavenger: southern hemisphere + good command of English: OZ, NZ, SA?
HA (ex SA)
![]() |
2013-04-20
, 23:30
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#296
|
The Following 2 Users Say Thank You to handaxe For This Useful Post: | ||
![]() |
2013-04-21
, 01:26
|
Posts: 96 |
Thanked: 80 times |
Joined on May 2010
|
#297
|
The Following User Says Thank You to avidscavenger For This Useful Post: | ||
![]() |
2013-04-21
, 09:08
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#298
|
That is what I did.
Here is some output:
<snip>Code:user@Nokia-N900:~/MyDocs/core-dumps/columbus-3E77-11-2005$ dpkg -l libqt4-core-dbg Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=====================-=====================-========================================================== ii libqt4-core-dbg 1:4.7.4~git20110505+c Qt 4 library debugging symbols user@Nokia-N900:~/MyDocs/core-dumps/columbus-3E77-11-2005$ gdb /opt/usr/bin/columbus ./coredump GNU gdb (GDB) 6.8.50.20090417-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabi". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... (no debugging symbols found) Reading symbols from /opt/usr/lib/librxsupport.so.1...(no debugging symbols found)...done. Loaded symbols for /opt/usr/lib/librxsupport.so.1 Reading symbols from /opt/usr/lib/libcolumbus.so.1...(no debugging symbols found)...done.
<snip>Code:Reading symbols from /usr/lib/libQtCore.so.4...Reading symbols from /opt/usr/lib/debug/usr/lib/libQtCore.so.4.7.4...done. done. Loaded symbols for /usr/lib/libQtCore.so.4
As you can see, we get a bit more information about the line numbers and variable names, but nothing more on the stack.Code:Core was generated by `/opt/usr/bin/columbus'. Program terminated with signal 11, Segmentation fault. #0 QString::fromLatin1_helper (str=0x73 <Address 0x73 out of bounds>, size=-1) at tools/qstring.cpp:3743 3743 tools/qstring.cpp: No such file or directory. in tools/qstring.cpp (gdb) bt #0 QString::fromLatin1_helper (str=0x73 <Address 0x73 out of bounds>, size=-1) at tools/qstring.cpp:3743 #1 0x40e7910c in QString::fromAscii_helper (str=0x73 <Address 0x73 out of bounds>, size=1088917772) at tools/qstring.cpp:3809 #2 0x00015ad0 in ?? () #3 0x00015ad0 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Current language: auto; currently c++ (gdb)
![]() |
2013-04-21
, 12:00
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#299
|
BTW I am on #maemo IRC @ freenode.net, better join there to speedup the communication.
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2013-04-21
, 12:18
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#300
|
![]() |
Tags |
navigation, nokia n900 |
|
Unfortunately doesn't really tell me what I didn't already know. Two valid stack frames then nothing but question marks. Some buffer over- or under-run has destroyed the stack? Any suggestions?
Note that turning off compiler optimisation makes the problem go away. And valgrind didn't find anything.
Not too sure where to go from here.