LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-09-2006, 04:19 PM   #1
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
Segmentation fault -- permission problem?


I am having a very strange problem. I first noticed the problem when using Firefox, what happens is that I visit some websites (such as www.digg.com) and Firefox immediently crashes.
I can visit digg with other browsers such as opera and they do not crash. However I think this is a linux problem becuase other browsers like opera and konqueror do crash sometimes when visiting web pages just not as frequently. So I launched Firefox from the comamnd line, firefox opens ok and google (my homepage) loads fine. So I then visit digg.com and firefox loads part of the page then immediently crashes. This is the exact error I got from the console:

Quote:
bash-3.00$ firefox
I/O error : Permission denied
/usr/lib/firefox-1.5.0.1/run-mozilla.sh: line 131: 2957 Segmentation fault "$prog" ${1+"$@"}
bash-3.00$
Now I think this maybe a permission problem becuase when I login as root launch firefox, and visit digg.com the page loads fine. e.g.

Quote:
bash-3.00$ su
Password:
bash-3.00# firefox
No segmentation faults, everything works. Here is what I get when I launch firefox with strace (as a user):
(shortened, really long so I shortened it a little)

Quote:
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8079b60, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 3095
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbf849f98, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8079b60, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/usr/lib/firefox-1.5.0.1/firefox", {st_mode=S_IFREG|0755, st_size=5502, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df0708) = 3098
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 3098
waitpid(-1, 0xbf84a0d8, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807ac10, [], 0}, {0x807ac10, [], 0}, 8) = 0
close(4) = 0
read(3, "/usr/lib/firefox-1.5.0.1\n", 128) = 25
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8079b60, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x8079b60, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/usr/lib/firefox-1.5.0.1/run-mozilla.sh", {st_mode=S_IFREG|0755, st_size=10492, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/usr", {st_mode=S_IFDIR|0755, st_size=544, ...}) = 0
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=75576, ...}) = 0
stat64("/usr/lib/firefox-1.5.0.1", {st_mode=S_IFDIR|0755, st_size=1200, ...}) = 0
chdir("/usr/lib/firefox-1.5.0.1") = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df0708) = 3099
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 3099
waitpid(-1, 0xbf849f58, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
waitpid(-1, 0xbf849f58, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807ac10, [], 0}, {0x807ac10, [], 0}, 8) = 0
close(4) = 0
read(3, "/usr/lib/firefox-1.5.0.1\n", 128) = 25
read(3, "", 128) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8079b60, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x8079b60, [], 0}, 8) = 0
stat64("/home", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0
stat64("/home/scott", {st_mode=S_IFDIR|0700, st_size=6200, ...}) = 0
chdir("/home/scott") = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "if [ $found = 0 ]; then\n # Chec"..., 5502) = 1206
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/usr/lib/firefox-1.5.0.1/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/home/scott/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/usr/lib/firefox-1.5.0.1/init.d/S*", 0xbf84a600) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/home/scott/.mozilla/firefox/init.d/S*", 0xbf84a600) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
brk(0x8123000) = 0x8123000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -91, [5411], SEEK_CUR) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df0708) = 3100
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8079b60, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, I/O error : Permission denied
/usr/lib/firefox-1.5.0.1/run-mozilla.sh: line 131: 3105 Segmentation fault "$prog" ${1+"$@"}
[{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0) = 3100
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbf84a718, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8079b60, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
read(255, "exitcode=$?\n\n## Stop addon scrip"..., 5502) = 91
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/home/scott/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/lib/firefox-1.5.0.1/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/home/scott/.mozilla/firefox/init.d/K*", 0xbf84a600) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/usr/lib/firefox-1.5.0.1/init.d/K*", 0xbf84a600) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/usr/lib/firefox-1.5.0.1/init.d/K*", 0xbf84a600) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(139) = ?
bash-3.00$
I am really thinking this is somehow some kind of a permission problem on a system font somehow. I got this idea from this link I found here:

http://www.linuxforums.org/forum/deb...t-problem.html

That individual seems to have the same kind of problem i'm having. Here's the permissions of my libXft.so files for what it's worth:

Quote:
bash-3.00$ ls -l /usr/X11R6/lib/libXft.so*
lrwxrwxrwx 1 root root 15 2006-03-01 18:54 /usr/X11R6/lib/libXft.so -> libXft.so.2.1.2
lrwxrwxrwx 1 root root 13 2006-03-01 18:54 /usr/X11R6/lib/libXft.so.1 -> libXft.so.1.1
-rwxr-xr-x 1 root root 62001 2005-09-25 20:37 /usr/X11R6/lib/libXft.so.1.1
lrwxrwxrwx 1 root root 15 2006-03-01 18:54 /usr/X11R6/lib/libXft.so.2 -> libXft.so.2.1.2
-rwxr-xr-x 1 root root 83759 2005-09-25 20:37 /usr/X11R6/lib/libXft.so.2.1.2
bash-3.00$
I noticed that the owner of those files is root, is that normal? (I know I could change it with chown..) This segmentation fault error seems to be a problem in Linux
and I have googled for answers but all the things I find seem to never be resolved. Tried this google search but can't seem to find anything that resolves my issue:

http://www.google.com/linux?hl=en&lr...nt&btnG=Search

Any help on this would be greatly appreciated, this error is starting to really bug me.

Oh yes, I am using the slackware package of firefox 1.5.0.1

Last edited by dx0r515t; 04-09-2006 at 04:24 PM.
 
Old 04-09-2006, 04:51 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
I hate to say that I cannot help much myself (I have this EXACT same problem) but there may bee SOME amount of resolution if you reinstall GTK2. Not sure if that will help you, it didn't help me. I was also advised to chmod your ~/.mozilla folder, but that had RWX for all users. The issue doesn't seem to resolve if you change versions of the package either. I installed 1.0.5,1.0.7,1.5.0.1, and 2.0A. Not a one was able to run as a regular user
 
Old 04-09-2006, 05:15 PM   #3
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Yeah this seems to be a unresolved problem (or so it seems), I have searched for hours for a solution, but to no avail. I'll try to re-install gtk and see if that helps.

Anyone know of a solution to this problem? It'd be nice to get a solution to this problem here so others with this same problem can benefit as well.

My ~/.mozilla has rwx for all users as well...

Just got a segmentation fault with firefox as root... there goes my permissions problem idea.

I am running slackware 10.2 if it matters.
 
Old 04-09-2006, 06:26 PM   #4
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
When you say you get this on "digg," do you mean the front page? Are you navigating through a dugg link? Are you browsing spy?
 
Old 04-09-2006, 06:35 PM   #5
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by tcv
When you say you get this on "digg," do you mean the front page? Are you navigating through a dugg link? Are you browsing spy?
Yes I mean on the front page, or any page on digg for that matter. But this doesn't only happen on digg, it happens on other sites as well just always on digg (for whatever the reason). I was just using digg as an example, this happens randomly on all sites.
 
Old 04-09-2006, 09:07 PM   #6
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
Well, please know that I am an extreme noobie and I am not a programmer, so I am not going to be much help, but perhaps we can think this through a bit more.

First of all, what is a Segmentation Fault? Define it.

Wikipedia says, "a segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed."

We know that Firefox (base, anyway) is not so buggy that this would occur normally. So, unless you've modified Firefox in some way, either the source code or through extensions, it's not Firefox that's inappropriately grabbing a memory location, but rather something else that has itself in a memory address that causes a segfault when Firefox needs to access a memory area.

Perhaps you were thinking that the "Access Denied" that precedes the error meant a "permissions" problem, but, in this case, Access Denied could mean access is denied to the area of memory Firefox wants.

What would it take for you to find out what memory address Firefox wanted and, in turn, what is IN that memory address?

Maybe whatever is in the memory address Firefox wants is your culprit?
 
Old 04-09-2006, 09:38 PM   #7
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
I have also seen that you may be able to edit a file (Im sorry I don't recall which one - it's --of course-- in /etc/ but I can't recall beyond that and I can't seem to find the article again) and remove a string "wins". The file didn't contain that for me either, however. (From what I understand the crash occurs when Firefox accesses the "wins" service, and editing the unnamed file somehow fixes this)
 
Old 04-09-2006, 10:10 PM   #8
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
Ah, you're referring to this?

