Closed Bug 746778 Opened 12 years ago Closed 12 years ago

Fennec crashes on x86/Android. Error: relocation to NULL @0x0002ef10 for symbol "_PR_x86_AtomicSet"

Categories

(NSPR :: NSPR, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 693329

People

(Reporter: thomas.g.eaton, Assigned: glandium)

References

Details

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20111008085652

Steps to reproduce:

I built Fennec from the trunk for x86/Android and then installed and tried to run it on an x86 Android tablet.  


Actual results:

It crashed after loading the start screen.  Attached is the logcat of the crash.
Blocks: 723713
OS: Linux → Android
Hardware: x86_64 → x86
Can you attach this libnspr4.so ?
(In reply to Thomas G Eaton from comment #2)
> Created attachment 617092 [details]
> libnspr4.so from the build

That's what I thought. There is something wrong in your nspr build, and libnspr4.so doesn't contain the _PR_x86_AtomicSet symbol, which it should contain.
Assignee: nobody → wtc
Component: General → NSPR
Product: Fennec Native → NSPR
QA Contact: general → nspr
Version: Trunk → 4.9
Assignee: wtc → mh+mozilla
Note: if necessary, we can work around the issue in mozilla-central until the nspr change lands there (which could take some time), if that would make things smoother for you.
After looking at your patch, I remembered a fix in this area that I thought had already been checked in.  693329 should address this issue shouldn't it?  If that change is still waiting to go in, then this can be marked as a duplicate.  Is the fix from that bug still waiting to be merged somewhere?
Indeed this is the same issue, and we're still on NSPR 4.9 on mozilla-central, so until 4.9.1 or newer lands, you'll have the problem. So, either we work around the issue in m-c, or we land 4.9.x. Ted, any opinion?

Also note that the patch from bug 693329 is not very future-proof, but it's another matter.
Attachment #617399 - Attachment is obsolete: true
Attachment #617399 - Flags: review?(wtc)
Component: NSPR → Build Config
Product: NSPR → Core
QA Contact: nspr → build-config
Version: 4.9 → Trunk
Attachment #617818 - Flags: review?(ted.mielczarek)
I tested attachment 617818 [details] [diff] [review] and it works to resolve the issue.  Thanks.
Comment on attachment 617818 [details] [diff] [review]
Fix bug 693329 without waiting for a NSPR release

Review of attachment 617818 [details] [diff] [review]:
-----------------------------------------------------------------

This is kind of ugly. Is there any reason we shouldn't just go ahead and get an NSPR release done? This is only for Android/x86, right? Doesn't seem important enough to warrant putting in hacks when we already have an NSPR fix.
Comment on attachment 617399 [details] [diff] [review]
Share Android and Linux definitions in configure.in, to avoid anything unexpectedly missing for Android

r=wtc.

We can make a new NSPR release for this bug fix.
Attachment #617399 - Flags: review+
Attachment #617818 - Flags: review?(ted.mielczarek)
I will check in Mike Hommey's first patch.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Component: Build Config → NSPR
Product: Core → NSPR
QA Contact: build-config → nspr
Resolution: --- → DUPLICATE
Target Milestone: --- → 4.9.1
Version: Trunk → other
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: