firefox開啟不了,用終端機開,出現"Segmentation fault" - Linux

By Margaret
at 2008-08-16T13:25
at 2008-08-16T13:25
Table of Contents
我firefox版本是3.0.1
作業系統:ubuntu 8.04
我昨天安裝了擴充套件後
今天firefox開啟不了,
用終端機開,
$ firefox
Segmentation fault
我想進入安全模式
$ firefox -safe-mode
Segmentation fault
我去strace
kevin@kevin:~$ strace firefox -safe-mode
---------------------------------------------------
execve("/usr/local/bin/firefox", ["firefox", "-safe-mode"], [/* 38 vars */])
= 0
brk(0) = 0x805e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f96000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=72924, ...}) = 0
mmap2(NULL, 72924, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f84000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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\260e\1"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1364388, ...}) = 0
mmap2(NULL, 1369712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e35000
mmap2(0xb7f7e000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149) = 0xb7f7e000
mmap2(0xb7f81000, 9840, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f81000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e34000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e346b0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
mprotect(0xb7f7e000, 4096, PROT_READ) = 0
munmap(0xb7f84000, 72924) = 0
getpid() = 6878
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 1000
brk(0) = 0x805e000
brk(0x807f000) = 0x807f000
getppid() = 6877
stat64("/home/kevin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/local/bin/firefox", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x8055a30, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n# ***** BEGIN LICENS"..., 8192) = 3951
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6879
close(4) = 0
read(3, "/usr/local/bin\n", 128) = 15
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6879
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6880
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6880
stat64("/usr/local/bin/run-mozilla.sh", 0xbf8f1238) = -1 ENOENT (No such file
or directory)
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6881
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "/home/kevin\n", 128) = 12
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6881
lstat64("/usr/local/bin/firefox", {st_mode=S_IFLNK|0777, st_size=36, ...}) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6882
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6882
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6883
close(4) = 0
read(3, "/usr/local/bin\n", 128) = 15
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6883
chdir("/usr/local/bin") = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6884
close(4) = 0
read(3, "/usr/local/lib/firefox-3.0.1/fir"..., 128) = 37
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6884
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6887
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6887
stat64("/usr/local/lib/firefox-3.0.1/firefox", {st_mode=S_IFREG|0755,
st_size=3951, ...}) = 0
geteuid32() = 1000
getgid32() = 1000
getegid32() = 1000
getgroups32(0, NULL) = 13
getgroups32(13, [4, 20, 24, 25, 29, 30, 44, 46, 107, 109, 115, 124, 1000]) =
13
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6888
close(4) = 0
read(3, "/usr/local/lib/firefox-3.0.1\n", 128) = 29
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6888
stat64("/usr/local/lib/firefox-3.0.1/run-mozilla.sh", {st_mode=S_IFREG|0755,
st_size=11410, ...}) = 0
geteuid32() = 1000
getgid32() = 1000
getegid32() = 1000
getgroups32(0, NULL) = 13
getgroups32(13, [4, 20, 24, 25, 29, 30, 44, 46, 107, 109, 115, 124, 1000]) =
13
chdir("/usr/local/lib/firefox-3.0.1") = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6889
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "/usr/local/lib/firefox-3.0.1\n", 128) = 29
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6889
chdir("/home/kevin") = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6890
close(4) = 0
read(3, "1\n", 128) = 2
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6890
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6891
wait4(-1, Segmentation fault
[{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0, NULL) = 6891
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(139) = ?
Process 6878 detached
--------------------------------------------------
請問,我該怎麼解決呢?
--
作業系統:ubuntu 8.04
我昨天安裝了擴充套件後
今天firefox開啟不了,
用終端機開,
$ firefox
Segmentation fault
我想進入安全模式
$ firefox -safe-mode
Segmentation fault
我去strace
kevin@kevin:~$ strace firefox -safe-mode
---------------------------------------------------
execve("/usr/local/bin/firefox", ["firefox", "-safe-mode"], [/* 38 vars */])
= 0
brk(0) = 0x805e000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f96000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=72924, ...}) = 0
mmap2(NULL, 72924, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f84000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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\260e\1"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1364388, ...}) = 0
mmap2(NULL, 1369712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e35000
mmap2(0xb7f7e000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149) = 0xb7f7e000
mmap2(0xb7f81000, 9840, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f81000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e34000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e346b0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
mprotect(0xb7f7e000, 4096, PROT_READ) = 0
munmap(0xb7f84000, 72924) = 0
getpid() = 6878
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 1000
brk(0) = 0x805e000
brk(0x807f000) = 0x807f000
getppid() = 6877
stat64("/home/kevin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/local/bin/firefox", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x8055a30, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n# ***** BEGIN LICENS"..., 8192) = 3951
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6879
close(4) = 0
read(3, "/usr/local/bin\n", 128) = 15
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6879
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6880
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6880
stat64("/usr/local/bin/run-mozilla.sh", 0xbf8f1238) = -1 ENOENT (No such file
or directory)
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6881
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "/home/kevin\n", 128) = 12
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6881
lstat64("/usr/local/bin/firefox", {st_mode=S_IFLNK|0777, st_size=36, ...}) = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6882
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6882
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6883
close(4) = 0
read(3, "/usr/local/bin\n", 128) = 15
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6883
chdir("/usr/local/bin") = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6884
close(4) = 0
read(3, "/usr/local/lib/firefox-3.0.1/fir"..., 128) = 37
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6884
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6887
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6887
stat64("/usr/local/lib/firefox-3.0.1/firefox", {st_mode=S_IFREG|0755,
st_size=3951, ...}) = 0
geteuid32() = 1000
getgid32() = 1000
getegid32() = 1000
getgroups32(0, NULL) = 13
getgroups32(13, [4, 20, 24, 25, 29, 30, 44, 46, 107, 109, 115, 124, 1000]) =
13
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6888
close(4) = 0
read(3, "/usr/local/lib/firefox-3.0.1\n", 128) = 29
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6888
stat64("/usr/local/lib/firefox-3.0.1/run-mozilla.sh", {st_mode=S_IFREG|0755,
st_size=11410, ...}) = 0
geteuid32() = 1000
getgid32() = 1000
getegid32() = 1000
getgroups32(0, NULL) = 13
getgroups32(13, [4, 20, 24, 25, 29, 30, 44, 46, 107, 109, 115, 124, 1000]) =
13
chdir("/usr/local/lib/firefox-3.0.1") = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6889
--- SIGCHLD (Child exited) @ 0 (0) ---
close(4) = 0
read(3, "/usr/local/lib/firefox-3.0.1\n", 128) = 29
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6889
chdir("/home/kevin") = 0
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6890
close(4) = 0
read(3, "1\n", 128) = 2
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 6890
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e346f8) = 6891
wait4(-1, Segmentation fault
[{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0, NULL) = 6891
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(139) = ?
Process 6878 detached
--------------------------------------------------
請問,我該怎麼解決呢?
--
Tags:
Linux
All Comments

By Edwina
at 2008-08-21T05:52
at 2008-08-21T05:52

By Daniel
at 2008-08-21T10:26
at 2008-08-21T10:26
Related Posts
fedora9繁體

By Oliver
at 2008-08-16T10:52
at 2008-08-16T10:52
fedora8 上使用webcam

By Gilbert
at 2008-08-16T10:18
at 2008-08-16T10:18
請問 mplayer 怎樣調字幕 delay

By Charlie
at 2008-08-16T09:33
at 2008-08-16T09:33
請問如何偵測使用者登入在本機?

By Emily
at 2008-08-16T07:12
at 2008-08-16T07:12
工人舍SA安裝Ubuntu問題

By Kristin
at 2008-08-16T01:48
at 2008-08-16T01:48