It actually brings up a very important point, dx0r515t. Can you remember what you've changed in the system recently?

Last edited by tcv; 04-09-2006 at 10:20 PM.
 
Old 04-10-2006, 10:03 AM   #9
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Well tcv I followed the link you gave me and ran gdb as instructed. Here is the output:

Quote:
bash-3.00$ cd /usr/lib/firefox-1.5.0.1
bash-3.00$ ./run-mozilla.sh -g firefox-bin -d gdb
MOZILLA_FIVE_HOME=.
LD_LIBRARY_PATH=.:./plugins:.
DISPLAY=:0.0
DYLD_LIBRARY_PATH=.:.
LIBRARY_PATH=.:./components:.
SHLIB_PATH=.:.
LIBPATH=.:.
ADDON_PATH=.
MOZ_PROGRAM=firefox-bin
MOZ_TOOLKIT=
moz_debug=1
moz_debugger=
which: no ddd in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.)
/usr/bin/gdb firefox-bin -x /tmp/mozargs.Thqvzh
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb)
I noticed it says no "ddd" in my path, could this be related? I'm not seeing any segmentation faults in there however, or any references of _nss_wins_gethostbyname_r (). Since I'm not seeing this request, should I still delete wins from /etc/nsswitch.conf?

As for what I've changed in my system, not much lately. A few months ago I installed the latest nvidia driver. I have installed a few updated slackware security related packages from slackware's official ftp site. Here's the packages I have installed from that ftp site (installed with installpkg):

1.) curl-7.12.2-i486-2.tgz
2.) elm-2.5.8-i486-1.tgz
3.) fetchmail-6.3.2-i486-1.tgz
4.) gnupg-1.4.2.2-i486-1.tgz
5.) kdegraphics-3.4.2-i486-2.tgz
6.) kdelibs-3.4.2-i486-2.tgz
7.) openssh-4.3p1-i486-1.tgz
8.) php-4.4.2-i486-3.tgz
9.) sendmail-8.13.6-i486-1.tgz
10.) sudo-1.6.8p12-i486-1.tgz
11.) wget-1.10.2-i486-1.tgz
12.) x11-6.8.2-i486-4.tgz
13.) x11-xdmx-6.8.2-i486-4.tgz
14.) x11-xnest-6.8.2-i486-4.tgz
15.) x11-xvfb-6.8.2-i486-4.tgz
16.) xine-lib-1.0.3a-i686-1.tgz
17.) mozilla-firefox-1.5.0.1-i686-1.tgz

Those are the only slackware packages I have installed other than the default ones. All these packages were designed for slackware 10.2. I have had all that stuff installed though for at least a few weeks without having this issue. Now that I think of it before the segmentation errors started to occur, my firefox profile corrupted. So I had to delete my corrupted profile, and create a new one. Then I started to get those segmentation faults, but I get them with other applications as well such as opera, konqueror, gftp and wget.

Thanks for the help everyone.
 
Old 04-10-2006, 01:30 PM   #10
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
I seem to have solved my problem.

Mine was in response to the (extremely) abrupt removal of a pacman package called ttf-ms-fonts. I then reinstalled them and I have had no more problems so far. Im not sure if that helps anyone else though...

Thank you guys, for all of your searching.


(and yes - that link was what I was referring too)
 
Old 04-10-2006, 01:51 PM   #11
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Ok, i've decided to try and edit my /etc/nsswitch.conf file but I don't have any "wins" entry to remove

Quote:
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#

# passwd: files nis
# shadow: files nis
# group: files nis

passwd: compat
group: compat

hosts: files dns
networks: files

services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
bootparams: files

automount: files
aliases: files
xpromisex, thanks for sharing how you fixed your problem. I searched my hard drive for ttf-ms-fonts with slocate and it didn't find anything, I must not have it installed.
 
Old 04-10-2006, 09:03 PM   #12
tcv
Member
 
Registered: Apr 2003
Location: Billerica, MA
Posts: 114

Rep: Reputation: 15
dx0r515t,

So, you've never had the ttf-ms-fonts package? Why don't you try to install it?

