Closed Bug 233858 Opened 21 years ago Closed 21 years ago

officiall firefox 0.8 chrashes with "Illegal instruction" error message at startup on debian woody AMD K6-II 500MHz

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 233815

People

(Reporter: oxai, Assigned: bugzilla)

Details

(Keywords: crash)

User-Agent:       
Build Identifier: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.8/firefox-0.8-i686-pc-linux-gnu.tar.gz


The bug appears in the official firefox 0.8 release DL-ed from 

http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.8/firefox-0.8-i686-pc-linux-gnu.tar.gz

md5sum checks out.

The problem is: Browser imediately exits with the following message:
---
user@host~/firefox$ ./firefox
/home/core/firefox/run-mozilla.sh: line 72:  1848 Illegal instruction    
"$prog" ${1+"$@"}
---
System: debian woody. CPU: AMD K6-II 500MHz

The number (1848) in front of "Illegal instruction" changes every time the
program is run. i.e. consecutive runs give 7173 7185 7205 7217 7233.

might be a duplicate of bugs:
http://bugzilla.mozilla.org/show_bug.cgi?id=210360
http://bugzilla.mozilla.org/show_bug.cgi?id=211138


Reproducible: Always
Steps to Reproduce:
1. cd /tmp; wget
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/0.8/firefox-0.8-i686-pc-linux-gnu.tar.gz
2. cd; tar xzvf /tmp/firefox-0.8-i686-pc-linux-gnu.tar.gz
3. cd firefox; ./firefox

Actual Results:  
firefox immediately exits with the following message:
'line 72:  1848 Illegal instruction     "$prog" ${1+"$@"}'


Expected Results:  
the browser should have fired up i suppose :-)
I'm sorry, I probably should have done this earlyer. Hope this helps some..
I't seems my CPU doesn't know about the cmove instruction. What now?
Do I upgrade or do you recompile? I suppose I'll be shopping soon.. :-)

(gdb) run
Starting program: /home/user/firefox/firefox-bin 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...[New Thread 1024 (LWP 18532)]
<...cut...>
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 1024 (LWP 18532)]
0x4013baa3 in operator new(unsigned) () from /home/user/firefox/libxpcom.so
(gdb) bt
#0  0x4013baa3 in operator new(unsigned) () from /home/user/firefox/libxpcom.so
#1  0xbffff7d4 in ?? ()
#2  0x4013bb31 in operator new[](unsigned) () from /home/user/firefox/libxpcom.so
#3  0x08bc075c in RgnRectMemoryAllocator::RgnRectMemoryAllocator(unsigned) ()
#4  0x08bc32ce in nsRegion::MoveBy(int, int) ()
#5  0x08bc331d in nsRegion::MoveBy(int, int) ()
#6  0x08be5ae5 in operator new(unsigned, std::nothrow_t const&) ()
#7  0x084b59c2 in _init ()
#8  0x405e3121 in __libc_start_main () from /lib/libc.so.6
(gdb) disassemble
Dump of assembler code for function _Znwj:
<...cut...>
0x4013baa1 <_Znwj+17>:	test   %ebx,%ebx
0x4013baa3 <_Znwj+19>:	cmove  %eax,%ebx
0x4013baa6 <_Znwj+22>:	mov    %ebx,(%esp,1)
<...cut...>
End of assembler dump.
(gdb) 
Keywords: crash
> user@host~/firefox$ ./firefox
> /home/core/firefox/run-mozilla.sh: line 72:  1848 Illegal instruction    
> "$prog" ${1+"$@"}

I'm getting the same error but in line 451.
Running on FC1 on a K6 500Mhz 
bryner:
Is it possible that this is another side-effect of using --enable-optimize="-Os"
?

*** This bug has been marked as a duplicate of 233815 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.