Closed
Bug 238368
Opened 21 years ago
Closed 21 years ago
crash when starting up Mozilla/Firefox (compiler bug) [@__static_initialization_and_destruction_0]
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: artiip, Unassigned)
References
Details
(Keywords: crash)
Crash Data
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040219
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040219
(gdb) run
[New Thread 16384 (LWP 13509)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13509)]
0x40cd0fac in __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at nsEventListenerManager.cpp:178
/mnt/4/cvs2/mozilla/content/events/src/nsEventListenerManager.cpp:178:6811:beg:0x40cd0fac
(gdb) bt
#0 0x40cd0fac in __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at nsEventListenerManager.cpp:178
#1 0x40cd12db in _GLOBAL__I_gSystemEventGroup () at nsEventListenerManager.cpp:162
#2 0x40f260a5 in __do_global_ctors_aux () from
/mnt/4/cvs2/mozilla/dist/bin/components/libgklayout.so
#3 0x40aee355 in _init () from
/mnt/4/cvs2/mozilla/dist/bin/components/libgklayout.so
#4 0x4000c0de in _dl_catch_error () from /lib/ld-linux.so.2
#5 0x4000c1ca in _dl_init () from /lib/ld-linux.so.2
#6 0x40573e52 in getutmpx () from /lib/libc.so.6
#7 0x080fb7e4 in ?? ()
#8 0x00000001 in ?? ()
(gdb) list nsEventListenerManager.cpp:162
Line 162 of "nsEventListenerManager.cpp" starts at address 0x40cd12c0
<_GLOBAL__I_gSystemEventGroup> and ends at 0x40cd12df
<_GLOBAL__I_gSystemEventGroup+31>.
/mnt/4/cvs2/mozilla/content/events/src/nsEventListenerManager.cpp:162:5918:beg:0x40cd12c0
build system: debian unstable
options: --enable-svg --enable-optimize="-g -O2 -march=i686"
Reproducible: Always
Steps to Reproduce:
| Reporter | ||
Comment 1•21 years ago
|
||
(In reply to comment #0)
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040219
> Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040219
this is not true
This is cvs version from 20040323 and 20040322
sorry for spam ;-)
PS I recompiled layout and content/events with -O1 and the same problem.
Summary: crash on startup [selfcomplie] → crash on startup [selfcomplied]
Comment 2•21 years ago
|
||
Maybe you can compile without the --enable-optimize="-g -O2 -march=i686" so you
get a real debug build? This stacktrace looks somewhat weird...
Did you delete compreg.dat before starting? Have you tried repulling, clobbering
and rebuilding? Often helps.
forgot: You write "Reproducible: Always"
Does that mean that all builds you've tried to make of Mozilla crash somehow?
Or did they use to work but now they suddenly fail?
(Oh.. and WFM)
| Reporter | ||
Comment 5•21 years ago
|
||
(In reply to comment #2)
> Maybe you can compile without the --enable-optimize="-g -O2 -march=i686" so you
> get a real debug build? This stacktrace looks somewhat weird...
yes it's weird even without the --enable-optimize="-g -O2 -march=i686"
#0 0x4054ec15 in nanosleep () from /lib/libc.so.6
#1 0x4054ea7f in sleep () from /lib/libc.so.6
#2 0x0806c8f0 in ah_crap_handler(int) (signum=11) at nsSigHandlers.cpp:135
#3 0x40127815 in __pthread_sighandler () from /lib/libpthread.so.0
#4 <signal handler called>
#5 __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at nsEventListenerManager.cpp:178
#6 0x414bf096 in _GLOBAL__I_gSystemEventGroup ()
at nsEventListenerManager.cpp:43
#7 0x417f3155 in __do_global_ctors_aux ()
from /mnt/4/cvs2/mozilla/dist/bin/components/libgklayout.so
#8 0x411e8b75 in _init ()
from /mnt/4/cvs2/mozilla/dist/bin/components/libgklayout.so
#9 0x4000c0de in _dl_catch_error () from /lib/ld-linux.so.2
#10 0x4000c1ca in _dl_init () from /lib/ld-linux.so.2
#11 0x405ade52 in getutmpx () from /lib/libc.so.6
#12 0x0811a404 in ?? ()
#13 0x00000001 in ?? ()
but hey its compiler problem IMHO
from debian changelog for gcc
gcc-3.3 (1:3.3.3ds6-4) unstable; urgency=low
* Update to gcc-3_3-branch CVS 20040320.
- Revert patch for PR14640 (with this, at least mozilla-firefox was
miscompiled on x86 (closes: #238621).
*rebuilding again ;-(* but i dont have time to do this today
(In reply to other comments)
I can't find compreg.dat file but rename ~/.mozilla to something else and not help
I use cvstrim -a to make "clean" cvs tree (i cant repull all tree because my net
problems)
Yes All my last builds crash on startup and i can't check NBuilt from mozilla.org
Comment 6•21 years ago
|
||
Yes it is a compiler bug, anyway leaving this Bug open for now if someone has
the same problem. Link to Debian Bug is
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=238621
Summary: crash on startup [selfcomplied] → crash when starting up Mozilla/Firefox (compiler bug) [@__static_initialization_and_destruction_0]
| Reporter | ||
Comment 7•21 years ago
|
||
Yes It's compiler bug and fixed by gcc-3.3 (1:3.3.3ds6-4) on debian/unstable
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Comment 8•21 years ago
|
||
*** Bug 238902 has been marked as a duplicate of this bug. ***
*** Bug 240385 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Product: Browser → Seamonkey
Updated•14 years ago
|
Crash Signature: [@__static_initialization_and_destruction_0]
You need to log in
before you can comment on or make changes to this bug.
Description
•