Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mozilla refuses to start: Problem with Truetype Fonts
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
Festy
n00b
n00b


Joined: 07 Jan 2003
Posts: 29
Location: Adelaide, South Australia

PostPosted: Tue Apr 08, 2003 11:14 pm    Post subject: Mozilla refuses to start: Problem with Truetype Fonts Reply with quote

I've emerge'd both 1.2.1 and 1.3 and get the same thing happening with mozilla - once installed I type 'mozilla' and press enter and it pauses for less than a second and puts me back at the prompt.

Code:
acid root # mozilla
acid root # mozilla -debug
acid root #


I put mozilla -debug in there to show that it isnt even giving me debug information. I've re-emerge'd mozilla acid root # mozilla
acid root # mozilla -debug
acid root #
four times now and its really starting to irritate me, becuase on all previous Gentoo installs it has just worked.

Does anyone have anyclues what might be causing this?

Thanks in advance :)

Sam.
_________________
sifnt v1.2.1


Last edited by Festy on Fri Apr 11, 2003 4:10 am; edited 1 time in total
Back to top
View user's profile Send private message
easykill
Apprentice
Apprentice


Joined: 07 Dec 2002
Posts: 230

PostPosted: Wed Apr 09, 2003 12:13 am    Post subject: Reply with quote

try running it as a regular user rather than as root.
I try to run as little as possible as root, and mozilla definitely does not need to be run as root. Very few X apps should ever be run as root, in my opinion. Try logging on as a regular user, starting up X, and then running mozilla.

Regardless of how I feel, it may solve your problem. Otherwise, you may need to look into your .Xauthority settings...
Back to top
View user's profile Send private message
crazy-bee
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 170

PostPosted: Wed Apr 09, 2003 6:13 pm    Post subject: Reply with quote

I had the same problem a while ago.

- Remove your .mozilla directory (backup it first)
- Remove /usr/lib/mozilla

In my case, e- and umerging mozilla left some "bad" stuff behind in /usr/lib/mozilla. Manually cleaning that directory and emerging again after helped me!

Another thing you can try is strace mozilla and see where it stops. In case you dont have strace, simply emerge strace.
Back to top
View user's profile Send private message
Festy
n00b
n00b


Joined: 07 Jan 2003
Posts: 29
Location: Adelaide, South Australia

PostPosted: Fri Apr 11, 2003 3:21 am    Post subject: Reply with quote

Ok, I ran strace mozilla, and it segfaults when it tries to load the truetype fonts I imported with the KDE Font Installer - What would cause that, becuase I've had truetype fonts working perfectly in Mozilla before? :(

EDIT - This is what strace returns:
Code:
open("/usr/X11R6/lib/X11/fonts/truetype//fonts.cache-1", O_RDONLY) = 17
stat64("/usr/X11R6/lib/X11/fonts/truetype/", {st_mode=S_IFDIR|0755, st_size=520, ...}) = 0
stat64("/usr/X11R6/lib/X11/fonts/truetype//fonts.cache-1", {st_mode=S_IFREG|0644, st_size=4766, ...}) = 0
close(17)                               = 0
stat64("/usr/X11R6/lib/X11/fonts/truetype/", {st_mode=S_IFDIR|0755, st_size=520, ...}) = 0
writev(5, [{"\22\0\6\0\25\0`\2#\1\0\0\27\1\0\0\10AME\0\0\0\0\22\0\6"..., 1056}, {"RENDER", 6}, {"\0\0", 2}], 3) = 1064
read(5, "\34\0\"\1\25\0`\2#\1\0\0j\355\337z\0\0\0\0\f\262\27@\350"..., 32) = 32
read(5, "\34\0#\1\25\0`\2\'\0\0\0j\355\337z\0\0\0\0j\355\337z\350"..., 32) = 32
read(5, "\34\0$\1\25\0`\2%\0\0\0j\355\337z\0\0\0\0j\355\337z\350"..., 32) = 32
read(5, "\34\0%\1\25\0`\2$\0\0\0j\355\337z\0\0\0\0j\355\337z\350"..., 32) = 32
read(5, "\34\0&\1\25\0`\2\26\1\0\0j\355\337z\0\0\0\0j\355\337z\350"..., 32) = 32
read(5, "\23\0A\0011\0`\0021\0`\2\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0"..., 32) = 32
read(5, "\22\0E\0011\0`\0021\0`\2\0\0\0\0\10\0\0\0\1\0\0\0\350\265"..., 32) = 32
read(5, "\1\0G\1\0\0\0\0\1\232\0\2551\304\f\10\0\0\0\0\0\0\0\0\1"..., 32) = 32
write(5, "\232\0\3\0\0\0\0\0\7\0\0\0\232\1\1\0", 16) = 16
read(5, "\1sH\1\0\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\37\0\0\0\344\261"..., 32) = 32
read(5, "\1\305I\1\240\0\0\0\20\0\0\0\1\0\0\0\7\0\0\0\20\0\0\0#"..., 32) = 32
read(5, "g\0\0\0\1\1,K\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0h"..., 640) = 640
--- SIGSEGV (Segmentation fault) ---
unlink("/root/.mozilla/default/4wx0qmib.slt/lock") = 0
_exit(11)                               = ?

_________________
sifnt v1.2.1
Back to top
View user's profile Send private message
blackwing
n00b
n00b


Joined: 02 Mar 2003
Posts: 15

PostPosted: Wed Apr 16, 2003 4:52 pm    Post subject: Reply with quote

got EXACTLY the same problem after my last emerge -u world.

some digging and stracing/debugging lead me to the point, that fontconfig 2.1-r1 is causing problems with mozilla, gdm and even k3b or nautilus.
gdm-greeter or mozilla are segfaulting, nautilus is just not starting.

downgrading BACK to the plain 2.1 release solved the issue.

so gentoo-portage admins, please mask 2.1-r1 since it cost me several days to fugure out what was causing this problem.
_________________
ftp.uni-erlangen.de crew
Close the Windows, my Penguin starts freezing!
Back to top
View user's profile Send private message
Festy
n00b
n00b


Joined: 07 Jan 2003
Posts: 29
Location: Adelaide, South Australia

PostPosted: Wed Apr 16, 2003 11:54 pm    Post subject: Reply with quote

I cant try it now, becuase I'm in windows (I need my good fonts and a decent browser...damnit ;)), but thanks! This means I might be able to go back to using Gentoo again :).
_________________
sifnt v1.2.1
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