Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mozilla will not run (mozilla-1.0-r1)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SirronD
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2002
Posts: 100
Location: Oakland, CA

PostPosted: Fri Jun 07, 2002 6:35 pm    Post subject: Mozilla will not run (mozilla-1.0-r1) Reply with quote

I have to use my work computer to enter this (and its W2K and IE) This is a real problem!

Mozilla will not start. I just emerged mozilla-1.0-r1 (and waited hours for the compile) and now it won't start.

When I try to start using a term (Eterm or gnome-terminal) I see a big list as follows:
Code:

...
font /usr/share/fonts/truetype/babelfish.ttf    98 glyphs
font /usr/share/fonts/truetype/fontrstc.ttf    96 glyphs
font /usr/share/fonts/truetype/pti_____.ttf  248 glyphs
...

This continues for some time. Then nothing. No error messages. No mozilla. I just get the return prompt.

I tried deleteing my ~/.mozilla directory, but I still get the same problem.

Any suggestions on a course of action are greatly appreciated.
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Sun Jun 09, 2002 12:28 am    Post subject: Reply with quote

Try mozilla-1.0-r2, that one works fine here
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 3:23 pm    Post subject: Reply with quote

Zu` wrote:
Try mozilla-1.0-r2, that one works fine here


I have the exact same thing with r2 :-(
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Jun 10, 2002 3:29 pm    Post subject: Reply with quote

did you un-emerge mozilla first ?

try:
emerge -C mozilla

then emerge mozilla

maybe delete that pti____.ttf file too ? or whatever it seems to get stuck on.

gl!
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 3:37 pm    Post subject: Reply with quote

What's the first part of the message? try "mozilla 2>&1 | less" to be able to page the output.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 3:50 pm    Post subject: Reply with quote

The install I did was on a clean system. XFree 4.2.0-r12

mozilla 2>&1 | less produces no readable output,

it's a page full of:
"
"
"

etc
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 3:52 pm    Post subject: Reply with quote

Then try mozilla > ~/mozilla.log 2>&1, and run less on it :)
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 4:00 pm    Post subject: Reply with quote

delta407 wrote:
Then try mozilla > ~/mozilla.log 2>&1, and run less on it :)


empty file.... 0 bytes... help ?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 4:03 pm    Post subject: Reply with quote

That's weird... if that command doesn't give you any output, then mozilla isn't saying anything to the console.

What happens when you just type "mozilla"?
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 4:11 pm    Post subject: Reply with quote

NOTHING: :( I do get an strace:
(sorry about the lenghtm I don't know what to make of it)
It must have something to do with font selection.


rob root # mozilla
rob root # mozilla
rob root # mozilla
rob root #
rob root # strace mozilla
execve("/usr/bin/mozilla", ["mozilla"], [/* 36 vars */]) = 0
brk(0) = 0x80e9d90
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44143, ...}) = 0
old_mmap(NULL, 44143, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\31\0"..., 1024) = 102
4
fstat64(3, {st_mode=S_IFREG|0755, st_size=8788, ...}) = 0
old_mmap(NULL, 11460, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40023000, 3268, PROT_NONE) = 0
old_mmap(0x40023000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x100
0) = 0x40023000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\205"..., 1024) = 10
24
fstat64(3, {st_mode=S_IFREG|0755, st_size=1191072, ...}) = 0
old_mmap(NULL, 1191584, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
mprotect(0x4013d000, 40608, PROT_NONE) = 0
old_mmap(0x4013d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11
8000) = 0x4013d000
old_mmap(0x40143000, 16032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
YMOUS, -1, 0) = 0x40143000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40147000
munmap(0x40016000, 44143) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3) = 0
brk(0) = 0x80e9d90
brk(0x80e9db8) = 0x80e9db8
brk(0x80ea000) = 0x80ea000
getuid32() = 0
getgid32() = 0
geteuid32() = 0
getegid32() = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
time(NULL) = 1023725198
open("/etc/mtab", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=235, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40016000
read(3, "/dev/hdb1 / reiserfs rw,notail 0"..., 4096) = 235
close(3) = 0
munmap(0x40016000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40016000
read(3, " total: used: free:"..., 4096) = 522
close(3) = 0
munmap(0x40016000, 4096) = 0
brk(0x80eb000) = 0x80eb000
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="rob.gentoo.com", ...}) = 0
brk(0x80ec000) = 0x80ec000
stat64("/root", {st_mode=S_IFDIR|0700, st_size=1000, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=1000, ...}) = 0
getpid() = 7824
getppid() = 7823
brk(0x80ed000) = 0x80ed000
getpgrp() = 7823
rt_sigaction(SIGCHLD, {0x80723a0, [], 0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/usr/bin/mozilla", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbffff880) = -1 ENOTTY (Inappropriate ioctl for d
evice)
_llseek(3, 0, [0], SEEK_CUR) = 0
read(3, "#!/bin/sh\n\nexport MOZILLA_FIVE_H"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET) = 0
getrlimit(0x7, 0xbffff8e8) = 0
dup2(3, 255) = 255
close(3) = 0
fcntl64(255, F_SETFD, FD_CLOEXEC) = 0
fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=134, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "#!/bin/sh\n\nexport MOZILLA_FIVE_H"..., 134) = 134
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/usr/lib/mozilla/mozilla", {st_mode=S_IFREG|0755, st_size=2943, ...}) =
0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
brk(0x80ee000) = 0x80ee000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork() = 7825
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGINT, {0x8071460, [], 0x4000000}, {SIG_DFL}, 8) = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 11], 0, NULL) = 7825
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, 0xbffff48c, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8071460, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
read(255, "", 134) = 0
_exit(11) = ?
rob root #
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 4:14 pm    Post subject: Reply with quote

What happens when you run /usr/lib/mozilla/mozilla-bin directly?
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jun 10, 2002 4:41 pm    Post subject: Reply with quote

OK: start again from scratch: GCC2.95; fresh XFree 4.2-r12; Mozilla 1.0-r2. Installation went fine.
The entire message:
rob root # mozilla
font /usr/X11R6/lib/X11/fonts/truetype/courbd.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/couri.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/times.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/timesbd.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/timesbi.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/timesi.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/LICENSE FreeType failed to open, error=
2
font /usr/X11R6/lib/X11/fonts/truetype/fonts.dir FreeType failed to open, erro
r=2
font /usr/X11R6/lib/X11/fonts/truetype/XftConfig FreeType failed to open, erro
r=85
font /usr/X11R6/lib/X11/fonts/truetype/ariblk.ttf 670 glyphs (10 invalid)
font /usr/X11R6/lib/X11/fonts/truetype/comic.ttf 249 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/comicbd.ttf 249 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/georgia.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/georgiab.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/georgiai.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/georgiaz.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/impact.ttf 658 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/truetype/monotype.ttf 653 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/trebuc.ttf 309 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/trebucbd.ttf 309 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/trebucbi.ttf 309 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/trebucit.ttf 309 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/verdana.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/verdanab.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/verdanai.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/verdanaz.ttf 242 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/webdings.ttf uses custom encoder
font /usr/X11R6/lib/X11/fonts/truetype/fonts.scale FreeType failed to open, er ror=2
font /usr/X11R6/lib/X11/fonts/truetype/arial.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/arialbd.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/arialbi.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/ariali.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/cour.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/truetype/courbi.ttf 219 glyphs
font /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf 378 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luximbi.ttf 377 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf 378 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luximri.ttf 377 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxirb.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxirbi.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxirri.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxisbi.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxisr.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf 374 glyphs (1 invalid)
font /usr/X11R6/lib/X11/fonts/TTF/fonts.scale FreeType failed to open, error=2
font /usr/X11R6/lib/X11/fonts/TTF/fonts.dir FreeType failed to open, error=2

Afterwards Mozilla does not start at all: no error messages (as already stated above)

What's wrong :? I feel there's something wrong with this Mozilla ebuild; possibly in combination with Xfree 4.2-r12.
Please help !
Back to top
View user's profile Send private message
SirronD
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2002
Posts: 100
Location: Oakland, CA

PostPosted: Tue Jun 11, 2002 7:06 pm    Post subject: Problem seems to be the fonts Reply with quote

This is with mozilla 1.0-r2.
I started with a working mozilla.

I added a new directory "/usr/share/fonts/truetype"
I copied all my windows .ttf files into this directory.
I did ttmkfdir -o fonts.dir in this directory
I changed my /etc/X11/fs/config and added the new directory.
I rebooted. And the system (gdm/gnome) came up perfectly.

But mozilla would not work. I recieved the same "scanning...glyphs..." messages that are listed above.

I changed my /etc/X11/fs/config and removed the reference to my new truetype directory and rebooted.

mozilla still would not work. It seems mozilla was still looking at my /usr/share/fonts/truetype directory even though /etc/X11/fs/config did not.

I removed the new directory. And mozilla WORKS.

So I conclude that there is/are some font(s) in my new "truetype" directory that mozilla can't handle. But there are no messages pointing me to what font's are useable or unusable. And adding each font and restarting mozilla 1 at a time is not an option with a large number of fonts.

I'll keep trying (as I need/want those windows .ttf fonts) and I would like to have a working browser at the same time.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Jun 12, 2002 10:07 am    Post subject: Reply with quote

Cool, thanks SirronD

that's a useful step.
However, probably since my Mozilla never worked, I cannot re-set some parameters, because after removing the TTF anf truetype diectories as you suggested, Mozilla still fails.

Removing Mozilla and re-installation did not do the trick (but it does keep you off the streets....)

Is it possible to reset the Mozilla configuration back into the state it was in just after installation ?
I want it to re-read its font config, and try again.
Back to top
View user's profile Send private message
SirronD
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2002
Posts: 100
Location: Oakland, CA

PostPosted: Wed Jun 12, 2002 4:12 pm    Post subject: It seems to be a problem with some ttf fonts Reply with quote

On my second attempt (with mozilla 1.0 r2) I started with only the TTF fonts from gentoo (becuase I had to rebuild my gentoo system from scratch - another issue), and mozilla worked. Only when I tried to add new TTF fonts (from my windows system) did mozilla die. That is why I suspect it is an issue with these new fonts and mozilla.

When I first started this post I had a system that already included the windows ttf fonts when I emerged the r1 build of mozilla 1.0. Mozilla would not work. At that time, I did not know it could be my "extra" ttf fonts that were causing the problem.

If you can identify the "non-gentoo supplied" (for lack of a better term) TTF fonts, and remove them, I suspect that mozilla will start to work.

Also, if you unmerge mozilla, and install the binary build from mozilla.org, it will work with the extra fonts (but apparently without AA).

I did add a bugzilla report to mozilla.org about this issue (but I don't know if they will do anything as it may be some compile configuration issue with the gentoo ebuild script)
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Jun 12, 2002 7:04 pm    Post subject: Reply with quote

It's a gentoo bug......

i just compiled Mozilla from source "by hand", and it works like a charm.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 12, 2002 7:08 pm    Post subject: Reply with quote

AlterEgo wrote:
It's a gentoo bug......

i just compiled Mozilla from source "by hand", and it works like a charm.


Be sure to emerge --inject mozilla so that other programs know it is installed.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Jun 12, 2002 8:03 pm    Post subject: Reply with quote

delta407 wrote:
AlterEgo wrote:
It's a gentoo bug......

i just compiled Mozilla from source "by hand", and it works like a charm.


Be sure to emerge --inject mozilla so that other programs know it is installed.


Thanks for the tip, Delta
I did think about that 8)
However, would this mean that "my Mozilla" could get overwritten after a while by an emerge --update world? That's something I'd really like to avoid.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum