Totem crashes when clicking next quickly

Bug #84971 reported by Vassilis Pandis
2
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

This is on current Feisty, with totem-gstreamer. 2.17.91-0ubuntu2. Open a bunch of mp3 files, and hit 'next' quickly . If you let a song play for a fraction of a second and continue hitting 'next', totem crashes (doesn't really crash, aborts - I don't know on what function to break on to catch the error). I could not reproduce this with totem-xine.

pandis@pandis-laptop:~/music/kokos/sound$ totem --debug *
** Message: Couldn't initialize lirc.

** (totem:6216): CRITICAL **: Resources for ring buffer 0x84435c8 still acquired

GThread-ERROR **: file gthread-posix.c: line 261 (): error 'Device or resource busy' during 'pthread_cond_destroy ((pthread_cond_t *) cond)'
aborting...
Aborted

Revision history for this message
Sebastien Bacher (seb128) 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:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Vassilis Pandis (pandisv) wrote :
Download full text (9.1 KiB)

Here's the backtrace. Initially I thought this wasn't a real crash because apport didn't pick it up (I'm on Feisty - I reported this as bug 83105).

[Thread -1309680752 (LWP 5392) exited]
[New Thread -1309680752 (LWP 5394)]

** (totem:4578): CRITICAL **: Resources for ring buffer 0x85b4db0 still acquired
[Thread -1301288048 (LWP 5393) exited]

GThread-ERROR **: file gthread-posix.c: line 261 (): error 'Device or resource busy' during 'pthread_cond_destroy ((pthread_cond_t *) cond)'
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread -1226717504 (LWP 4578)]
0xb7f727f2 in ?? () from /lib/ld-linux.so.2

(gdb) bt
#0 0xb7f727f2 in ?? () from /lib/ld-linux.so.2
#1 0xb70f9df0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb70fb641 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb731a56a in g_logv () from /usr/lib/libglib-2.0.so.0
#4 0xb731a5a9 in g_log () from /usr/lib/libglib-2.0.so.0
#5 0xb74540ba in ?? () from /usr/lib/libgthread-2.0.so.0
#6 0xb74548c8 in ?? () from /usr/lib/libgthread-2.0.so.0
#7 0x00000004 in ?? ()
#8 0xb7454c34 in ?? () from /usr/lib/libgthread-2.0.so.0
#9 0xb74548d0 in ?? () from /usr/lib/libgthread-2.0.so.0
#10 0x00000105 in ?? ()
#11 0xb7454905 in ?? () from /usr/lib/libgthread-2.0.so.0
#12 0x08585fb8 in ?? ()
#13 0xb7454dc4 in ?? () from /usr/lib/libgthread-2.0.so.0
#14 0xb74258e4 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#15 0x085b4db0 in ?? ()
#16 0xbfe11fc8 in ?? ()
#17 0xb7416e68 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#18 0x08621520 in ?? ()
#19 0x00000050 in ?? ()
#20 0x00000000 in ?? ()
(gdb)

(gdb) thread apply all bt

Thread 561 (Thread -1309680752 (LWP 5394)):
#0 0xb7f727f2 in ?? () from /lib/ld-linux.so.2
#1 0xb74445c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7416bd2 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#3 0x08621520 in ?? ()
#4 0x086214c8 in ?? ()
#5 0xb1efd384 in ?? ()
#6 0xb1efd388 in ?? ()
#7 0x0862ede0 in ?? ()
#8 0x0862ede0 in ?? ()
#9 0xb1efd368 in ?? ()
#10 0xb7442451 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb732f9bf in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x085b4db0 in ?? ()
#13 0xb2f0d6d8 in ?? ()
#14 0xb1efd3d8 in ?? ()
#15 0xb743fa3c in __nptl_deallocate_tsd ()
   from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb744031b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb719f3ee in clone () from /lib/tls/i686/cmov/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 557 (Thread -1282573424 (LWP 5390)):
#0 0xb7f727f2 in ?? () from /lib/ld-linux.so.2
#1 0xb74445c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7656828 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#3 0x08623100 in ?? ()
#4 0x08629be0 in ?? ()
#5 0xb38d7368 in ?? ()
#6 0xb7442451 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb732f9bf in ?? () from /usr/lib/libglib-2.0.so.0
#8 0x085c31d0 in ?? ()
#9 0x08629ad8 in ?? ()
#10 0xb38d73d8 in ?? ()
#11 0xb743fa3c in __nptl_deallocate_tsd ()
   from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb744031b in start_thread () from /lib/tls/i686/cmov/l...

Read more...

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

Could you get a backtrace with gstreamer0.10-plugins-base-dbg libglib2.0-0-dbg totem-gstreamer-dbgsym installed?

Revision history for this message
Vassilis Pandis (pandisv) wrote :
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Cannot reproduce this any longer, closing. I'll reopen if it reappears.

Changed in totem:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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