[jaunty] Totem crashes when attempt to watch DVB [DiBcom USB]. Too many open files on console

Bug #443982 reported by Shaun Crampton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: totem

The first time I tried DVB in Totem it worked fine but it now fails every time I try to use it. When I click "Watch TV on 'DVB Adapter 0'" on Totem's File menu, it crashes with a SIGABRT (backtrace attached). On the console, I see

$ totem
/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

** ERROR **: Error opening demuxer: Too many open files (/dev/dvb/adapter0/demux0)
aborting...
Aborted (core dumped)

The kernel documentation for /dev/dvb/adapter0/demux0 at http://www.linuxtv.org/docs/dvbapi/DVB_Demux_Device.html indicates that it returns EMFILE ``Too many open files'' if it runs out of demux filters so it's not a problem with the number of open files in the system.

With Kaffeine, I can watch DVB on this same box just fine so this is Totem/gstreamer problem.

My DVB device is a USB one (full lsusb attached):
Bus 004 Device 006: ID 10b8:0bb9 DiBcom DiBcom USB DVB-T reference design (MOD300)

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: fglrx
Package: totem 2.26.1-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: totem
Uname: Linux 2.6.28-15-generic x86_64

Revision history for this message
Shaun Crampton (fasaxc) wrote :
Revision history for this message
Shaun Crampton (fasaxc) wrote :
Revision history for this message
Shaun Crampton (fasaxc) wrote :
Revision history for this message
Shaun Crampton (fasaxc) wrote :

Output from $ lsof | grep demux:
totem 8863 shaun mem REG 8,1 173520 2276844 /usr/lib/gstreamer-0.10/libgstmpegdemux.so
totem 8863 shaun 25u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 26u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 27u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 28u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 29u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 31u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 32u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 33u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 34u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 35u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 36u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 37u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 38u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 39u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 40u CHR 212,4 31984 /dev/dvb/adapter0/demux0
totem 8863 shaun 41u CHR 212,4 31984 /dev/dvb/adapter0/demux0

totem seems to open a lot of filters.

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) 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
Shaun Crampton (fasaxc) wrote :

I found that totem always opens the first channel in dvb-channels.conf when clicking the eatch TV option. If I reorder the channels then I can get totem to start with some channels and not others. Once it's started on a "good" channel, I still can't switch to a "bad" one.

I've attached my dvb-channels.conf. BBC FOUR is a "bad" channel -- switching to it crashes Totem with the above error. BBC News is a "good" channel.

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

the stacktrace lacks debug symbols for libgstdvb.so

Revision history for this message
Omer Akram (om26er) wrote :

Thanks for the bug report. Ubuntu-9.04 have reached EOL for a few months now, could you please try if the issue is still happening with the latest version of Ubuntu?

Changed in totem (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Revision history for this message
Omer Akram (om26er) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in totem (Ubuntu):
status: Incomplete → Invalid
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.