Closed Bug 774215 Opened 12 years ago Closed 12 years ago

b2g desktop on mac has a problem with multi-process due to a missing library (libplugin_child_interpose.dylib)

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-basecamp:-)

RESOLVED FIXED
blocking-basecamp -

People

(Reporter: pauljt, Assigned: jhford)

References

Details

(Whiteboard: b2g-desktop-builds)

Attachments

(1 file)

When loading the Browser App on Mac B2G desktop, the browser loads but I can't load any pages. In the console I see the following:

======================= webapi.js ======================= 
dyld: could not load inserted library: /Applications/B2G.app/Contents/MacOS/libplugin_child_interpose.dylib

[Parent 12106] WARNING: parent WaitForMessage() failed: 0x10004003 (ipc/rcv) timed out: file /builds/slave/m-cen-osx64-gecko-ntly/build/ipc/glue/GeckoChildProcessHost.cpp, line 595

Sure enough libplugin_child_interpose.dylib doesn't exist in the desktop build I am using (http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/b2g-16.0a1.en-US.mac64.dmg)
BTW, I found this lib inside xulrunner which gets installed when you build gaia. Copying it to the location above fixes the problem for me, and browser is working fine now as far as I can tell.
That's another case of stuff missing in b2g's package manifest.
This is still happening for me with build 20120722030600.

I experience it not only with Browser, but Calculator, Contacts, Crystalskull, etc.

This crash also has the side effect of corrupting databases, so I have to manually delete the contents of gaia/profile/indexedDB/chrome folder to make B2G work again.
using whiteboard "b2g-desktop-builds" for ease of tracking
Whiteboard: b2g-desktop-builds
(In reply to Mike Hommey [:glandium] from comment #2)
> That's another case of stuff missing in b2g's package manifest.

In other words, we need to add this (crappy hack) library libplugin_child_interpose.dylib to b2g's package manifest for desktop-mac builds.
nom for blocking-basecamp.   apps with OOP will beachball and never load correctly.
blocking-basecamp: --- → ?
Per our previous conversation, we're not tracking desktop build issues with Basecamp flags. We'll work with B2G devs and jhford etc to get them fixed on an as-needed basis.
blocking-basecamp: ? → -
Done.  Not sure if this is the right place to add the library into the manifest, but it does work.

jford2:~/mozilla/mozilla-central $ open obj-x86_64-apple-darwin11.4.0/dist/b2g-17.0a1.en-US.mac64.dmg
jford2:~/mozilla/mozilla-central $ find /Volumes/B2G/B2G.app -name libplugin_child_interpose.dylib
/Volumes/B2G/B2G.app/Contents/MacOS/libplugin_child_interpose.dylib
Assignee: nobody → jhford
Status: NEW → ASSIGNED
Attachment #648402 - Flags: review?(jones.chris.g)
Comment on attachment 648402 [details] [diff] [review]
add libplugin_child_interpose to package manifest

This is where firefox puts it, so r=me based on that.
Attachment #648402 - Flags: review?(jones.chris.g) → review+
https://hg.mozilla.org/mozilla-central/rev/c2917d3532c8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Latest build gives same error as comment #0 for me.
You need to log in before you can comment on or make changes to this bug.