Bug 223134

Summary: Segfault when playing specific DVD (Playbck of single chapters somewhat funtional)
Product: [Applications] kaffeine Reporter: johannes_graumann
Component: generalAssignee: Christoph Pfister <christophpfister>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description johannes_graumann 2010-01-17 14:25:36 UTC
Version:           1.0-pre2 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Until yesterday all DVDs I tried worked fine with kaffeine. This particular one crashes it now ... and all other players (mplayer, vlc) I have tried.
When accessing the DVD though the "playback" tab I can play single chapters, but the quality is horrible (unsteady, colored blocks).
I do not consider this bug a duplicate of the opensuse-specific ones I have seen, since I am on debian unstable.
Phonon-backend-xine is 4.3.1-5

Here's the backtrace:

Application: Kaffeine (kaffeine), signal: Segmentation fault
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f0bca2bc750 (LWP 12710))]

Thread 9 (Thread 0x7f0bb43f6910 (LWP 12711)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f0bbb2d2dd1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0bb289a910 (LWP 12712)):
[KCrash Handler]
#5  _int_malloc (av=0x7f0bac000020, bytes=6144) at malloc.c:4686
#6  0x00007f0bc6758aa0 in *__GI___libc_malloc (bytes=6144) at malloc.c:3660
#7  0x00007f0bb8dbc753 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_inp_dvd.so
#8  0x00007f0bb8db0c0d in ?? () from /usr/lib/xine/plugins/1.27/xineplug_inp_dvd.so
#9  0x00007f0bb8da86f7 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_inp_dvd.so
#10 0x00007f0bb8da31ca in ?? () from /usr/lib/xine/plugins/1.27/xineplug_inp_dvd.so
#11 0x00007f0bb8d9ee6c in ?? () from /usr/lib/xine/plugins/1.27/xineplug_inp_dvd.so
#12 0x00007f0bb8d9ef81 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_inp_dvd.so
#13 0x00007f0bbb2d069b in xine_open () from /usr/lib/libxine.so.1
#14 0x00007f0bbb536b3d in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x00007f0bbb53a9b7 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#16 0x00007f0bc73b701d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f0bc73bf07a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007f0bc8db1e06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007f0bc7f3dc9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007f0bc7f3e8e4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#21 0x00007f0bc7f667d3 in ?? () from /usr/lib/libQtCore.so.4
#22 0x00007f0bc3d5490e in g_main_dispatch (context=0x25119d0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#23 IA__g_main_context_dispatch (context=0x25119d0) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#24 0x00007f0bc3d582c8 in g_main_context_iterate (context=0x25119d0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#25 0x00007f0bc3d583f0 in IA__g_main_context_iteration (context=0x25119d0, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#26 0x00007f0bc7f6639c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f0bc7f3c562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007f0bc7f3c934 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007f0bc7e555a8 in QThread::exec() () from /usr/lib/libQtCore.so.4
#30 0x00007f0bbb52daec in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#31 0x00007f0bc7e584a5 in ?? () from /usr/lib/libQtCore.so.4
#32 0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#33 0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#34 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0bb1e90910 (LWP 12715)):
#0  0x00007f0bc67a3783 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0bb1e95849 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 6 (Thread 0x7f0bb168f910 (LWP 12716)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0bbb2e3d43 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0babfff910 (LWP 12717)):
#0  0x00007f0bc67a7fc2 in select () from /lib/libc.so.6
#1  0x00007f0bbb2fb484 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f0bbb2e08ab in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f0baaa09910 (LWP 12721)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0bbb2d679b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0bbb2dc5ce in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7f0baa03b910 (LWP 12722)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0bbb2d679b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0bbb2dd64e in ?? () from /usr/lib/libxine.so.1
#3  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f0ba983a910 (LWP 12723)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f0bbb2e695b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f0bc525a73a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f0bc67ae6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0bca2bc750 (LWP 12710)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f0bc675a5d8 in _L_lock_9442 () from /lib/libc.so.6
#2  0x00007f0bc67589b1 in *__GI___libc_free (mem=0x7f0bac000020) at malloc.c:3736
#3  0x00007f0b9e7fdf88 in ?? () from /usr/lib/libtalloc.so.2
#4  0x00007f0b9e7fdf0b in ?? () from /usr/lib/libtalloc.so.2
#5  0x00007f0b9e7fcd9b in _talloc_free () from /usr/lib/libtalloc.so.2
#6  0x00007f0bc6719422 in __run_exit_handlers (status=1, listp=0x7f0bc6a314c8, run_list_atexit=true) at exit.c:78
#7  0x00007f0bc6719475 in *__GI_exit (status=-1409286112) at exit.c:100
#8  0x00007f0bc74136a8 in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007f0bc8db17e8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#10 0x00007f0bc5ac9c6e in _XIOError () from /usr/lib/libX11.so.6
#11 0x00007f0bc5ad0fe5 in ?? () from /usr/lib/libX11.so.6
#12 0x00007f0bc5ad1897 in _XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f0bc5aba2bb in XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007f0bc744e0dc in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f0bc3d577da in IA__g_main_context_check (context=0x23545f0, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2469
#16 0x00007f0bc3d57fc0 in g_main_context_iterate (context=0x23545f0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2588
#17 0x00007f0bc3d583f0 in IA__g_main_context_iteration (context=0x23545f0, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#18 0x00007f0bc7f6639c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007f0bc744df1f in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f0bc7f3c562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007f0bc7f3c934 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f0bc7f3eba4 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#23 0x0000000000477cd6 in _start ()
Comment 1 Dario Andres 2010-01-18 01:21:14 UTC
- Did you say playing this same DVD with other players crashed them too ?
- Have you tried to play it with "gxine" or "xine-ui" ?
This is likely to be a bug in the Xine library.
Regards
Comment 2 johannes_graumann 2010-01-22 17:55:56 UTC
Hmmm, looks like a problem in in libdvdread/libdvdcss, no? Here's what the sehll reports after using "xine" stand alone ... any hints?

Joh

$ xine                                                    
This is xine (X11 gui) - a free video player v0.99.6cvs.                   
(c) 2000-2007 The xine Team.                                               
libdvdread: Using libdvdcss version 1.2.10 for DVD access                  

*** libdvdread: CHECK_VALUE failed in ifo_read.c:852 ***
*** for (int)tt_srpt->nr_of_srpts * sizeof(title_info_t) <= info_length ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:856 ***
*** for tt_srpt->title[i].nr_of_angles != 0 ***         


*** libdvdread: CHECK_VALUE failed in ifo_read.c:860 ***
*** for tt_srpt->title[i].nr_of_ptts < 1000 ***         


*** libdvdread: CHECK_VALUE failed in ifo_read.c:861 ***
*** for tt_srpt->title[i].title_set_nr != 0 ***         


*** libdvdread: CHECK_VALUE failed in ifo_read.c:863 ***
*** for tt_srpt->title[i].vts_ttn != 0 ***              


*** libdvdread: CHECK_VALUE failed in ifo_read.c:855 ***
*** for tt_srpt->title[i].pb_ty.zero_1 == 0 ***         


*** libdvdread: CHECK_VALUE failed in ifo_read.c:857 ***
*** for tt_srpt->title[i].nr_of_angles < 10 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:860 ***
*** for tt_srpt->title[i].nr_of_ptts < 1000 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:861 ***
*** for tt_srpt->title[i].title_set_nr != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:863 ***
*** for tt_srpt->title[i].vts_ttn != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:857 ***
*** for tt_srpt->title[i].nr_of_angles < 10 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:861 ***
*** for tt_srpt->title[i].title_set_nr != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:863 ***
*** for tt_srpt->title[i].vts_ttn != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:856 ***
*** for tt_srpt->title[i].nr_of_angles != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:861 ***
*** for tt_srpt->title[i].title_set_nr != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:863 ***
*** for tt_srpt->title[i].vts_ttn != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:856 ***
*** for tt_srpt->title[i].nr_of_angles != 0 ***


*** libdvdread: CHECK_VALUE failed in ifo_read.c:860 ***
*** for tt_srpt->title[i].nr_of_ptts < 1000 ***

xiTK received SIGSEGV signal, RIP.
Aborted
Comment 3 Dario Andres 2010-01-27 13:45:52 UTC
Then it is likely to be a problem in Xine or in one of its plugins. I advice you to report this bug directly to http://bugs.xine-project.org/
Thank you