Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99874 - mozilla update hangs at "Updating mozilla-thunderbird chrome registry..."
Summary: mozilla update hangs at "Updating mozilla-thunderbird chrome registry..."
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 00:32 UTC by Patrick Lauer
Modified: 2005-07-23 13:27 UTC (History)
5 users (show)

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


Attachments
my about:plugins (About Plug-ins.txt,3.05 KB, text/plain)
2005-07-22 13:51 UTC, Wernfried Haas (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2005-07-22 00:32:27 UTC
--- /usr/share/applications/
>>> /usr/share/applications/mozilla.desktop
--- /usr/share/pixmaps/
>>> /usr/share/pixmaps/mozilla-icon.png
--- /usr/include/
Updating mozilla-thunderbird chrome registry...

(mozilla-bin:32192): Gdk-WARNING **: gdk_property_get(): length value has
wrapped in calculation (did you pass G_MAXLONG?)

^^ here the update hung, no CPU used, hang >30min.
A firefox instance was running (possible interference) and closed wothout
problems (no hang / misbehaviour)

Reproducible: Always
Steps to Reproduce:
1. emerge -u mozilla
2. wait
3. ...

Actual Results:  
the update hung (but exited normally on Ctrl-C)

Expected Results:  
merging the package should have finished and emerge should have continued to
update the other packages

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12 i686)
=================================================================
System uname: 2.6.12 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apache2 apm avi
bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash ccache cdda
cddb cdparanoia cdr chroot crypt cups curl dga divx4linux dv dvd dvdr dvdread
ecc eds emboss encode esd fam fbcon ffmpeg fftw foomaticdb fortran gd
gd-external gdbm gif gimp gimpprint glep gmp gphoto2 gpm graphviz gstreamer
imagemagick imlib ipv6 jabber jack jikes jit jpeg jpeg2k kde kdeenablefinal
ladcca libg++ libwww lm_sensors lzo lzw-tiff mad matroska mhash mikmod mime
mjpeg mmx mmxext mng motif mozilla mozsvg mp3 mpeg mpeg4 ncurses nls nptl nvidia
ogg oggvorbis openal opengl oss pam parse-clocks pdf pdflib perl physfs png
python qt quicktime readline real recode ruby samba sdl spell sqlite sse sse2
ssl tcltk tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts
utf8 vorbis win32codecs wxgtk1 xine xml xml2 xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2005-07-22 02:03:49 UTC
Hi, 
 
same problem here. For me mozilla is unuseable after the upgrade. It even won't 
start anymore, just an empty window with "Warning" as title pops up. 
 
Poly 
Comment 2 Phil Richards 2005-07-22 02:29:09 UTC
Yep, same problem.

Of course, I *really* wish all I could just have firefox installed since I never
use Mozilla itself but have to keep it up-to-date.  *sigh*

~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/src/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/src/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm avi berkdb bitmap-fonts bzip2 cdr crypt cups curl
dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 guile hal imagemagick imlib jpeg lesstif libg++ libwww mad
mikmod mmx motif mozilla mp3 mpeg ncurses nls nntp nptl nptlonly offensive ogg
oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba
scanner sdl slang speex spell sse ssl svga tcltk tcpd tetex theora threads tiff
truetype truetype-fonts type1-fonts usb vorbis win32codecs xine xml2 xmms xv
zlib video_cards_i915 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 3 Patrick Lauer gentoo-dev 2005-07-22 02:33:48 UTC
$ mozilla 
/usr/libexec/mozilla-launcher: can't find the browser :-(

uhm ... wow, didn't even realize that mozilla was broken since I'm using firefox
Comment 4 Wernfried Haas (RETIRED) gentoo-dev 2005-07-22 04:08:30 UTC
>>> /usr/share/pixmaps/mozilla-icon.png
--- /usr/include/
Updating mozilla-thunderbird chrome registry...
and it hangs right here.

