Closed Bug 329087 Opened 18 years ago Closed 18 years ago

Upon loading any URL, firefox crashes with 'Bus error'

Categories

(Firefox :: General, defect)

Sun
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 161826

People

(Reporter: admar, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux sparc64; en-US; rv:1.7.12) Gecko/20060205 Epiphany/1.8.3 (Debian)
Build Identifier: Mozilla/5.0 (X11; U; Linux sparc64; en-US; rv:1.7.12) Gecko/20060205 Epiphany/1.8.3 (Debian)

I'm running Debian Unstable on my Sun Blade 100. Yesterday, I apt-get upgraded firefox to 1.5.dfsg+1.5.0.1-3. Several libraries came along with it, including libxul0d 1.8.0.1-5 and xulrunner 1.8.0.1-5. Now, both firefox and galeon are broken. Trying to open any page in either firefox or galeon results immediately in a crash.

A friend of mine suggested that perhaps libxul0d or xulrunner was the problem, but didn't know a solution. However, I don't know where the cause of the problem is, so I will still file this bug to firefox.

Reproducible: Always

Steps to Reproduce:
1. start 'firefox http://www.google.com' or 'firefox http://www.google.nl'
2.
3.

Actual Results:  
firefox crashed


Oddly enough, sites like google.com (which redirects me to google.nl), Apache's default placeholder page and a simple plain local html file (with file://test.html for example) don't work. However, http://www.firefox.com and http://banaan.luon.net do work. Those are the only two sites I've found to work so far.
Have you submitted any talkback crash data? If so, what are the TalkbackIDs?
I didn't submit talkback information, since no talkback window came up, and I don't know how to use talkback in Debian. I've also filed a bug report in the Debian bts on the crash issue (bug #354956).

I will CC this e-mail to the bug id in Debian; hopefully the firefox maintainer will read this and give more information (on using talkback in Debian or on this crash)
reporter: talkback only applies to mozilla.org builds
steve: talkback isn't available for linux sparc64

reporter: ask your debian system to rebuild --enable-debug --disable-optimize --disable-strip

./run-mozilla.sh -g -d gdb ./firefox-bin
run
where
info locals
info threads
list

paste or attach output here.

note that we explicitly do not support debian builds, so i'd appreciate it if you got an official mozilla.org sourceball (1.8 or cvs-head, i don't care) and built with it using make -f client.mk and a mozconfig containing the -- bits from above.
Okay, this is getting odd... I did a CVS checkout this morning, but the compile fails after 10 minutes with:

/home/admar/src/firefox/mozilla/xpcom/threads/plevent.c:1729: warning: redeclaration of 'PL_UnregisterEventIDFunc' with different visibility (old visibility preserved)
/home/admar/src/firefox/mozilla/xpcom/threads/plevent.h:619: warning: previous declaration of 'PL_UnregisterEventIDFunc' was here
gcc: Internal error: Bus error (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

This is on a Sun Blade 100 (Ultra Sparc IIe, 500 MHz) with 640 MB RAM. 
gcc --version reports '4.0.3 20060212 (prerelease) (Debian 4.0.2-9)' (Debian package gcc 4:4.0.2-2) and as reports '2.16.91 20060118 Debian GNU/Linux' (Debian package binutils 2.16.1cvs20060117-1). 

Unfortunately, I don't have any other sparc machine to test this on.
wow.

normally one would ask the mozilla build process to:
make plevent.i

and then try:
gcc plevent.i

to see if that too crashes. assuming it does, one can try to whittle plevent.i down until it's a reasonably small file at which point one follows the reporting process mentioned by the compiler.

did you use a fresh objdir? because you don't want to recycle the previous one you had...
Sorry for the long delay. Compiler issues on my machine and general programming-ignorance prevented me from investigating this further. However, Jurij Smakov created a debian package with a fix at 
http://www.wooyd.org/debian/firefox/ (see also http://lists.debian.org/debian-sparc/2006/05/msg00051.html)

If his patch (or a similar one) is already included, then I guess this bug can be closed now.

Regards,

Admar
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Admar, please reopen as the patch is not already included. Hopefully Jurij will followup soon (there were 2 success reports from other people than him yet).
Sorry. Checking related bugs in Debian's BTS made me realize #161826 seems to be the original report for this issue. Please keep this report closed, possibly changing the resolution to DUPLICATE. Jurij Smakov already commented on #161826.

*** This bug has been marked as a duplicate of 161826 ***
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.