Closed
Bug 761907
Opened 13 years ago
Closed 13 years ago
Ensure ARM crash dump generation works in gonk
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: cjones, Assigned: ted)
References
Details
Attachments
(1 file)
|
28.57 KB,
patch
|
Details | Diff | Splinter Review |
The gonks we care about are just ARM/bionic, so the existing breakpad code should work out of the box. But we need to verify that.
| Assignee | ||
Comment 1•13 years ago
|
||
I ran b2g on my SGS2 and was able to `kill -ABRT` the b2g process and get a minidump out. I need to track down one issue though: the module debug identifiers are coming out all zeroed out.
| Assignee | ||
Comment 2•13 years ago
|
||
Okay, I figured out the root cause there, I have a couple of Breakpad patches.
The first is:
http://codereview.appspot.com/6349099/
| Assignee | ||
Comment 3•13 years ago
|
||
The second is:
http://breakpad.appspot.com/414002
| Assignee | ||
Comment 4•13 years ago
|
||
With those patches, looks good:
31 b2g!main [nsBrowserApp.cpp : 153 + 0xf]
r4 = 0x404f3641 r5 = 0x00000000 r6 = 0x00000001 r7 = 0xbebb7bf4
r8 = 0x00000000 r9 = 0x00000000 r10 = 0x00000000 fp = 0x00000000
sp = 0xbebb5b18 pc = 0x0000896b
Found by: call frame info
| Assignee | ||
Comment 5•13 years ago
|
||
There was a weird bug in Breakpad's use of linux-syscall-support. We were using sys_stat (not sys_stat64) because of some NDK #defines, but that syscall apparently doesn't work in some situations (ICS? new kernel? not sure exactly). These patches have upstream review, so I'm just going to land them when I get a chance.
| Assignee | ||
Comment 6•13 years ago
|
||
Pushed the patches that got r+ upstream:
http://hg.mozilla.org/integration/mozilla-inbound/rev/a4a0f1412b9d
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in
before you can comment on or make changes to this bug.
Description
•