ps auxwf tells me:
amne     12439  0.0  0.5   7860  2824 tty1     S    01:22   0:02 Eterm
amne     12444  0.0  0.2   3032  1420 pts/7    Ss   01:22   0:00  \_ -bash
root     12464  0.0  0.1   2524   936 pts/7    S    01:22   0:00      \_ su -
root     12475  0.0  0.2   3036  1472 pts/7    S    01:22   0:00          \_ -bash
root     26906  0.1  1.8  13320  9332 pts/7    SN+  12:15   0:04              \_
/usr/bin/python -O /usr/bin/emerge -uav mozilla
root     12673  0.1  0.5   4244  2556 pts/7    SN+  12:48   0:00               
  \_ /bin/bash /usr/lib/portage/bin/ebuild.sh postinst
root     12713  0.0  0.2   2680  1308 pts/7    SN+  12:48   0:00               
      \_ /bin/bash /usr/libexec/mozilla-launcher -register
root     12728  0.2  3.2  52800 16412 pts/7    SNl+ 12:48   0:00               
          \_ //usr/lib/mozilla/mozilla-bin -register

I closed mozilla to see if portage would continue, but it didn't.
Tried to start mozilla again:
# mozilla
No running windows found
(nothing happens)

# ps auxwf:
amne     25062  0.0  0.5   7596  2744 tty1     S    12:12   0:00 Eterm
amne     25071  0.0  0.3   3168  1584 pts/8    Ss   12:12   0:00  \_ -bash
amne     16744  0.0  0.2   2928  1292 pts/8    S+   12:59   0:00      \_
/bin/bash /usr/libexec/mozilla-launcher
amne     16762  0.2  2.4  42392 11960 pts/8    Sl+  12:59   0:00          \_
/usr/lib/mozilla/mozilla-bin

Killed PID 16762 (the one i had started) first, then 12728 (the one from portage
that was hanging)

/usr/libexec/mozilla-launcher: line 555: 12728 Terminated              $mozbin
-register
E: Registration process exited with status: 143
E: //usr/lib/mozilla/extensions/installed-extensions.txt still present
E: Registration might have gone wrong
>>> Regenerating /etc/ld.so.cache...
and the merge was continued.
Starting mozilla results in:

# mozilla
/usr/libexec/mozilla-launcher: can't find the browser :-(

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.75/gentoo-portage"
USE="x86 X aalib alsa apm atm avi berkdb bitmap-fonts cdparanoia cdr crypt cups
curl divx4linux dvd emacs emboss encode esd ethereal fam fbcon flac foomaticdb
fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww
mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl offensive ogg oggvorbis
opengl oss pam pdflib perl png ppds python qt quicktime readline real ruby samba
sdl slang spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts
vorbis xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

I'm running ARCH=x86, i've added these two lines to my
/etc/portage/package.keywords:
www-client/mozilla
www-client/mozilla-launcher

Comment 5 Wernfried Haas (RETIRED) gentoo-dev 2005-07-22 04:09:52 UTC
> I closed mozilla to see if portage would continue, but it didn't.

Regarding this i should point out that i had left open an instance of mozilla.
Comment 6 Clemens Noss 2005-07-22 06:19:21 UTC
There is no /usr/lib/mozilla/mozilla-bin. When the -register command is executed
in postinst, the old mozilla-bin is used, which hangs. After the old version has
been cleaned, there is no mozilla binary.
Comment 7 Clemens Noss 2005-07-22 06:29:08 UTC
In compilation, the mozilla-bin is built and then "nsinstall"ed into
../../dist/bin. In the src_install() function, a directory .../dist/mozilla is
moved, but I see in the logfile:

