totem crashed with SIGSEGV in pthread_mutex_lock()

Bug #172786 reported by miked
30
This bug affects 2 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

not sure

ProblemType: Crash
Architecture: i386
Date: Wed Nov 21 15:59:10 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/totem
NonfreeKernelModules: cdrom
Package: totem-xine 2.20.0-0ubuntu3
PackageArchitecture: i386
ProcCmdline: totem smb://tiny-desktop/LimeWireSaved/Kelis-%20My%20Milkshakes.mp3
ProcCwd: /root
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: totem
Stacktrace:
 #0 0xb748fd7d in ?? () from /usr/lib/libxine.so.1
 #1 0xb7275541 in pthread_mutex_lock ()
    from /lib/tls/i686/cmov/libpthread.so.0
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)
StacktraceTop:
 ?? () from /usr/lib/libxine.so.1
 pthread_mutex_lock ()
Title: totem crashed with SIGSEGV in pthread_mutex_lock()
Uname: Linux Beast-Desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse plugdev scanner tape

Revision history for this message
miked (miked11) wrote :
Revision history for this message
miked (miked11) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:xine_guess_spu_encoding () at utils.c:590
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
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:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
miked (miked11) wrote :

I had this crash on two different computers, but it did not crash this time.

root@Beast-Desktop:~# gdb totem 2>&1 | tee gdb-totem.txt
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1228630352 (LWP 11673)]
[New Thread -1270842480 (LWP 11676)]
[New Thread -1287906416 (LWP 11677)]
[New Thread -1296299120 (LWP 11678)]
[New Thread -1308791920 (LWP 11679)]
[New Thread -1319072880 (LWP 11680)]
[New Thread -1327465584 (LWP 11681)]
[New Thread -1345520752 (LWP 11703)]
[New Thread -1353913456 (LWP 11704)]
[Thread -1345520752 (LWP 11703) exited]
[Thread -1353913456 (LWP 11704) exited]
[New Thread -1353913456 (LWP 11705)]
[New Thread -1345520752 (LWP 11706)]
[Thread -1353913456 (LWP 11705) exited]
[Thread -1345520752 (LWP 11706) exited]
[New Thread -1345520752 (LWP 11707)]
[Thread -1345520752 (LWP 11707) exited]
[Thread -1319072880 (LWP 11680) exited]
[Thread -1308791920 (LWP 11679) exited]
[Thread -1327465584 (LWP 11681) exited]
[Thread -1287906416 (LWP 11677) exited]
[Thread -1296299120 (LWP 11678) exited]
[Thread -1270842480 (LWP 11676) exited]

Program exited normally.
(gdb) backtrace full
No stack.
(gdb) info registers
The program has no registers now.
(gdb) thread apply all backtrace
(gdb) quit
root@Beast-Desktop:~#
I will try on the other computer next.

Revision history for this message
miked (miked11) wrote :

This is the file that caused the crash on both computers.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

There's no crash on the stacktrace you post it here, can you try again and this time attach the file to the report?, I've also tested the file you submitted and i don't get a crash here. thanks.

Revision history for this message
miked (miked11) wrote :

I don't seem to be able to re-crash this bug. If I am not running the right program with the backtrace please let me know. It looks like samba must of been involved somehow. I think I caused the crash by trying to run the file from the tiny-desktop through samba (smb:) on the beast-desktop and it crashed. I was able to use other mp3s with totem without copying them to the computer. so would I be able to backtrace this. If so, how would I run it, on which computer.

tiny@tiny-desktop:~$ gdb totem 2>&1 | tee gdb-totem.txt
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1227786576 (LWP 6757)]
[New Thread -1263387760 (LWP 6760)]
[New Thread -1280463984 (LWP 6761)]
[New Thread -1288856688 (LWP 6762)]
[New Thread -1301349488 (LWP 6763)]
[New Thread -1311630448 (LWP 6764)]
[New Thread -1320023152 (LWP 6765)]
[New Thread -1335989360 (LWP 6766)]
[Thread -1335989360 (LWP 6766) exited]
[Thread -1311630448 (LWP 6764) exited]
[Thread -1301349488 (LWP 6763) exited]
[Thread -1320023152 (LWP 6765) exited]
[Thread -1280463984 (LWP 6761) exited]
[Thread -1288856688 (LWP 6762) exited]
[Thread -1263387760 (LWP 6760) exited]

