[gutsy] totem browser-plugin makes firefox-granparadiso crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
totem (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: totem
Firefox Granparadiso (currently 3.0 alpha 7) crashes with missing symbols in totem plugin.
Most of those could be fixed by adding "-L/usr/lib/firefox -lxpcom" (ie linking with Firefox 2 as usual) so at runtime, Firefox 3 also knows it has to load -lxpcom (but from its own /usr/lib/
I have a working patch that does just that.
After this patch, there's still one remaining missing symbol: nsMemory::Clone
Problem is this symbol was in -lxpcom before, it is now only in libxpcomglue.a (which is in Firefox SDK that's now in firefox-
Instead of messing with compilation options, I thought it was better to not use that symbol, which is used only 3 times in the whole totem source tree.
I'm made a second (working) patch.
I hope you'll consider those patches so that firefox 3 users can also use totem plugin, like I do now.
In the long term, it would be better to stop compiling against firefox-dev but use xulrunner sdk (that will be packaged hopefully soon by the MozillaTeam).
patches follow.
those patches were made against SVN sources. Should apply cleanly on stock 2.19.6.
Not posted upstream as they already have the libxpcomglue detection code so it's ubuntu's fault for not doing the proper thing. Well, I guess ;)