First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 229227
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andy Wang <dopey@moonteeth.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 229227 depends on: Show dependency tree
Bug 229227 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-24 16:31 0000
I've been toying around with mozilla-firefox-bin-3.0 (I use the binary firefox
exclusively as my browser due to java plugin requirements) and I noticed that
http link handling in thunderbird is broken.  I have my preferred application
set to use firefox-bin %s in gnome and I've also modified the about:config key
(can't remember it off hand) in thunderbird to force it to use firefox-bin. 
What ends up happening is that it launches firefox, but the browser never
displays.  Here's the ps output showing it actually launching the firefox-bin
commands:

15085 ? S 0:00 /bin/bash /usr/libexec/mozilla-launcher
15095 ? Sl 0:01 \_ /usr/lib64/mozilla-thunderbird/thunderbird-bin
15107 ? S 0:00 \_ /bin/sh /opt/firefox/firefox
http://en-us.www.mozilla.com/en-US/thunderbird/
15111 ? S 0:00 \_ /bin/sh /opt/firefox/run-mozilla.sh /opt/firefox/firefox-bin
http://en-us.www.mozilla.com/en-US/thunderbird/
15117 ? S 0:00 \_ /opt/firefox/firefox-bin
http://en-us.www.mozilla.com/en-US/thunderbird/

mozilla-firefox-bin-2.x works fine however and I've not yet tried
mozilla-firefox-3.0 due to other ebuilds that are currently depending on the
older 2.x package.

------- Comment #1 From Ryan May 2008-06-25 00:16:23 0000 -------
Same here, with mozilla-firefox-bin-3.0 and mozilla-thunderbird-2.0.0.14 on
AMD64.

Emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Turion(tm) 64 X2
Timestamp of tree: Sun, 22 Jun 2008 22:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo
http://prometheus.cs.wmich.edu/gentoo http://cudlug.cudenver.edu/gentoo/
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/
http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sajinet /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx aim alsa amd64 artworkextra
audiofile avahi bash-completion berkdb branding bzip2 cairo caps cddb cdr cli
cracklib crypt cups curl dbus divx dri dts dvd dvdnav dvdr dvdread dvi eds
emboss encode evo ffmpeg fftw firefox fortran gd gdbm gedit gif gimp glitz glut
gmedia gnome gnome-keyring gnutls gps gstreamer gtk gtkhtml hal hddtemp hdf
howl howl-compat iconv ieee1394 ipod ipv6 isdnlog java jpeg jpeg2k kerberos
lapack laptop latex lcms libnotify libsamplerate libsexy live lm_sensors mad
midi mikmod mmx mmxext mng mozbranding mozilla mozsvg mp3 mpeg mudflap
musicbrainz nautilus ncurses nemesi netcdf network networkmanager nls
no-old-linux nocd nptl nptlonly nsplugin numeric nvidia ogg opengl openmp pam
pcre pdf perl png pppd profile python qt3 qt3support qt4 quicktime readline
realmedia reflection replytolist rtc sdl session spell spl sqlite sse sse2 ssl
ssse3 startup-notification subversion svg syntax sysfs szip t1lib tagwriting
tcpd theora threads tiff tk truetype udunits unicode usb v4l v4l2 vorbis wmf
wmp wxwindows xcomposite xinerama xml xorg xprint xulrunner xv xvid xvmc zlib"
ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Aldo Cassola 2008-06-30 20:47:21 0000 -------
I can confirm this on x86, mozilla-firefox-3.0-r1 and
mozilla-thunderbird-2.0.0.14, emerge --info follows:

Portage 2.2_rc1 (default-linux/x86/2007.0/desktop, gcc-4.2.4,
glibc-2.8_p20080602-r0, 2.6.25-tuxonice-r5-lean i686)
=================================================================
System uname:
Linux-2.6.25-tuxonice-r5-lean-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Mon, 30 Jun 2008 13:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config
/usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://rsync.namerica.gentoo.org
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo
http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS=""
LINGUAS="en es"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim akode alsa amarok apache2 arts asm
avahi avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cdrom cli
cracklib crypt cups dbus dlloader doc dri dts dvd dvdr dvdread dvi eap-tls eds
emboss encode esd evo exif fam fbsplash ffmpeg firefox flac flash foomaticdb
fortran gdbm gif gimp gimpprint glitz gnome gnutls gpm gstreamer gtk gtk2 hal
iconv ipod ipv6 isdnlog jpeg kde kerberos ldap libg++ mad matroska midi mikmod
mmx mmxext mp3 mp4 mpeg mpeg2 mplayer mudflap musicbrainz ncurses nls nptl
nptlonly nsplugin offensive ogg opengl openmp openssl opensslcrypt oss pam pcre
pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline
reflection samba sdl session spell spl sse sse2 ssl subtitles svg svga tcpd
theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis
win32codecs x86 xine xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1       emu10k1x ens1370 ens1371
es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd
deflate dir disk_cache env expires ext_filter file_cache filter headers ident
imagemap include info log_config logio mem_cache mime mime_magic negotiation
proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so
speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Andy Wang 2008-07-02 20:34:07 0000 -------
I figured out what's causing the problem.  I dumped the environment variables
for the process launched by thunderbird and set the exact same variables in my
shell and immediately noticed that firefox-bin would hang.

I started removing environment variables starting with MOZ* variables (since
they were set to thunderbird locations) and none of those worked.  Proceeded to
LD_PRELOAD and LD_LIBRARY_PATH and found that LD_PRELOAD was the problem.

Looking at mozilla-launcher script, aoss is used to launch thunderbird which
sets LD_PRELOAD=libaoss.so

If I modify firefox-bin to unset LD_PRELOAD everything works.  Looks like
firefox 3 does NOT like aoss/libaoss.so.

------- Comment #4 From Andy Wang 2008-07-02 20:35:15 0000 -------
err.  I shoudl be more clear. I modified /usr/bin/firefox-bin script:

#!/bin/sh
unset LD_PRELOAD
cd "."
if [ -n "" ] ; then
   if [ "${LD_LIBRARY_PATH+set}" = "set" ] ; then
      export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
   else
      export LD_LIBRARY_PATH=""
   fi
fi
exec /opt/firefox/firefox "$@"

------- Comment #5 From Andy Wang 2008-07-02 20:47:05 0000 -------
sorry for the flurry of comments.
google search finds:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475166
which has a comment back to Gentoo bug 213080 which is resolved and solves the
problem where mozilla-launcher is used to launch firefox-bin (but doesn't solve
the problem when something else launched by mozilla-launcher attempts to launch
firefox-bin)

So this is the same problem as 213080, except that a different unaddressed
sequence of events triggers the problem.

and also upstream:
https://bugzilla.mozilla.org/show_bug.cgi?id=435683

------- Comment #6 From Paul Taylor 2008-07-17 22:42:59 0000 -------
Thanks Andy; adding your LD_PRELOAD etc. code to my Firefox launch script works
great.

------- Comment #7 From Andy Wang 2008-07-18 16:13:33 0000 -------
Just a random thought, but since flash is the only binary plugin I recall that
directly used OSS API (key word is used) aoss was nice to have when launching
moz applications, but do we really need to use aoss to launch thunderbird in
mozilla-launcher?  Wouldn't it be simpler to exclude aoss, and especially now
since flash 9.x is using alsa natively do we still even need aoss for firefox
anymore?  All the other media plugins that I know of are alsa capable, unless
I'm missing something.

------- Comment #8 From Raúl Porcel 2008-07-18 16:40:38 0000 -------
*** Bug 232213 has been marked as a duplicate of this bug. ***

------- Comment #9 From Raúl Porcel 2008-07-18 17:11:44 0000 -------
Fixed in 3.0.1-r1

------- Comment #10 From Joachim Herb 2008-07-18 17:14:43 0000 -------
In mozilla-firefox-bin-3.0.1 this bug still exists, so this bug should stay
open as it regards the binary version.

------- Comment #11 From Raúl Porcel 2008-07-18 17:51:50 0000 -------
(In reply to comment #10)
> In mozilla-firefox-bin-3.0.1 this bug still exists, so this bug should stay
> open as it regards the binary version.
> 

Eh? I meant i fixed it in www-client/mozilla-firefox-bin-3.0.1-r1 .
mozilla-firefox(non-bin) doesn't need this fix

------- Comment #12 From Joachim Herb 2008-07-18 17:54:13 0000 -------
I tested it today and it still didn't work.

Here all versions:
mozilla-firefox-bin-3.0.1
mozilla-thunderbird-bin-2.0.0.14
mozilla-launcher-1.59

------- Comment #13 From Raúl Porcel 2008-07-18 18:06:29 0000 -------
(In reply to comment #12)
> I tested it today and it still didn't work.
> 
> Here all versions:
> mozilla-firefox-bin-3.0.1
> mozilla-thunderbird-bin-2.0.0.14
> mozilla-launcher-1.59
> 

I said www-client/mozilla-firefox-bin-3.0.1-r1 <----- see the -r1? I just
commited it 20 mins ago. You'll see an upgrade when the mirrors sync.

------- Comment #14 From Joachim Herb 2008-07-18 18:51:53 0000 -------
Ok. I downloaded the ebuild and it worked.

I had to change the protocol handler back to /usr/bin/firefox (from
/opt/firefox/firefox)

------- Comment #15 From Jan Schubert 2008-10-27 08:37:58 0000 -------
Sorry, what about firefox-(nonbin) users? Is there also an patch available in
the near future?

First Last Prev Next    No search results available      Search page      Enter new bug