Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19034 - Mozilla 1.3-r1 built with GTK2 does not start up
Summary: Mozilla 1.3-r1 built with GTK2 does not start up
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 07:35 UTC by Antonio D'souza
Modified: 2003-04-10 16:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio D'souza 2003-04-09 07:35:01 UTC
I ran it through strace & this is what happened just before it seemed to go into
a spinlock:

poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}, {fd=8,
events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10,
events=POLLIN|POLLPRI}], 5, 0) = 0
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}, {fd=8,
events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10,
events=POLLIN|POLLPRI}], 5, 0) = 0
ioctl(5, 0x541b, [0])                   = 0
poll([{fd=5, events=POLLIN, revents=POLLIN}, {fd=7, events=POLLIN|POLLPRI},
{fd=8, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10,
events=POLLIN|POLLPRI}, {fd=3, events=POLLIN}], 6, -1) = 1
ioctl(5, 0x541b, [64])                  = 0
read(5, "\34\362\222\1`\0\200\1\347\0\0\0\331\306\1\0\0\0\0\0\331"..., 64) = 64
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}, {fd=8,
events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10,
events=POLLIN|POLLPRI}], 5, 0) = 0
ioctl(5, 0x541b, [0])                   = 0

The spinlock gives me output like this:

poll([{fd=5, events=POLLIN, revents=POLLIN}, {fd=7, events=POLLIN|POLLPRI},
{fd=8, events=POLLIN|POLLPRI}, {fd=9, events=POLLIN|POLLPRI}, {fd=10,
events=POLLIN|POLLPRI}, {fd=3, events=POLLIN}], 6, -1) = 1
ioctl(5, 0x541b, [32])                  = 0
read(5, "n\2\226\1\366u\4\0\1\4\4\0\0\0\0\0\0\0\0\4\4\4\4\4\0\0"..., 32) = 32
ioctl(5, 0x541b, [0])                   = 0

Reproducible: Always
Steps to Reproduce:
0. emerge rsync
1. export USE="gtk2" ;emerge mozilla
2. mozilla
3. Wait

Actual Results:  
I waited & nothing happened, although top showed that mozilla-bin had been
allocated the usual amount of memory. 

Expected Results:  
Mozilla should have started up & displayed a window.
Comment 1 Spider (RETIRED) gentoo-dev 2003-04-10 14:01:13 UTC
hmm, just a note that this work on my system, flags ;
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CXXFLAGS="-march=athlon-tbird -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"

gtk2, no mail, no news, no chat, no term, no composer.
Comment 2 Antonio D'souza 2003-04-10 14:09:40 UTC
I built Mozilla with the default settings, which gave me all the things you left out, except term. However, I need MailNews & Composer for email & web dev, although I don't care for the IRC client. 
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-10 15:24:25 UTC
 
 # rm /usr/lib/mozilla/components/compreg.dat

And try again ?
Comment 4 Antonio D'souza 2003-04-10 15:54:04 UTC
Yeah, it works now :-)
What was that file & why doesn't this happen automatically for me?
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-10 16:27:32 UTC
You should not need to remove it, but it seems it is invalid sometimes, or the
permissions is borked.  I fixed the ebuild to try and take care of this,
reopen if it happens again ...