Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39797 - mozilla-firebird-0.7-r1 fails to run after re-emerge (if mozilla-thunderbird is running)
Summary: mozilla-firebird-0.7-r1 fails to run after re-emerge (if mozilla-thunderbird ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 14:09 UTC by Graeme Humphries
Modified: 2004-02-07 11:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
debug output from /bin/bash -x /usr/bin/MozillaFirebird (mozilladebug.txt,541 bytes, text/plain)
2004-02-05 20:53 UTC, Graeme Humphries
Details
MozillaFirebird script for testing (MozillaFirebird,2.43 KB, text/plain)
2004-02-06 08:36 UTC, Aron Griffis (RETIRED)
Details
new test script (MozillaFirebird,2.67 KB, text/plain)
2004-02-06 14:04 UTC, Aron Griffis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Humphries 2004-01-29 14:09:00 UTC
I get the following error in a GTK2 dialogue box after re-emerging mozilla-firebird-0.7-r1:

"Error launching browser window:Type Error:
Components.classes['@mozilla.org/appshell/component/browser/instance;1'] has no properties"

Cleaning the install and re-emerging doesn't help, nor does removing "-Os -fpmath=sse" from my compile flags.

Here's my emerge info:
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi acpi4linux alsa apache2 apm autofs avi berkdb bonobo cdr cjk clamav crypt cups curl dga directfb dnd doc dv dvb dvd dvdr editor encode esd evo faad fam ffmpeg fftw flac flash foomaticdb freetype gb gd gdbm geoip ggi gif gimpprint glut gnome gnomedb gphoto2 gps gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 innodb java jdepend joystick jpeg kde ladcca ldap libg++ libgda libwww lirc lufsusermount mad md5sum memlimit mikmod mldonkeypango mmx mng motif mozilla mozsvg mpeg mpeg4 mysql nas ncurses nls nocd oav odbc offensive oggvorbis openal opengl oss pam pda pdflib pear-db perl png postgres ppds psyco python qt quicktime radeon readline samba scanner sdl server slang slp snmp spell sqlite sse ssl stencil-buffer svg svga t1lib tcltk tcpd tetex tiff transcode truetype type1 unicode usb v4l videos wmf wxwin wxwindows x86 xinerama xml2 xmms xv xvid yahoo zlib video_cards_radeon"
Comment 1 Graeme Humphries 2004-01-29 14:15:20 UTC
Ok, I just discovered that this only happens if mozilla-thunderbird-0.3 is running before I start the newly emerged Firebird. If I start Firebird first, it runs fine, and then I can launch Thunderbird.

I have a feeling this is probably related to bug 38102.
Comment 2 SpanKY gentoo-dev 2004-01-31 12:36:57 UTC

*** This bug has been marked as a duplicate of 39308 ***
Comment 3 SpanKY gentoo-dev 2004-01-31 12:37:16 UTC
err oops, sorry about that ;)
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-02-04 09:15:29 UTC
Spanky, I don't think it's a duplicate.

Graeme, I think I put a fix into the MozillaFirebird script for this.  Would you mind running the following to start Firebird and tell me if it works?

$ bash /usr/portage/*/mozilla-firebird/files/MozillaFirebird

If it works then you can install the new script and close this bug:

# install -m 0755 /usr/portage/*/mozilla-firebird/files/MozillaFirebird /usr/bin

Thanks,
Aron
Comment 5 Graeme Humphries 2004-02-04 09:28:18 UTC
Nope, still the same error on my system.
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2004-02-04 09:31:44 UTC
Do me a favor and make sure the following is the same for you?

$ grep -i thund /usr/bin/MozillaFirebird 
  # 3 = Thunderbird is running, but doesn't handle openURL command
Comment 7 Graeme Humphries 2004-02-04 10:12:52 UTC
unit3@wcw unit3 $ grep -i thund /usr/bin/MozillaFirebird
  # 3 = Thunderbird is running, but doesn't handle openURL command
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-02-05 19:44:54 UTC
Graeme, if you don't mind doing a little debugging...  it looks like the MozillaFirebird script still needs a little help.  My impression is that this is what's happening: mozilla-xremote-client is finding the thunderbird process and attempting to use it to launch the browser window.  The problem is that thunderbird doesn't support browser windows, of course...

What I'd like to know is what the exit status is of mozilla-xremote-client when it fails to launch a new tab/window.  Perhaps you could run the following and attach the output?  (Attach, not post as a comment...)

/bin/bash -x /usr/bin/MozillaFirebird

Thanks!
Comment 9 Graeme Humphries 2004-02-05 20:53:16 UTC
Created attachment 25049 [details]
debug output from /bin/bash -x /usr/bin/MozillaFirebird

Well, here's the output. I noticed that this command exited back to shell
/before/ the Mozilla error dialogue I mentioned appeared, so I retried it, and
yep, every time I ran it the dialogue appeared after the command had returned.

Don't know if that helps any, but it seemed odd. ;)
Comment 10 Aron Griffis (RETIRED) gentoo-dev 2004-02-06 08:36:08 UTC
Created attachment 25083 [details]
MozillaFirebird script for testing

Yeah, it helps.  What it really means is that mozilla-xremote-client is buggy,
because it returns a zero exit status even though the Thunderbird instance
can't handle a browser request.  :-(

The attached script isn't perfect, but I think it will solve the problem
sufficiently.  Would you mind giving it a try?
Comment 11 Aron Griffis (RETIRED) gentoo-dev 2004-02-06 13:56:53 UTC
ugh, nevermind, that still won't work...
Comment 12 Aron Griffis (RETIRED) gentoo-dev 2004-02-06 14:04:52 UTC
Created attachment 25107 [details]
new test script

okay, this will probably fix it
Comment 13 Aron Griffis (RETIRED) gentoo-dev 2004-02-06 15:15:14 UTC
Graeme, are you able to test the attachment in comment 12?
Comment 14 Aron Griffis (RETIRED) gentoo-dev 2004-02-07 11:56:44 UTC
Okay, I tested my new script, and here is what I found:

First, I found that the bug doesn't persist when you upgrade to mozilla-thunderbird-0.4 instead of 0.3 as you're using.  That's nice to know.

Second, I found that my new script seems to solve the problem.  I didn't bother to do a revision bump since I think that most people aren't going to hit this bug.

So I'm closing this Resolved FIXED.