Bug 463137

Summary: Firefox will crash and system log out when visiting this website
Product: Red Hat Enterprise Linux 4 Reporter: Yolkfull Chow <yzhou>
Component: xorg-x11Assignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aalam, desktop-bugs, gecko-bugs-nobody, lihuang, llim, ndai, tpelka, xgl-maint, zcerza
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 20:26:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 475937    
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log none

Description Yolkfull Chow 2008-09-22 07:41:46 UTC
Description of problem:
Firefox will crash and system will log out when visiting this website:
http://ubuntuguide.org/wiki/Ubuntu:Feisty_ru .

I had tried screen resolution 800*600, 1024*768, and 1152*864, both failed.


Version-Release number of selected component (if applicable):
firefox-3.0.2-3.el4

How reproducible:
Everytime

Steps to Reproduce:
1. set screen resolution to 1024*768 ( or 1152*864)
2. visit this website: http://ubuntuguide.org/wiki/Ubuntu:Feisty_ru
3.
  
Actual results:
firefox crash and system log out

Expected results:
should work

Additional info:
I test this on my laptop, firefox-3.0.1-1.fc10.i386 worked fine.

Comment 1 Yolkfull Chow 2008-09-22 09:46:33 UTC
I also tested 3.0.0beta5 and 3.0.1-1, also crash and logout system.

Comment 2 Matěj Cepl 2008-09-22 13:55:14 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

First of all, could we get output of the command

	rpm -qa *xulrun* *firefox* *mozilla* *flash* *plugin*

Please also install firefox-debuginfo (debuginfo-install is from
yum-utils package).

	debuginfo-install firefox

Then run firefox with a parameter -g. That will start firefox running inside of gdb debugger. Then use command run and do whatever you did to make firefox crash. When it happens, you should go back to the gdb and run

	(gdb) thread apply all backtrace

This produces usually many screens of the text. Copy all of them into a text editor and attach the file to the bug as an uncompressed attachment.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 3 Yolkfull Chow 2008-09-23 10:14:28 UTC
(In reply to comment #2)
> Thanks for the bug report.  We have reviewed the information you have provided
> above, and there is some additional information we require that will be helpful
> in our diagnosis of this issue.
> 
> First of all, could we get output of the command
> 
>  rpm -qa *xulrun* *firefox* *mozilla* *flash* *plugin*
> 
> Please also install firefox-debuginfo (debuginfo-install is from
> yum-utils package).
> 
>  debuginfo-install firefox
> 
> Then run firefox with a parameter -g. That will start firefox running inside of
> gdb debugger. Then use command run and do whatever you did to make firefox
> crash. When it happens, you should go back to the gdb and run
> 
>  (gdb) thread apply all backtrace
> 
> This produces usually many screens of the text. Copy all of them into a text
> editor and attach the file to the bug as an uncompressed attachment.
> 
> We will review this issue again once you've had a chance to attach this
> information.
> 
> Thanks in advance.

Hi Matej,Since firefox will not only crash and it will logout the X system, how could i get the backtrace?

Comment 4 Matěj Cepl 2008-09-23 12:43:45 UTC
so, when you are trying that running of firefox in gdb (you can redirect its stdout and stderr to the logfile for an additional security) there are no messages anywhere? I mean, when you try

gdb /usr/bin/firefox 2>&1 |tee firefox-log.txt

(and then you do what described above), the file firefox-log.txt is empty?

Comment 5 Yolkfull Chow 2008-09-24 02:13:52 UTC
The log is not empty but it will still cannot catch the backtrace.Following is the content of log:

------------------------
GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) r
Starting program: /usr/lib/firefox-3.0.2/firefox-bin 
[Thread debugging using libthread_db enabled]
[New Thread -1208248640 (LWP 26164)]
[New Thread -1214252128 (LWP 26167)]
[New Thread -1227883616 (LWP 26168)]
[New Thread -1240466528 (LWP 26169)]
[Thread -1240466528 (LWP 26169) exited]
[New Thread -1250956384 (LWP 26170)]
[Thread -1250956384 (LWP 26170) exited]
[New Thread -1250956384 (LWP 26171)]
[New Thread -1240466528 (LWP 26172)]
[New Thread -1263535200 (LWP 26173)]
[New Thread -1285555296 (LWP 26174)]
[New Thread -1296045152 (LWP 26175)]
[Thread -1285555296 (LWP 26174) exited]
[New Thread -1285555296 (LWP 26176)]
Gecko: Fatal IO error 104 (Connection reset by peer) on X server :0.0. 
------------------------------------------------------------

Moreover,when i login via vnc(both from my laptop and from the debugging machine) and launch firefox to open that URL, it will NOT crash and X server will not down. And, when i open the URL with opera on debugging machine,it will not crash or down the X server also.

Comment 6 Matěj Cepl 2008-09-24 10:31:30 UTC
Please attach your X server config file (/etc/X11/xorg.conf) and X server log file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file attachments using the bugzilla file attachment link below.

Could you please also try to run without any /etc/X11/xorg.conf whatsoever and let X11 autodetect your display and video card? Attach to this bug /var/log/Xorg.0.log from this attempt as well, please.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 7 Matěj Cepl 2008-09-24 16:19:34 UTC
Actually, this is duplicate for RHEL4 of bug 455359

Comment 8 Yolkfull Chow 2008-09-25 01:31:16 UTC
Created attachment 317643 [details]
xorg.conf

The debugging machine is using nvidia video card, and system is using nvidia driver also.

#lspci |grep VGA
06:00.0 VGA compatible controller: nVidia Corporation NV41 [GeForce 6800 GS] (rev a2)


xorg.conf
...
Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA Unknown (generic)"
EndSection
...

Comment 9 Yolkfull Chow 2008-09-25 01:36:22 UTC
Created attachment 317644 [details]
Xorg.0.log

Comment 10 RHEL Program Management 2008-10-06 17:46:38 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 11 Adam Jackson 2008-12-08 19:46:35 UTC
1603766 build (dist-4E-qu-candidate, /cvs/dist:rpms/xorg-x11/RHEL-4:xorg-x11-6_8_2-1_EL_54) completed successfully

MODIFIED

Comment 15 A S Alam 2009-01-27 07:16:50 UTC
I tested with with following configuration:
firefox-3.0.5-1.el5_2 
three resolutions [800x600, 1024x768, 1152x864]
Intel 910GL Integrated Graphics Controller

[PASSED] [RHEL5.3-Client-20090106.0] - Fresh installed OS

(Firefox works fine)
Thanks

Comment 18 errata-xmlrpc 2009-05-18 20:26:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0998.html