startup crash - loadNSSLibs crashes on startup

RESOLVED FIXED in Firefox 14

Status

()

defect
--
critical
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: kats, Assigned: kats)

Tracking

({crash})

unspecified
Firefox 14
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [native-crash][startupcrash], crash signature)

Attachments

(1 attachment)

Posted patch PatchSplinter Review
#0  0xaff0c474 in kill () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libc.so
#1  0xaff176b6 in raise () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libc.so
#2  0x80b18b9a in MOZ_Crash () at /Users/kats/zspace/kiwifox/mfbt/Assertions.cpp:79
#3  0x80b18bcc in MOZ_Assert (s=0x80b1fa4d "refCnt == -0xdead", file=<optimized out>, ln=<optimized out>) at /Users/kats/zspace/kiwifox/mfbt/Assertions.cpp:88
#4  0x80b187f8 in ~RefCounted (this=<optimized out>, __in_chrg=<optimized out>) at ../../dist/include/mozilla/RefPtr.h:85
#5  Zip::~Zip (this=0x2e8350, __in_chrg=<optimized out>) at /Users/kats/zspace/kiwifox/mozglue/linker/Zip.cpp:58
#6  0x80b16ad2 in loadNSSLibs (apkName=<optimized out>) at /Users/kats/zspace/kiwifox/mozglue/android/APKOpen.cpp:781
#7  0x80b173b8 in Java_org_mozilla_gecko_GeckoAppShell_loadNSSLibsNative (jenv=0x2e66d0, jGeckoAppShellClass=<optimized out>, jApkName=0x407e1088)
    at /Users/kats/zspace/kiwifox/mozglue/android/APKOpen.cpp:855
#8  0xaca11d38 in dvmPlatformInvoke () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libdvm.so
#9  0xaca41246 in dvmCallJNIMethod_general () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libdvm.so
#10 0xaca46848 in dvmResolveNativeMethod () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libdvm.so
#11 0xaca16f60 in dvmJitToInterpNoChain () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libdvm.so
#12 0xaca16f60 in dvmJitToInterpNoChain () from /Users/kats/android/jdb/moz-gdb/lib/42800C740E040D7/system/lib/libdvm.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


Patch as per wesj's recommendations on IRC.
Attachment #605461 - Flags: review?(mh+mozilla)
Attachment #605461 - Flags: review?(mh+mozilla) → review+
Target Milestone: --- → Firefox 14
Severity: normal → critical
Crash Signature: [@ kill | raise | MOZ_Crash ]
Keywords: crash
Hardware: All → ARM
Whiteboard: [native-crash][startupcrash]
https://hg.mozilla.org/mozilla-central/rev/9b09f6e06408
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.