Totem crashes while playing xvid encoded files and DVDs

Bug #401066 reported by Saad Bin Javed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Medium
Unassigned

Bug Description

Binary package hint: totem

I'm using Jaunty on a low end system (1.5Ghz, 256MB RAM). Totem crashes while trying to play DVDs and Xvid encoded AVIs. ffmpeg is not installed on this system, just basic Ubuntu install with restricted-extras. Other types of AVI files (like DivX encoded) seem to work fine. I've tried to play the file in VLC, Totem, MPlayer...VLC and Totem crash while MPlayer gives sound but no video. If launched from terminal totem exits with the following output:

/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 73 error_code 11 request_code 132 minor_code 19)
  (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.)

I've tried the file on a faster machine and it plays okay. So does in WinXP on this system. Maybe xvid codec requires further optimization to run on low spec machines???

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: totem 2.26.1-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: totem
Uname: Linux 2.6.28-13-generic i686

Revision history for this message
Saad Bin Javed (sbjaved) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in totem (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Saad Bin Javed (sbjaved) wrote :

Here is the backtrace output you requested. I followed instructions as provided on the wiki (which need to be more user-friendly btw)...I hope this helps.

Revision history for this message
Saad Bin Javed (sbjaved) wrote :

Here is the backtrace for vlc.

Revision history for this message
Sebastien Bacher (seb128) wrote :

not a totem issue if vlc crashes too

affects: totem (Ubuntu) → ubuntu
Changed in ubuntu:
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Incomplete → New
Revision history for this message
Saad Bin Javed (sbjaved) wrote :

The file plays in both Totem and VLC in another computer with faster specs. So is it an X issue?

Revision history for this message
IKT (ikt) wrote :

Researching this specific error: 'BadAlloc (insufficient resources for operation)'.

Results in this:

This usually happens when X doesn't have enough resources to allocate to direct viewing with the xv (XView) driver. This
is very often related to DRM/DRI or memory problems.

As a work around, try playing the video with the x11 driver instead.

"mplayer -vo x11 somefile.avi"

Full explaination/report at: http://www.pubbs.net/freebsd/200909/128736/

IKT (ikt)
Changed in ubuntu:
status: New → Incomplete
Dante Díaz (dante)
affects: ubuntu → totem (Ubuntu)
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Please Dante do not reassign bugs without giving a good explanation about it, thanks.

affects: totem (Ubuntu) → ubuntu
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
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.