Backtrace on ARM

226 views
Skip to first unread message

Jim Blandy

unread,
Feb 18, 2010, 2:48:02 AM2/18/10
to Ted Mielczarek, google-br...@googlegroups.com
Ted, does this look close to right for that little ARM executable and
minidump you sent me?

Operating system: Linux
0.0.0 Linux 2.6.28-omap1 #1 PREEMPT Wed Oct 28
15:32:55 EET 2009 armv7l
CPU: arm
0 CPUs

Crash reason: SIGSEGV
Crash address: 0x0

Thread 0 (crashed)
0 testcrash!crash [test.cc : 17 + 0x8]
r13 = 0xbeb8d51c r14 = 0x000092d0 r15 = 0x00009228
1 testcrash!main [test.cc : 23 + 0x3]
r13 = 0xbeb8d520 r15 = 0x000092d0
2 libc-2.5.so + 0x14973
r13 = 0xbeb8d590 r15 = 0x4103c974

Loaded modules:
0x00008000 - 0x00019fff testcrash ??? (main)
0x41000000 - 0x4101bfff ld-2.5.so ???
0x41028000 - 0x4113efff libc-2.5.so ???
0x41150000 - 0x4115afff libgcc_s.so.1 ???
0x41320000 - 0x4138cfff libm-2.5.so ???
0x416e8000 - 0x417affff libstdc++.so.6.0.9 ???

Jim Blandy

unread,
Feb 18, 2010, 3:11:35 AM2/18/10
to Ted Mielczarek, google-br...@googlegroups.com
On Wed, Feb 17, 2010 at 11:48 PM, Jim Blandy <ji...@red-bean.com> wrote:
> Ted, does this look close to right for that little ARM executable and
> minidump you sent me?

If it does, I would *love* a minidump whose stack includes frames for
functions from both a shared library and an executable, along with
copies of said library and executable, with debug info.

Ted Mielczarek

unread,
Feb 18, 2010, 12:55:05 PM2/18/10
to Jim Blandy, google-br...@googlegroups.com
This looks reasonable. I think I misplaced (read: deleted) the test file I was using, so I can't actually verify, but it sounds right. I'll whip up another test with a shared library on the stack and send it to you shortly.

-Ted

Jim Blandy

unread,
Feb 18, 2010, 1:06:47 PM2/18/10
to Ted Mielczarek, google-br...@googlegroups.com
On Thu, Feb 18, 2010 at 9:55 AM, Ted Mielczarek
<ted.mie...@gmail.com> wrote:
> This looks reasonable. I think I misplaced (read: deleted) the test file I
> was using, so I can't actually verify, but it sounds right. I'll whip up
> another test with a shared library on the stack and send it to you shortly.

/me waits with bated breath

Neal Sidhwaney

unread,
Feb 18, 2010, 5:09:53 PM2/18/10
to google-br...@googlegroups.com, Ted Mielczarek
If you have an ARM cross compile set up, you can also use this patch:


ANd set CC/CXX to the compilers before running configure, then do:

make src/client/linux/linux_client_unittest

from the root. 

Neal


--
You received this message because you are subscribed to the Google Groups "google-breakpad-dev" group.
To post to this group, send email to google-br...@googlegroups.com.
To unsubscribe from this group, send email to google-breakpad...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-breakpad-dev?hl=en.


Neal Sidhwaney

unread,
Feb 18, 2010, 5:14:40 PM2/18/10
to google-br...@googlegroups.com, Ted Mielczarek
Apparently app engine or Rietveld doesn't handle the trailing '/' correctly so if you click on the original link it'll return an error; sorry about that.


Neal

Ted Mielczarek

unread,
Feb 19, 2010, 12:01:37 PM2/19/10
to Neal Sidhwaney, google-br...@googlegroups.com
I don't think Jim has a cross-compile setup curently, which is why he's working by proxy. :) For the record, I whipped up a little test app for him. Binaries with symbols, source, and a minidump are all here:
http://people.mozilla.com/~tmielczarek/arm-stuff.tar.bz2

-Ted

Jim Blandy

unread,
Feb 19, 2010, 5:20:08 PM2/19/10
to google-br...@googlegroups.com, Neal Sidhwaney
On Fri, Feb 19, 2010 at 9:01 AM, Ted Mielczarek
<ted.mie...@gmail.com> wrote:
> I don't think Jim has a cross-compile setup curently, which is why he's
> working by proxy. :) For the record, I whipped up a little test app for him.
> Binaries with symbols, source, and a minidump are all here:
> http://people.mozilla.com/~tmielczarek/arm-stuff.tar.bz2

[mi mimimi miiii] W00t.

Crash reason: SIGSEGV
Crash address: 0x0

Thread 0 (crashed)
0 libcrash.so!crash [libcrash.cpp : 4 + 0x8]
r4 = 0x40014060 r5 = 0x40013bc0 r6 = 0x00000000 r7 = 0x00000000
r8 = 0x00000000 r9 = 0x00000000 r10 = 0x41024000 fp = 0xbec0c504
sp = 0xbec0c4f8 lr = 0x0000948c pc = 0x4000157c
1 crasher!crash_eventually [crasher.cpp : 10 + 0x3]
r4 = 0x40014060 r5 = 0x40013bc0 r6 = 0x00000000 r7 = 0x00000000
r8 = 0x00000000 r9 = 0x00000000 r10 = 0x41024000 fp = 0xbec0c50c
sp = 0xbec0c508 pc = 0x0000948c
2 crasher!main [crasher.cpp : 30 + 0x3]
r4 = 0x40014060 r5 = 0x40013bc0 r6 = 0x00000000 r7 = 0x00000000
r8 = 0x00000000 r9 = 0x00000000 r10 = 0x41024000 fp = 0xbec0c57c
sp = 0xbec0c510 pc = 0x00009530
3 libc-2.5.so + 0x14973
r4 = 0x40014060 r5 = 0x40013bc0 r6 = 0x00000000 r7 = 0x00000000
r8 = 0x00000000 r9 = 0x00000000 r10 = 0x41024000 fp = 0xbec0c6c4
sp = 0xbec0c580 pc = 0x4103c974

Reply all
Reply to author
Forward
0 new messages