Mozilla crash on startup

VERIFIED INVALID

Status

SeaMonkey
General
--
critical
VERIFIED INVALID
13 years ago
12 years ago

People

(Reporter: Pierre, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Opera/7.23 (X11; Linux i686; U)  [en]
Build Identifier: Mozilla 1.7.11

$ mozilla
./run-mozilla.sh: line 451: 17863 Segmentation fault      "$prog" ${1+"$@"}


Reproducible: Always

Steps to Reproduce:




$strace mozilla
execve("/usr/local/bin/mozilla", ["mozilla"], [/* 61 vars */]) = 0
uname({sys="Linux", node="pierre", ...}) = 0
brk(0)                                  = 0x8105000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40015000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/i686", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=131072, ...}) = 0
open("/usr/local/qt/lib/i686/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/qt/lib/i686/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/qt/lib/i686", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/qt/lib/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/qt/lib", {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0
open("/usr/local/kde/lib/i686/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/kde/lib/i686/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/kde/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/kde/lib/i686", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/kde/lib/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/kde/lib/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/kde/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/kde/lib", {st_mode=S_IFDIR|0755, st_size=24576, ...}) = 0
open("/usr/local/pwlib/lib/i686/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/pwlib/lib/i686/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/pwlib/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/pwlib/lib/i686", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/pwlib/lib/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/pwlib/lib/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/pwlib/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/pwlib/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/local/openh323/lib/i686/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/openh323/lib/i686/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/openh323/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/openh323/lib/i686", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/openh323/lib/mmx/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/openh323/lib/mmx", 0xbfffe79c) = -1 ENOENT (No such file or directory)
open("/usr/local/openh323/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/openh323/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=169913, ...}) = 0
mmap2(NULL, 169913, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libpthread.so.0", 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\340B\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=463289, ...}) = 0
mmap2(NULL, 85368, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40040000
mprotect(0x4004e000, 28024, PROT_NONE)  = 0
mmap2(0x4004e000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe) = 
0x4004e000
close(3)                                = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/kde/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/pwlib/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/openh323/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
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\20\31\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=12253, ...}) = 0
mmap2(NULL, 11508, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40055000
mprotect(0x40057000, 3316, PROT_NONE)   = 0
mmap2(0x40057000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 
0x40057000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/qt/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/kde/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/pwlib/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/openh323/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
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\320\201"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1501824, ...}) = 0
mmap2(NULL, 1285472, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40058000
mprotect(0x40188000, 40288, PROT_NONE)  = 0
mmap2(0x40188000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12f) = 
0x40188000
mmap2(0x4018e000, 15712, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4018e000
close(3)                                = 0
munmap(0x40016000, 169913)              = 0
getrlimit(0x3, 0xbffff34c)              = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0
getpid()                                = 17912
uname({sys="Linux", node="pierre", ...}) = 0
rt_sigaction(SIGRTMIN, {0x40048628, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x400486bc, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x400487c8, [], 0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff154, 33, (nil), 0}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0x8105000
brk(0x8106000)                          = 0x8106000
brk(0x8107000)                          = 0x8107000
getuid32()                              = 1000
getgid32()                              = 100
geteuid32()                             = 1000
getegid32()                             = 100
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
time(NULL)                              = 1125762624
brk(0x8108000)                          = 0x8108000
brk(0x8109000)                          = 0x8109000
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=569, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
read(3, "/dev/hda1 / ext3 rw 0 0\n/dev/hda"..., 4096) = 569
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
read(3, "MemTotal:       514080 kB\nMemFre"..., 1024) = 598
close(3)                                = 0
munmap(0x40016000, 4096)                = 0
brk(0x810a000)                          = 0x810a000
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="pierre", ...}) = 0
brk(0x810b000)                          = 0x810b000
brk(0x810c000)                          = 0x810c000
stat64("/home/pierre", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
getpid()                                = 17912
getppid()                               = 17911
brk(0x810d000)                          = 0x810d000
getpgrp()                               = 17911
rt_sigaction(SIGCHLD, {0x40049078, [], 0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/usr/local/bin/mozilla", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE, 0xbffff2d0) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/sh\ncd /usr/local/mozilla\n"..., 80) = 42
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(0x7, 0xbffff338)              = 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=42, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
brk(0x810e000)                          = 0x810e000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "#!/bin/sh\ncd /usr/local/mozilla\n"..., 42) = 42
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/local/mozilla", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
chdir("/usr/local/mozilla")             = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
brk(0x810f000)                          = 0x810f000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork()                                  = 17913
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, {0x40049078, [], 0x4000000}, {SIG_DFL}, 8) = 0
wait4(-1, ./run-mozilla.sh: line 451: 17920 Segmentation fault      "$prog" ${1+"$@"}
[WIFEXITED(s) && WEXITSTATUS(s) == 139], 0, NULL) = 17913
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, 0xbfffeeb8, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x40049078, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "", 42)                       = 0
_exit(139)                              = ?

Comment 1

13 years ago
Could you maybe get a more useful stacktrace from the crash? Maybe try talkback?
http://kb.mozillazine.org/Talkback

Comment 2

13 years ago
Pierre, this strace output isn't very useful. The "mozilla" program that you
traced is just a shell script, which runs another shell script called
run-mozilla.sh, which in turn runs mozilla-bin. The shell script itself
crashing, so the reason for the crash isn't in the trace. Mozilla-bin is
probably the process that's crashing, and that's what we would need the trace of.

Mozilla builds distributed from mozilla.org contain a talkback module that can
extract and upload a stack trace when mozilla crashes. Failing that, you can run
"mozilla" with the "-g" option; this causes mozilla-bin to be run under a
debugger. When it crashes, you can use the debugger to get a stack trace. You
could also run "strace -f mozilla", but this can produce megabytes of output.

I'm going to go ahead and close this. If you can collect a stack trace, please
feel free to open a new bug report.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
(Reporter)

Updated

12 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.