Bug 74143

Summary: xvidtune FPE coredump
Product: [Retired] Red Hat Linux Reporter: Aleksey Nogin <aleksey>
Component: XFree86Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-24 17:34:30 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: 82776, 123268    

Description Aleksey Nogin 2002-09-16 21:39:21 UTC
In 7.3.94 ((null)) fresh install + full up2date I get xvidtune crash (before
popping up any X windows):

(gdb) run
Starting program: /usr/X11R6/bin/xvidtune
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
Vendor: Monitor Vendor, Model: Dell P1130
Num hsync: 1, Num vsync: 1
hsync range 0:  30.00 - 130.00
vsync range 0:  48.00 - 170.00
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
Program received signal SIGFPE, Arithmetic exception.
0x0804a03b in UpdateSyncRates ()
(gdb) bt
#0  0x0804a03b in UpdateSyncRates ()
#1  0x08049956 in GetModeLine ()
#2  0x0804c943 in main ()
#3  0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6

At the same time /var/log/XFree86.0.log gets:

GetModeLine - scrn: 0 clock: 108000
GetModeLine - hdsp: 1400 hbeg: 0 hend: 0 httl: 0
              vdsp: 1050 vbeg: 0 vend: 0 vttl: 0 flags: 0

Comment 1 Mike A. Harris 2002-10-06 05:09:05 UTC
What video card do you have?  Also, could you please attach your
config file and X log file.

It appears DDC probe is being done, but perhaps the monitor is
returning invalid data, or data unexpected by the app.

I'll look into it once I've got your info.  Thanks.

Comment 2 Mike A. Harris 2002-12-14 16:55:51 UTC
ping

Comment 3 Aleksey Nogin 2002-12-14 21:02:35 UTC
Ah, sorry, completely forgot about needing to respond to this.

Video card: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
(see bug 79141 attachment 87648 [details] for lspci -vv output).

X config: see bug 79141 attachment 87647 [details]

X log: see bug 79141 attachment 87645 [details] for a log showing the X startup using this
exact configuration. Please let me know if you need a complete log, with the
stuff that xvidtune would cause to appear in there.

P.S. I do not really know how this works, but my interpretation of the events is
that the radeon driver leaves it to something external (BIOS, video card, etc)
to figure out what's the right vsync/hsync rates to drive the LCD, so xvidtune
gets all zeros and crashes when trying to divide something by it.

P.P.S. The problem is still there with XFree86-4.2.1-9

Comment 5 Mike A. Harris 2004-08-30 23:23:55 UTC
*** Bug 76608 has been marked as a duplicate of this bug. ***

Comment 7 Mike A. Harris 2004-09-24 17:34:30 UTC
We believe this issue to be resolved in our currently shipping
OS releases.  Please upgrade to Fedora Core 2 or later, and if this
issue turns out to still be reproduceable, please file a bug report
in the X.Org bugzilla located at http://bugs.freedesktop.org in the
"xorg" component.

Once you've filed your bug report to X.Org, if you paste the new
bug URL here, Red Hat will continue to track the issue in the
centralized X.Org bug tracker, and will review any bug fixes
that become available for consideration in future updates.


Comment 8 Aleksey Nogin 2004-09-24 18:26:53 UTC
Confirming, I can no longer reproduce this in FC2 + all updates.