Fix for #136202 causes problems on non-Debian distros

Bug #162430 reported by Philip Allison
12
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
Johannes Sasongko

Bug Description

The fix for bug #136202 - relating to crashes when creating a gtkmozembed widget - is, AFAICT, a work-around for a problem related to how Firefox is built in Debian/Ubuntu. When that "fix" is in place on a distribution which does not have that problem (in my case, Gentoo), it causes crashes where previously there were none.

Exaile 0.2.11 has been crashing whenever I try to view artist info, lyrics, etc. and when I comment out this line:

 export MOZILLA_FIVE_HOME=/usr/lib/firefox

... the crashes stop.

IMHO, the fix should be applied as a patch within the Debian/Ubuntu packages, not directly to the Exaile source, as upstream is the wrong place to fix distro-specific problems.

Tags: mozilla
Revision history for this message
Johannes Sasongko (sjohannes) wrote : [Bug 162430] Fix for #136202 causes problems on non-Debian distros

Could you check whether MOZILLA_FIVE_HOME is set in your environment?

 status triaged
 assignee sjohannes
 importance high
 milestone 0.2.12
 tag mozilla

Changed in exaile:
assignee: nobody → sjohannes
importance: Undecided → High
milestone: none → 0.2.12
status: New → Triaged
Revision history for this message
Philip Allison (mangobrain) wrote :

It is not, but we do have the following in the mozilla-firefox ebuild:

mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}

.. where $MOZILLA_FIVE_HOME is set earlier in the ebuild to be "/usr/lib/mozilla-firefox" (calculated from various other properties, though, rather than static), which is correct for a Gentoo system. I would guess that "mozconfig_annotate" is something for setting build options. :)

Revision history for this message
Johannes Sasongko (sjohannes) wrote : [Bug 162430] Re: Fix for #136202 causes problems on non-Debian distros

That's bad... can't fix this without triggering bug 136202 on those
Debian distros though. I'd especially hate to break this in the nightly
.deb builds. Let's see if someone can help make the .deb build process
auto-patch the Makefile; afterwards I'll back out the bug 136202 "fix"
from the source tree.

By the way, just for reference, there's a bug report to add the default
moz-five-home to Ubuntu's Firefox build process (bug 157126).

Changed in exaile:
status: Triaged → Confirmed
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

The workaround has been removed.

Changed in exaile:
status: Confirmed → Fix Committed
Revision history for this message
Fernando Muñoz (fmunozs) wrote :

I'm currently using Exaile 0.2.12b on Ubuntu Gutsy and I'm getting crashes too whenever I try to view artist info, lyrics, etc. I dont have MOZILLA_FIVE_HOME on my environment vars.

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

I guess that means the fix to bug 157126 hasn't been backported to Gutsy, for some reason.

Revision history for this message
rabbit83 (mail-to-me) wrote :

I can confirm Fernandos problem (Guty, Exaile 0.2.12b). When I run exaile in a Terminal, the last entry says "Segmenatation Faullt (Core dumpded)". How can I check wether the "MOZILLA_FIVE_HOME" environment variable is "enabled" or not?

Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.