Program exited normally.
(gdb) backtrace full
No stack.
(gdb) info registers
The program has no registers now.
(gdb) thread apply all backtrace
(gdb) quit
tiny@tiny-desktop:~$

Revision history for this message
miked (miked11) wrote :

o.k. here's another try. I will try one more after this one and then i'll give up for now. thanks.

root@Beast-Desktop:~# gdb totem 2>&1 | tee gdb-totem.txtGNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1227962704 (LWP 7045)]
[New Thread -1270174832 (LWP 7048)]
[New Thread -1287238768 (LWP 7049)]
[New Thread -1295631472 (LWP 7050)]
[New Thread -1308124272 (LWP 7051)]
[New Thread -1318405232 (LWP 7052)]
[New Thread -1326797936 (LWP 7053)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227962704 (LWP 7045)]
0xb7458e31 in ?? () from /usr/lib/libxine.so.1
(gdb) backtrace full
#0 0xb7458e31 in ?? () from /usr/lib/libxine.so.1
No symbol table info available.
Cannot access memory at address 0xbfec3ba8
(gdb) info registers
eax 0x200 512
ecx 0xb1879000 -1316515840
edx 0x8aa25d8 145368536
ebx 0xb7469488 -1220111224
esp 0xbfec3ba8 0xbfec3ba8
ebp 0x8000 0x8000
esi 0x160 352
edi 0x0 0
eip 0xb7458e31 0xb7458e31 <_fini+790285>
eflags 0x10206 [ PF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) thread apply all backtrace
Couldn't get registers: No such process.
(gdb) quit
The program is running. Exit anyway? (y or n) y
root@Beast-Desktop:~#

Revision history for this message
miked (miked11) wrote :

o.k. so I can re-crash this. now to do it while backtracing next.
If I openup the tiny-desktop: (mouse click)->places-> (mouse click) network->(2xmouse click)->tiny-desktop (2xmouse click)-> LimeWireSaved(smb) ->(2xmouse click)-> Kelis- My Milkshakes.mp3
bug crash file appears in /var/crash directory.

Revision history for this message
miked (miked11) wrote :

o.k. tried to backtrace but this is not exactly the same way I described the crash above because gdb starts totem first and I have to (mouse click)->movie (mouse click) open-> (mouse click) -> Network Servers() ->(2xmouse click) ->tiny-desktop ->(2xmouse click) -> LimeWireSaved(smb) -> (mouse click) -> Kelis- My Milkshakes.mp3 -> (mouse click) [+] ADD. Then it crashes and totem seems to freeze and leave the mouse spinning around in circles, and remains quiet, no music, no mp3 playing.

Revision history for this message
miked (miked11) wrote :
Download full text (4.9 KiB)

root@Beast-Desktop:~# gdb totem 2>&1 | tee gdb-totem.txt
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1227757904 (LWP 7724)]
[New Thread -1269970032 (LWP 7727)]
[New Thread -1287033968 (LWP 7728)]
[New Thread -1295426672 (LWP 7729)]
[New Thread -1307919472 (LWP 7730)]
[New Thread -1318200432 (LWP 7731)]
[New Thread -1326593136 (LWP 7732)]
[New Thread -1344648304 (LWP 7733)]
[New Thread -1353041008 (LWP 7734)]
[Thread -1353041008 (LWP 7734) exited]
[Thread -1344648304 (LWP 7733) exited]
[New Thread -1344648304 (LWP 7735)]
[New Thread -1353041008 (LWP 7736)]
[Thread -1353041008 (LWP 7736) exited]
[Thread -1344648304 (LWP 7735) exited]
[New Thread -1344648304 (LWP 7737)]
[Thread -1344648304 (LWP 7737) exited]
[New Thread -1344648304 (LWP 7740)]
[Thread -1344648304 (LWP 7740) exited]
[New Thread -1344648304 (LWP 7742)]
[Thread -1344648304 (LWP 7742) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227757904 (LWP 7724)]
0xb748ae31 in ?? () from /usr/lib/libxine.so.1
(gdb) backtrace full
#0 0xb748ae31 in ?? () from /usr/lib/libxine.so.1
No symbol table info available.
#1 0xb7270541 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) info registers
eax 0x200 512
ecx 0xb18ab000 -1316311040
edx 0x8c06218 146825752
ebx 0xb749b488 -1219906424
esp 0xbf819368 0xbf819368
ebp 0x8000 0x8000
esi 0xe0 224
edi 0x0 0
eip 0xb748ae31 0xb748ae31 <_fini+790285>
eflags 0x10202 [ IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) thread apply all backtrace

Thread 7 (Thread -1326593136 (LWP 7732)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7272676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7474800 in xine_event_wait () from /usr/lib/libxine.so.1
#3 0x08a90168 in ?? ()
#4 0x089d76a0 in ?? ()
#5 0x00000001 in ?? ()
#6 0xb747488c in ?? () from /usr/lib/libxine.so.1
#7 0x089d76a0 in ?? ()
#8 0x08a90168 in ?? ()
#9 0x089d76a4 in ?? ()
#10 0xb727dff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x00000000 in ?? ()

Thread 6 (Thread -1318200432 (LWP 7731)):
#0 0xffffe410 in __kernel_vsys...

Read more...

Revision history for this message
miked (miked11) wrote :
Download full text (4.7 KiB)

o.k. I was able to backtrace it while skipping the clicking inside of totem.

{If I openup the tiny-desktop: (mouse click)->places-> (mouse click) network->(2xmouse click)->tiny-desktop (2xmouse click)-> LimeWireSaved(smb) ->(2xmouse click)-> Kelis- My Milkshakes.mp3
bug crash file appears in /var/crash directory.}

root@Beast-Desktop:~# gdb totem 2>&1 | tee gdb-totem.txt
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -1228470608 (LWP 7794)]
[New Thread -1270682736 (LWP 7797)]
[New Thread -1287746672 (LWP 7798)]
[New Thread -1296139376 (LWP 7799)]
[New Thread -1308632176 (LWP 7800)]
[New Thread -1318913136 (LWP 7801)]
[New Thread -1327305840 (LWP 7802)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228470608 (LWP 7794)]
0xb73dcd7d in ?? () from /usr/lib/libxine.so.1
(gdb) backtrace full
#0 0xb73dcd7d in ?? () from /usr/lib/libxine.so.1
No symbol table info available.
#1 0xb71c2541 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) info registers
eax 0x200 512
ecx 0xb17fd000 -1317023744
edx 0x8aa3270 145371760
ebx 0xb73ed488 -1220619128
esp 0xbf977658 0xbf977658
ebp 0x8000 0x8000
esi 0x160 352
edi 0x0 0
eip 0xb73dcd7d 0xb73dcd7d <_fini+790105>
eflags 0x210206 [ PF IF RF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) thread apply all backtrace

Thread 7 (Thread -1327305840 (LWP 7802)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb71c4676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb73c6800 in xine_event_wait () from /usr/lib/libxine.so.1
#3 0x08a68388 in ?? ()
#4 0x089d76a0 in ?? ()
#5 0x00000001 in ?? ()
#6 0xb73c688c in ?? () from /usr/lib/libxine.so.1
#7 0x089d76a0 in ?? ()
#8 0x08a68388 in ?? ()
#9 0x089d76a4 in ?? ()
#10 0xb71cfff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x00000000 in ?? ()

Thread 6 (Thread -1318913136 (LWP 7801)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb71c4676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb73b5adc in ?? () from /usr/lib/libxine.so.1
#3 0x089b9bac in ?? ()
#4 0x089b9b94 in ?? ()
#5...

Read more...

Revision history for this message
miked (miked11) wrote :

O.K. added lots of backtrace info, it crashes with or without (totem) visually running, both backtraces added and descriptions of crash reconstructions. thanks

Changed in totem:
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please follow these instuctions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.

 I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

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