X segfaults with radeon driver - VidModeGetFirstModeline

Bug #442395 reported by lesshaste
This bug report is a duplicate of:  Bug #300310: SDL applications crash X server. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xorg

If I simply type "avidemux" as a normal user and press return, X spontaneously restarts every time. This problem with X also happens less reproducibly while kdenlive is running for example so I suspect it's an X problem not specific to avidemux.

/var/log/Xorg.0.log.old

shows

Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x79) [0x80c3019]
1: [0xb80ac400]
2: /usr/X11R6/bin/X(VidModeGetNumOfModes+0x40) [0x80c8280]
3: /usr/lib/xorg/modules/extensions//libextmod.so [0xb7beb0d0]
4: /usr/X11R6/bin/X(Dispatch+0x34f) [0x808c89f]
5: /usr/X11R6/bin/X(main+0x47d) [0x8071d1d]
6: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7ca8685]
7: /usr/X11R6/bin/X [0x8071101]
Saw signal 11. Server aborting.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: xorg 1:7.4~5ubuntu3
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/kde3/bin
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.27-14-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12) ) #1 SMP Mon Aug 31 13:01:41 UTC 2009

SourcePackage: xorg
Uname: Linux 2.6.27-14-generic i686
xkbcomp:

Tags: apport-bug
Revision history for this message
lesshaste (clifford-cs) wrote :
Revision history for this message
lesshaste (clifford-cs) wrote :

Full backtrace obtained by using remote computer. It does look similar to http://bugs.freedesktop.org/show_bug.cgi?id=19948 now.

summary: - X spontaneously restarts when avidemux is started
+ X segfaults with radeon driver - VidModeGetFirstModeline
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Revision history for this message
lesshaste (clifford-cs) wrote :

Although applying http://bugs.freedesktop.org/attachment.cgi?id=22595 which I am assuming is the same as 157_check_null_modes.patch, does stop X segfaulting, apps that used to segfault X now just don't run at all. For example winecfg gives

X Error of failed request: XF86VidModeExtensionDisabled
  Major opcode of failed request: 134 (XFree86-VidModeExtension)
  Minor opcode of failed request: 6 (XF86VidModeGetAllModeLines)
  Serial number of failed request: 82
  Current serial number in output stream: 82

The problem seems to be that for some reason pScrn = xf86Screens[scrnIndex]; is returning an empty list of modes. Any ideas how to address this underlying issue?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I have the suspicion your applications changes the screen mode (fullscreen at a given resolution?) and just while the server is switching there is no modes defined, and the application asks about modes at the same time. Just speculation from my side.

Some SDL applications (I know penguinracer) have a conf file to set screen resolution (and fullscreen or not). Try them without fullscreen or with the same resolution as the server usually uses.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.