When you say your profile become corrupt, what did you do to resolve that? What exactly did you do? (I suppose it doesn't really matter since, as you say, more than one browser is crashing.)

If you were to save the HTML digg.com homepage and try to render that in Firefox, Opera, Konquerer, does it crash?

I imagine the problem is in one of the style sheets.

One thing I might try to do to see if it yields anything interesting is do an strace as root and then do it again as a user. You can run a diff against the two output files to see what's different. Maybe you'll see something serious?

As for the "wins" entry, don't worry about it. That person had a problem related to an update he performed on Samba. You've obviously not done that and since you don't have the entry any way, I'd not make any changes.
 
Old 08-23-2006, 05:40 PM   #13
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i thought about comparing strace diff's but nothing is popping out at me:

diff firefox-schneidz firefox-root
Code:
1c1
< execve("/usr/local/firefox/firefox", ["/usr/local/firefox/firefox"], [/* 38 vars */]) = 0
---
> execve("/usr/local/firefox/firefox", ["/usr/local/firefox/firefox"], [/* 30 vars */]) = 0
6c6
< stat64("/usr/X11R6/lib/tls/i686/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/tls/i686/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
8c8
< stat64("/usr/X11R6/lib/tls/i686", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/tls/i686", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
10c10
< stat64("/usr/X11R6/lib/tls/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/tls/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
12c12
< stat64("/usr/X11R6/lib/tls", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/tls", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
14c14
< stat64("/usr/X11R6/lib/i686/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/i686/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
16c16
< stat64("/usr/X11R6/lib/i686", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/i686", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
18c18
< stat64("/usr/X11R6/lib/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
22c22
< stat64("/usr/X11R6/lib/modules/tls/i686/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/tls/i686/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
24c24
< stat64("/usr/X11R6/lib/modules/tls/i686", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/tls/i686", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
26c26
< stat64("/usr/X11R6/lib/modules/tls/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/tls/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
28c28
< stat64("/usr/X11R6/lib/modules/tls", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/tls", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
30c30
< stat64("/usr/X11R6/lib/modules/i686/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/i686/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
32c32
< stat64("/usr/X11R6/lib/modules/i686", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/i686", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
34c34
< stat64("/usr/X11R6/lib/modules/mmx", 0xbfffed20) = -1 ENOENT (No such file or directory)
---
> stat64("/usr/X11R6/lib/modules/mmx", 0xbfffe3c0) = -1 ENOENT (No such file or directory)
82,85c82,85
< getuid32()                              = 500
< getgid32()                              = 500
< geteuid32()                             = 500
< getegid32()                             = 500
---
> getuid32()                              = 0
> getgid32()                              = 0
> geteuid32()                             = 0
> getegid32()                             = 0
87c87
< time(NULL)                              = 1156287647
---
> time(NULL)                              = 1156288017
115,117c115,118
< stat64("/home/schneidz", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
< stat64(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
< getpid()                                = 6698
---
> stat64("/root", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
> stat64(".", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
> getpid()                                = 6732
> getppid()                               = 6730
120,121c121
< getppid()                               = 6696
< getpgrp()                               = 6696
---
> getpgrp()                               = 6730
124,125d123
< brk(0)                                  = 0x80ec000
< brk(0x80ed000)                          = 0x80ed000
127c125
< ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbffff490) = -1 ENOTTY (Inappropriate ioctl for device)
---
> ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbfffeb30) = -1 ENOTTY (Inappropriate ioctl for device)
131c129
< getrlimit(0x7, 0xbffff4f8)              = 0
---
> getrlimit(0x7, 0xbfffeb98)              = 0
138c136,138
< brk(0)                                  = 0x80ed000
---
> brk(0)                                  = 0x80ec000
> brk(0x80ee000)                          = 0x80ee000
> brk(0)                                  = 0x80ee000
140,141d139
< brk(0)                                  = 0x80ef000
< brk(0x80f0000)                          = 0x80f0000
198a197,198
> brk(0)                                  = 0x80ef000
> brk(0x80f0000)                          = 0x80f0000
211,212d210
< brk(0)                                  = 0x80f2000
< brk(0x80f3000)                          = 0x80f3000
217,218c215,216
< brk(0)                                  = 0x80f3000
< brk(0x80f4000)                          = 0x80f4000
---
> brk(0)                                  = 0x80f2000
> brk(0x80f3000)                          = 0x80f3000
222c220
< clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11, <ignored>, <ignored>, 0x4003c0c8) = 6699
---
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11, <ignored>, <ignored>, 0x4003c0c8) = 6733
224,226d221
< rt_sigaction(SIGCHLD, {0x8076d40, [], SA_RESTORER, 0x420277b8}, {0x8076d40, [], SA_RESTORER, 0x420277b8}, 8) = 0
< close(4)                                = 0
< read(3, 0xbffff240, 128)                = ? ERESTARTSYS (To be restarted)
228,229c223,224
< wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 6699
< wait4(-1, 0xbfffeee4, WNOHANG, NULL)    = -1 ECHILD (No child processes)
---
> wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 6733
> wait4(-1, 0xbfffe524, WNOHANG, NULL)    = -1 ECHILD (No child processes)
230a226,227
> rt_sigaction(SIGCHLD, {0x8076d40, [], SA_RESTORER, 0x420277b8}, {0x8076d40, [], SA_RESTORER, 0x420277b8}, 8) = 0
> close(4)                                = 0
243c240
< clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11, <ignored>, <ignored>, 0x4003c0c8) = 6700
---
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11, <ignored>, <ignored>, 0x4003c0c8) = 6734
246,247c243,244
< wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 6700
< wait4(-1, 0xbfffee84, WNOHANG, NULL)    = -1 ECHILD (No child processes)
---
> wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 6734
> wait4(-1, 0xbfffe524, WNOHANG, NULL)    = -1 ECHILD (No child processes)
264a262,263
> brk(0)                                  = 0x80f3000
> brk(0x80f4000)                          = 0x80f4000
286,289d284
< brk(0)                                  = 0x80f4000
< brk(0x80f5000)                          = 0x80f5000
< brk(0)                                  = 0x80f5000
< brk(0x80f6000)                          = 0x80f6000
291c286
< open("/home/schneidz/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
---
> open("/root/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
296c291
< access("/home/schneidz/.mozilla/firefox/init.d/S*", X_OK) = -1 ENOENT (No such file or directory)
---
> access("/root/.mozilla/firefox/init.d/S*", X_OK) = -1 ENOENT (No such file or directory)
302a298,299
> brk(0)                                  = 0x80f4000
> brk(0x80f5000)                          = 0x80f5000
305c302
< clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11, <ignored>, <ignored>, 0x4003c0c8) = 6701
---
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x11, <ignored>, <ignored>, 0x4003c0c8) = 6735
314,316c311,312
< wait4(-1, /usr/local/firefox/run-mozilla.sh: line 428:  6706 Segmentation fault      "$prog" ${1+"$@"}
< exit code = 139
< [WIFEXITED(s) && WEXITSTATUS(s) == 139], 0, NULL) = 6701
---
> wait4(-1, exit code = 0
> [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 6735
319c315
< wait4(-1, 0xbffff134, WNOHANG, NULL)    = -1 ECHILD (No child processes)
---
> wait4(-1, 0xbfffe7d4, WNOHANG, NULL)    = -1 ECHILD (No child processes)
328c324
< open("/home/schneidz/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
---
> open("/root/.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
331c327
< access("/home/schneidz/.mozilla/firefox/init.d/K*", X_OK) = -1 ENOENT (No such file or directory)
---
> access("/root/.mozilla/firefox/init.d/K*", X_OK) = -1 ENOENT (No such file or directory)
343c339
< exit_group(139)                         = ?
---
> exit_group(0)                           = ?
let me know what you think
 
Old 08-24-2006, 02:55 PM   #14
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i installed from source from here:
http://developer.mozilla.org/en/docs...la_Source_Code

it installs the unstable nightly called deer park.
approx 2 hour build.

thanks,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
problem in installing yahoo messenger segmentation fault lucky13luxs Linux - Software 2 10-15-2005 03:55 AM
problem with segmentation fault lucs Slackware 2 04-28-2005 09:14 AM
Bad: Problem(s)->segmentation fault encountered when using wxNotebook HeidiTay Linux - Software 0 03-18-2004 08:48 PM
Segmentation Fault Problem luvonmik Linux - Newbie 2 02-14-2004 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration