Fails to catch Xv errors properly with fglrx driver

Bug #126207 reported by Andreas Oberritter
8
Affects Status Importance Assigned to Milestone
xine-lib (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This bug report comes initially from democracyplayer, but it seems that it's not democracy's fault.

Binary package hint: democracyplayer

After pressing the play button to watch a downloaded video, the program first froze and then crashed after a short delay.

ProblemType: Crash
Architecture: amd64
Date: Sun Jul 15 23:54:50 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/democracyplayer.real
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: fglrx
Package: democracyplayer 0.9.6-1ubuntu1
PackageArchitecture: amd64
ProcCmdline: /usr/bin/python2.5 /usr/bin/democracyplayer.real
ProcCwd: /home/obi
ProcEnviron:
 PATH=/home/obi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 5
SourcePackage: democracyplayer
StacktraceTop:
 ?? () from /usr/lib/libgdk-x11-2.0.so.0
 _XError () from /usr/lib/libX11.so.6
 _XReply () from /usr/lib/libX11.so.6
 XvGetPortAttribute () from /usr/lib/libXv.so.1
 ?? ()
Title: democracyplayer.real crashed with signal 5 in _XError()
Uname: Linux t60p 2.6.22-8-generic #1 SMP Thu Jul 12 16:09:47 GMT 2007 x86_64 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner src video

Tags: apport-crash
Revision history for this message
Andreas Oberritter (mtdcr) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote :

It seems from the backtrace that X is crashing while trying to query your driver's XVideo capabilities. Does playing video work at all with libxine? Programs that use libxine include totem (with the totem-xine backend package) and the xine player itself. Can you use the open-source "ati" drivers, and if so, does democracyplayer work with them?

Changed in democracyplayer:
assignee: nobody → raof
status: New → Incomplete
Revision history for this message
Andreas Oberritter (mtdcr) wrote :

X continued to run. I can play video using vlc and totem-gstreamer (although the last one shows weird colors), but not with xine or totem-xine. I can't even start them without a video file. xine produces the following output:

This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 140 (XVideo)
  Minor opcode of failed request: 14 ()
  Serial number of failed request: 2407
  Current serial number in output stream: 2407

Totem dies with this output:

Gdk-ERROR **: The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 42 error_code 8 request_code 140 minor_code 14)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
Trace/breakpoint trap (core dumped)

However, there is no core file in the current directory.

Unfortunately I can not use the ati driver, because it doesn't support my graphics chipset. I could try the vesa driver, but IIRC it doesn't support xv.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Thank you for that. It seems that this is actually a problem in xine-lib, so I'll reassign to that package and update the description to match.

While hunting through the backtrace, I've seen that democracy doesn't do enough error checking in its xine bindings. I'll spin that off as a separate bug.

Changed in democracyplayer:
assignee: raof → nobody
status: Incomplete → Confirmed
description: updated
Revision history for this message
Reinhard Tartler (siretart) wrote :

does this problem also happen with gxine? can you attach an example file to this bug?

Does this bug also happen with the updated fglrx driver in hardy?

Changed in xine-lib:
status: Confirmed → Incomplete
Changed in xine-lib:
status: Incomplete → Confirmed
Revision history for this message
dino99 (9d9) wrote :

That version has died long ago; no more supported

Changed in xine-lib (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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