Closed Bug 287206 Opened 20 years ago Closed 19 years ago

mozilla 1.7.6 SIGSEGV on startup

Categories

(SeaMonkey :: General, defect)

1.7 Branch
x86
Linux
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: cijoml, Unassigned)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.2 (like Gecko)
Build Identifier: 

[pid 21560] gettimeofday({1111498247, 580727}, NULL) = 0 
[pid 21560] gettimeofday({1111498247, 581442}, NULL) = 0 
[pid 21560] open("/usr/local/lib/mozilla-1.7.6/chrome/toolkit.jar", O_RDONLY|
O_LARGEFILE) = 22 
[pid 21560] lseek(22, 757764, SEEK_SET) = 757764 
[pid 21560] read(22, "PK\3\4\n\0\0\0\0\0\230z/0\303\31\177\4\252\341\0\0\252"..., 30) = 
30 
[pid 21560] lseek(22, 757846, SEEK_SET) = 757846 
[pid 21560] gettimeofday({1111498247, 585230}, NULL) = 0 
[pid 21560] read(22, "<?xml version=\"1.0\"?>\n\n<bindings"..., 4096) = 4096 
[pid 21560] read(22, "ompleteListener)(name);\n        "..., 4096) = 4096 
[pid 21560] read(22, "eAutocomplete\"\n                o"..., 4096) = 4096 
[pid 21560] read(22, "   <field name=\"currentSearchStr"..., 4096) = 4096 
[pid 21560] read(22, "ethod>\n\n      <!-- add a session"..., 4096) = 4096 
[pid 21560] read(22, "        for (var name in this.mS"..., 4096) = 4096 
[pid 21560] read(22, ")\n              failed = this.mL"..., 4096) = 4096 
[pid 21560] read(22, "           Components.interfaces"..., 4096) = 4096 
[pid 21560] read(22, "killEvent = this.mMenuOpen;\n    "..., 4096) = 4096 
[pid 21560] read(22, "typing, fill the textbox with th"..., 4096) = 4096 
[pid 21560] brk(0)                      = 0x85c8000 
[pid 21560] brk(0x85ea000)              = 0x85ea000 
[pid 21560] read(22, "     // so we have to clear the "..., 4096) = 4096 
[pid 21560] read(22, ": function(aTree)\n          {\n  "..., 4096) = 4096 
[pid 21560] read(22, "        document.getAnonymousEle"..., 4096) = 4096 
[pid 21560] read(22, "ow)\n            newIdx = aMaxRow"..., 4096) = 4096 
[pid 21560] read(22, "em(0) && textbox.getAttribute(\"o"..., 426) = 426 
[pid 21560] close(22)                   = 0 
[pid 21560] --- SIGSEGV (Segmentation fault) @ 0 (0) --- 
[pid 21560] unlink("/root/.mozilla/default/32v2an61.slt/lock") = 0 
[pid 21560] rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0 
[pid 21560] rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0 
[pid 21560] tgkill(21560, 21560, SIGSEGV) = 0 
[pid 21560] --- SIGSEGV (Segmentation fault) @ 0 (0) --- 
Process 21555 resumed 
Process 21560 detached 
[pid 21563] <... poll resumed> [{fd=6, events=POLLIN}], 1, -1) = -1 EINTR (Interrupted 
system call) 
[pid 21565] <... futex resumed> )       = -1 EINTR (Interrupted system call) 
[pid 21564] <... futex resumed> )       = -1 EINTR (Interrupted system call) 
[pid 21567] <... futex resumed> )       = -1 EINTR (Interrupted system call) 
[pid 21566] <... futex resumed> )       = -1 EINTR (Interrupted system call) 
[pid 21563] +++ killed by SIGSEGV +++ 
PANIC: handle_group_exit: 21563 leader 21560 
[pid 21565] +++ killed by SIGSEGV +++ 
PANIC: handle_group_exit: 21565 leader 21560 
[pid 21564] +++ killed by SIGSEGV +++ 
PANIC: handle_group_exit: 21564 leader 21560 
[pid 21567] +++ killed by SIGSEGV +++ 
PANIC: handle_group_exit: 21567 leader 21560 
[pid 21566] +++ killed by SIGSEGV +++ 
PANIC: handle_group_exit: 21566 leader 21560 
[pid 21555] <... waitpid resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0) 
= 21560 
[pid 21555] open("/usr/share/locale/locale.alias", O_RDONLY) = 3 
[pid 21555] fstat64(3, {st_mode=S_IFREG|0644, st_size=2539, ...}) = 0 
[pid 21555] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0xb7f65000 
[pid 21555] read(3, "# Locale name alias data base.\n#"..., 4096) = 2539 
[pid 21555] brk(0)                      = 0x811e000 
[pid 21555] brk(0x811f000)              = 0x811f000 
[pid 21555] brk(0)                      = 0x811f000 
[pid 21555] brk(0x8120000)              = 0x8120000 
[pid 21555] brk(0)                      = 0x8120000 
[pid 21555] brk(0x8121000)              = 0x8121000 
[pid 21555] read(3, "", 4096)           = 0 
[pid 21555] close(3)                    = 0 
[pid 21555] munmap(0xb7f65000, 4096)    = 0 
[pid 21555] open("/usr/share/locale/cs/LC_MESSAGES/libc.mo", O_RDONLY) = 3 
[pid 21555] fstat64(3, {st_mode=S_IFREG|0644, st_size=86276, ...}) = 0 
[pid 21555] mmap2(NULL, 86276, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f50000 
[pid 21555] close(3)                    = 0 
[pid 21555] write(2, "/usr/local/lib/mozilla-1.7.6/run"..., 
133/usr/local/lib/mozilla-1.7.6/run-mozilla.sh: line 451: 21560 Neoprávněný přístup do 
paměti (SIGSEGV)               "$prog" ${1+"$@"} 
) = 133 
[pid 21555] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21555] --- SIGCHLD (Child exited) @ 0 (0) --- 
[pid 21555] waitpid(-1, 0xbfffef94, WNOHANG) = 0 
[pid 21555] sigreturn()                 = ? (mask now []) 
[pid 21555] rt_sigaction(SIGINT, {SIG_DFL}, {0x8075fd0, [], 0}, 8) = 0 
[pid 21555] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21555] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21555] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21555] stat64("core", 0xbffff300)  = -1 ENOENT (No such file or directory) 
[pid 21555] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21555] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21555] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21555] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21555] read(255, "\nexit $exitcode\n", 8176) = 16 
[pid 21555] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21555] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21555] exit_group(139)             = ? 
Process 21551 resumed 
Process 21555 detached 
[pid 21551] <... waitpid resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 139}], 0) = 
21555 
[pid 21551] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21551] --- SIGCHLD (Child exited) @ 0 (0) --- 
[pid 21551] waitpid(-1, 0xbffff4c4, WNOHANG) = -1 ECHILD (No child processes) 
[pid 21551] sigreturn()                 = ? (mask now []) 
[pid 21551] rt_sigaction(SIGINT, {SIG_DFL}, {0x8075fd0, [], 0}, 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] read(255, "exitcode=$?\n\n## Stop addon scrip"..., 4217) = 91 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] open("/root/.mozilla/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = -1 ENOENT (No such file or directory) 
[pid 21551] open("/usr/local/lib/mozilla-1.7.6/init.d/", O_RDONLY|O_NONBLOCK|
O_LARGEFILE|O_DIRECTORY) = 3 
[pid 21551] fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 
[pid 21551] fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 
[pid 21551] getdents64(3, /* 4 entries */, 4096) = 144 
[pid 21551] getdents64(3, /* 0 entries */, 4096) = 0 
[pid 21551] close(3)                    = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] stat64("/root/.mozilla/init.d/K*", 0xbffff3c0) = -1 ENOENT (No such file or 
directory) 
[pid 21551] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] stat64("/usr/local/lib/mozilla-1.7.6/init.d/K*", 0xbffff3c0) = -1 ENOENT (No such 
file or directory) 
[pid 21551] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 
[pid 21551] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 
[pid 21551] exit_group(139)             = ? 
Process 21560 detached 
 