mv: cannot move /usr/PORTAGE_TMPDIR/portage/mozilla-1.7.10/work/mozilla/dist/mozi
lla' to /usr/PORTAGE_TMPDIR/portage/mozilla-1.7.10/image//usr/lib/mozilla': No su
ch file or directory
cp: cannot stat /usr/PORTAGE_TMPDIR/portage/mozilla-1.7.10/image//usr/lib/mozilla
/chrome/installed-chrome.txt': No such file or directory
Comment 8 Wernfried Haas (RETIRED) gentoo-dev 2005-07-22 06:47:13 UTC
(In reply to comment #5)
> > I closed mozilla to see if portage would continue, but it didn't.
> 
> Regarding this i should point out that i had left open an instance of mozilla.

I just tried emerge mozilla with all instances of mozilla/FF/thunderbird closed,
it also hangs.
Comment 9 Harris Landgarten 2005-07-22 10:52:27 UTC
In addition to the problems noted with Mozilla, Firefox has lost all of its
plugins ie mplayer, acroread.

Comment 10 Jory A. Pratt 2005-07-22 11:29:47 UTC
mozilla-1.7.10-r1 is in tree please test it ... also update to mozilla-launcher
this fixes the plugins. Let us know.
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2005-07-22 13:11:24 UTC
HI,

-r1 works for me. I'm writing this message with it :)

Poly
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2005-07-22 13:26:31 UTC
Hi again,

alright, I was a little bit too fast with my report...
mozilla-1.7.10-r1 finishes the merge process now but I don't have any of my
plugins working :-/
When I open the "about:plugins" page I only get shown the default-plugin. Java
is not working, the movie-plugins also... 
I'm running the whole system ~x86 and have the following useflags set for mozilla:

www-client/mozilla-1.7.10-r1  +crypt -debug -gnome -ipv6 +java -ldap
-mozcalendar -mozdevelop +moznocompose +moznoirc +moznomail -moznoxft +mozsvg
-mozxmlterm -postgres +ssl +truetype -xinerama +xprint

Poly
Comment 13 Wernfried Haas (RETIRED) gentoo-dev 2005-07-22 13:51:26 UTC
Created attachment 64086 [details]
my about:plugins

Here's my about:plugins
Comment 14 Wernfried Haas (RETIRED) gentoo-dev 2005-07-22 13:53:35 UTC
Oops, i had started writing a comment and then attached the plugins without
copying the text here. Anyway: merging -r1 worked for me as well and my
about:plugins isn't as empty as Lars' - i don't use any other plugins though.
Comment 15 Aron Griffis (RETIRED) gentoo-dev 2005-07-22 15:24:51 UTC
This stuff should be all fixed now with mozilla-1.7.10-r1 and mozilla-launcher-1.41

Thanks for reporting, guys
Comment 16 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2005-07-22 15:29:35 UTC
Hi,

yes, you're right Aron...
When I did the first emerge --sync today I got the new mozilla ebuild but not
mozilla-launcher-1.41, that's the reason why I had problems with the plugins. I
resynced, installed mozilla-launcher-1.41 and now my plugins are working again.
So sorry for the noise...

Poly
Comment 17 Patrick Lauer gentoo-dev 2005-07-23 03:20:30 UTC
Mozilla merges, then:
--- !empty dir /etc
Updating mozilla chrome registry...

(Gecko:2467): Gdk-WARNING **: gdk_property_get(): length value has wrapped in
calculation (did you pass G_MAXLONG?)

Mozilla autostarts (!!!!!). Upon closing the moz windows:
E: //usr/lib/mozilla/extensions/installed-extensions.txt still present
E: Registration might have gone wrong

This is really weird & broken ... :-(
Comment 18 Phil Richards 2005-07-23 03:21:56 UTC
I can confirm the same behaviour as Comment #17.
Comment 19 Ivan Yosifov 2005-07-23 04:44:31 UTC
I was updating to mozilla-1.7.10-r1 with an open firefox.
When the emerge got to the point of "Updating mozilla chrome registry..." a
mozilla window was opened ! I mean a moz suite browser window, not an ff one. 
I closed it and got:
E: //usr/lib/mozilla/extensions/installed-extensions.txt still present
E: Registration might have gone wrong

The emerge then completed, did not hang, but still this is not normal.
Comment 20 Aron Griffis (RETIRED) gentoo-dev 2005-07-23 12:40:17 UTC
(In reply to comment #17, #18, #19)

Thanks for reporting this, guys.  I understand what is happening and I'm testing
a fix now.  The problem will only happen for people updating from 1.7.10 (which
was very broken) to 1.7.10-r1.
Comment 21 Aron Griffis (RETIRED) gentoo-dev 2005-07-23 13:27:57 UTC
Ok, I think I can close this RESOLVED-FIXED again since mozilla-launcher-1.42 is
in the tree now.  It handles the registration problem gracefully by calling
mozilla-rebuild-databases.pl for mozilla instead of, um, obliterating stuff.

Btw, mozilla-launcher-1.42 is ~arch, but I don't think it needs to be stabled in
order to close this bug.  After all, the problem will only occur if you
installed mozilla-1.7.10, and that was only ever ~arch...