Reproducible: Always

Steps to Reproduce:
1. compile 1.7.6  
2. try it start :(( 
3. 
 
Actual Results:  
SIGSEGVes 

Expected Results:  
should at least start? :) 

gcc 3.4.3, linux-vanilla-2.6.11.2, Debian Testing 
  
./configure --with-x --disable-gtktest --enable-calendar --enable-xft --enable-crypto  
--enable-xinerama --disable-tests --disable-debug "-enable-optimize=-march=pentium4  
-mfpmath=sse -fomit-frame-pointer -O3" --disable-logging --enable-reorder --enable-strip  
--enable-timeline --enable-xterm-updates --disable-pedantic
Summary: mozilla SIGSEGV on startup → mozilla 1.7.6 SIGSEGV on startup
Version: unspecified → 1.7 Branch
can you retry without "--enable-strip" and "--enable-optimize=-O"
and grab a stacktrace with gdb?  The strace output is pretty useless for a crash.
Keywords: crash
yes with enable-debug too? And can you mark this bug as new?
> yes with enable-debug too? And can you mark this bug as new?

enable-debug would help as well, but is not required to get a stacktrace.  The
build will take up a lot more disk space.

marking the bug as NEW means I claim the bug is real and is ready for a
developer to fix.  I don't know that the bug is real and a developer would have
no idea how to fix it.
Hmm I tried compile it with only -enable-optimize=-march=pentium4 -mfpmath=sse
-O2 and mozilla starts well. So is it problem in g++?? 
Not necessarily.  You'll need to identify which of your previous options (-O3 or
-fomit-frame-pointer) caused the crash.  Hopefully, the stacktrace will show
what file and line number is failing, but maybe not.  If not, you'll need to
recompile each file with/without the optimization until you identify the problem
file.  Once we identify the bad part, we can determine whether it's a gcc bug or
a Mozilla one.

-fomit-frame-pointer used to be a known cause of problems.  I'm not sure if it's
still problematic or not.

I'll give this a try with FC3 (which also uses gcc 3.4.x), but I might not be
able to reproduce.

You might also try current trunk.  It's unlikely your problem would get fixed on
the 1.7 branch unless it was trivial or broken recently.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.