Bug 231408 - Playing video preview crashes Dolphin (Phonon-Xine + Qt)
Summary: Playing video preview crashes Dolphin (Phonon-Xine + Qt)
Status: RESOLVED UPSTREAM
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.3.1 (KDE 4.4)
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 233351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-20 13:18 UTC by matthias sweertvaegher
Modified: 2010-12-06 11:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthias sweertvaegher 2010-03-20 13:18:00 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.1 (KDE 4.4.1) "release 225"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.1-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
i select an avi in dolphin. the thumbnail gets generated succesfully. When playing the play button, dolphin crashes. It seems kaffeine also crashes on it. Mplayer plays it well.

(file says the format is: RIFF (little-endian) data, AVI, 640 x 480, ~15 fps, video: Motion JPEG, audio: uncompressed PCM (mono, 8000 Hz)


The crash can be reproduced every time.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4da6760 (LWP 5270))]

Thread 10 (Thread 0xb1cd2b70 (LWP 6413)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb545a0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a272d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb2f2919b in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#5  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 9 (Thread 0xb0e44b70 (LWP 6690)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb545a0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a272d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb2f3527b in interruptable_sleep () from /usr/lib/libxine.so.1
#4  0xb2f37bee in video_out_loop () from /usr/lib/libxine.so.1
#5  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#6  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xb0643b70 (LWP 6691)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb545689b in pthread_join () from /lib/libpthread.so.0
#2  0xb2f4444a in _x_demux_stop_thread () from /usr/lib/libxine.so.1
#3  0xb2f249cf in close_internal () from /usr/lib/libxine.so.1
#4  0xb2f24ba8 in xine_close () from /usr/lib/libxine.so.1
#5  0xb2f87d6b in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#6  0xb5cf03fc in QApplicationPrivate::notify_helper (this=0x8106d70, receiver=0x8c24320, e=0x836adc8) at kernel/qapplication.cpp:4300
#7  0xb5cf7248 in QApplication::notify (this=0xbff05cd4, receiver=0x8c24320, e=0x836adc8) at kernel/qapplication.cpp:4183
#8  0xb6d61b81 in KApplication::notify (this=0xbff05cd4, receiver=0x8c24320, event=0x836adc8) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#9  0xb67c8dde in QCoreApplication::notifyInternal (this=0xbff05cd4, receiver=0x8c24320, event=0x836adc8) at kernel/qcoreapplication.cpp:704
#10 0xb67cb7e3 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#11 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#12 0xb67cb93c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#13 0xb67f5e4d in sendPostedEvents () at kernel/qcoreapplication.h:220
#14 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#15 0xb528d4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0xb5290d98 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0xb5290ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0xb67f5931 in QEventDispatcherGlib::processEvents (this=0x8c22a68, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#19 0xb67c744d in QEventLoop::processEvents (this=0xb0643260, flags=) at kernel/qeventloop.cpp:149
#20 0xb67c7899 in QEventLoop::exec (this=0xb0643260, flags=...) at kernel/qeventloop.cpp:201
#21 0xb66bc270 in QThread::exec (this=0x8c22688) at thread/qthread.cpp:487
#22 0xb2f7fd68 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#23 0xb66bf0bf in QThreadPrivate::start (arg=0x8c22688) at thread/qthread_unix.cpp:248
#24 0xb54556e5 in start_thread () from /lib/libpthread.so.0
#25 0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xafe38b70 (LWP 6694)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5a0ed5e in poll () from /lib/libc.so.6
#2  0xafe3e349 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#3  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#4  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xaf637b70 (LWP 6695)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5459d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a2727c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb2f3b300 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#5  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0xaea4db70 (LWP 6696)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5459d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a2727c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb66c0110 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb2f82f73 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#6  0xb2f94d00 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#7  0xb74c7d9a in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib/libphonon.so.4
#8  0xb74d6948 in ?? () from /usr/lib/libphonon.so.4
#9  0xb74d6032 in ?? () from /usr/lib/libphonon.so.4
#10 0xb74d2729 in ?? () from /usr/lib/libphonon.so.4
#11 0xb5975111 in ?? () from /lib/libc.so.6
#12 0xb597516d in exit () from /lib/libc.so.6
#13 0xb34b0326 in ?? () from /usr/lib/libjpeg.so.62
#14 0xb34a5383 in ?? () from /usr/lib/libjpeg.so.62
#15 0xb34a3750 in ?? () from /usr/lib/libjpeg.so.62
#16 0xb34a1a97 in jpeg_consume_input () from /usr/lib/libjpeg.so.62
#17 0xb34a1e85 in jpeg_read_header () from /usr/lib/libjpeg.so.62
#18 0xad861f11 in mjpeg_decode_data () from /usr/lib/xine/plugins/1.27/xineplug_decode_mjpeg.so
#19 0xb2f3365c in video_decoder_loop () from /usr/lib/libxine.so.1
#20 0xb54556e5 in start_thread () from /lib/libpthread.so.0
#21 0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xae07fb70 (LWP 6697)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb545a0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a272d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb2f347ff in audio_decoder_loop () from /usr/lib/libxine.so.1
#4  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#5  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xad6ffb70 (LWP 6698)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5459d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a2727c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb2f3e594 in xine_event_wait () from /usr/lib/libxine.so.1
#4  0xb2f3e615 in listener_loop () from /usr/lib/libxine.so.1
#5  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#6  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xac3dab70 (LWP 6699)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb545a0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a272d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb2f43e38 in demux_loop () from /usr/lib/libxine.so.1
#4  0xb54556e5 in start_thread () from /lib/libpthread.so.0
#5  0xb5455600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb4da6760 (LWP 5270)):
[KCrash Handler]
#6  0xb5d9c40a in QWidget::paintEngine (this=0x8808930) at kernel/qwidget_x11.cpp:2950
#7  0xb5f39c2b in QWidgetPrivate::repaint_sys (this=0x8803d60, rgn=...) at painting/qbackingstore.cpp:1546
#8  0xb5d4a2d0 in QWidgetPrivate::syncBackingStore (this=0x8803d60) at kernel/qwidget.cpp:1669
#9  0xb5d51384 in QWidget::event (this=0x8808930, event=0x80e19a8) at kernel/qwidget.cpp:8291
#10 0xb2faa00f in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#11 0xb5cf03fc in QApplicationPrivate::notify_helper (this=0x8106d70, receiver=0x8808930, e=0x80e19a8) at kernel/qapplication.cpp:4300
#12 0xb5cf72d8 in QApplication::notify (this=0x8808930, receiver=0x8808930, e=0x80e19a8) at kernel/qapplication.cpp:4265
#13 0xb6d61b81 in KApplication::notify (this=0xbff05cd4, receiver=0x8808930, event=0x80e19a8) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#14 0xb67c8dde in QCoreApplication::notifyInternal (this=0xbff05cd4, receiver=0x8808930, event=0x80e19a8) at kernel/qcoreapplication.cpp:704
#15 0xb67cb7e3 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#17 0xb67cb93c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#18 0xb67f5e4d in sendPostedEvents () at kernel/qcoreapplication.h:220
#19 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#20 0xb528d4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb5290d98 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb5290ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb67f5931 in QEventDispatcherGlib::processEvents (this=0x80e3b08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#24 0xb5db0e0a in QGuiEventDispatcherGlib::processEvents (this=0x80e3b08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0xb67c744d in QEventLoop::processEvents (this=0xbff05c34, flags=) at kernel/qeventloop.cpp:149
#26 0xb67c7899 in QEventLoop::exec (this=0xbff05c34, flags=...) at kernel/qeventloop.cpp:201
#27 0xb67cba10 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0xb5cf04a4 in QApplication::exec () at kernel/qapplication.cpp:3579
#29 0x0807c0ef in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-03-20 14:20:51 UTC
This seems to be a bug in Phonon-Xine + Qt
- Is the file public so you can upload it here to test ?
Thanks
Comment 2 Myriam Schweingruber 2010-04-05 14:54:00 UTC
Please install the debuginfo package for the phonon-backend-xine (see also http://software.opensuse.org/search?baseproject=openSUSE:11.2&p=2&q=phonon-backend-xine ) and try getting another backtrace, there are some missing elements.
Comment 3 matthias sweertvaegher 2010-04-05 15:25:02 UTC
see bug 233351 for the new stacktrace.

@Dario: the movie contains family material so I'm not sure they'd appreciate ;) I could ask though if we'd get really stuck on this bug.

I guess the backend just needs some extra protection against weird formats.
Comment 4 Dario Andres 2010-04-05 15:44:03 UTC
Oh, I misread something in the backtrace:

#12 0xb597516d in exit () from /lib/libc.so.6
#13 0xb34b0326 in ?? () from /usr/lib/libjpeg.so.62
#14 0xb34a5383 in ?? () from /usr/lib/libjpeg.so.62
#15 0xb34a3750 in ?? () from /usr/lib/libjpeg.so.62
#16 0xb34a1a97 in jpeg_consume_input () from /usr/lib/libjpeg.so.62
#17 0xb34a1e85 in jpeg_read_header () from /usr/lib/libjpeg.so.62
#18 0xad861f11 in mjpeg_decode_data () from


It seems the mjpeg decoder  (from Xine) had some problem reading a jpeg frame, and it forced and exit and a crash... So, it is a Xine+libjpeg fault... 

- Could you try to install other players like "xine-ui" and "gxine" and check if they can play the same video or if they crash too ?

Regards
Comment 5 Dario Andres 2010-04-05 15:45:11 UTC
New complete backtrace from bug 233351 (Phonon-Xine shouldn't be guilty in this case):

Thread 10 (Thread 0xb31ceb70 (LWP 7485)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d50c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb59ee2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb260119b in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#5  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 9 (Thread 0xb053db70 (LWP 7698)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d50c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#2  0xb59ee2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb260d27b in interruptable_sleep () from /usr/lib/libxine.so.1
#4  0xb260fbee in video_out_loop () from /usr/lib/libxine.so.1
#5  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#6  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xaf3ffb70 (LWP 7699)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d7899 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb53d2ef1 in _L_lock_765 () from /lib/libpthread.so.0
#3  0xb53d2d09 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb59ee444 in pthread_mutex_lock () from /lib/libc.so.6
#5  0xb261c3b3 in _x_demux_stop_thread () from /usr/lib/libxine.so.1
#6  0xb25fc9cf in close_internal () from /usr/lib/libxine.so.1
#7  0xb25fcba8 in xine_close () from /usr/lib/libxine.so.1
#8  0xb265fd7b in Phonon::Xine::XineStream::event (this=0x8d0e328,
ev=0xb280a528) at /usr/src/debug/phonon-4.4/xine/xinestream.cpp:1250
#9  0xb5cb73fc in QApplicationPrivate::notify_helper (this=0x8106b38,
receiver=0x8d0e328, e=0xb280a528) at kernel/qapplication.cpp:4300
#10 0xb5cbe248 in QApplication::notify (this=0xbfff1ec4, receiver=0x8d0e328,
e=0xb280a528) at kernel/qapplication.cpp:4183
#11 0xb6d25c01 in KApplication::notify (this=0xbfff1ec4, receiver=0x8d0e328,
event=0xb280a528) at
/usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#12 0xb6790dde in QCoreApplication::notifyInternal (this=0xbfff1ec4,
receiver=0x8d0e328, event=0xb280a528) at kernel/qcoreapplication.cpp:704
#13 0xb67937e3 in sendEvent (event=<value optimized out>, receiver=<value
optimized out>) at kernel/qcoreapplication.h:215
#14 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#15 0xb679393c in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1238
#16 0xb67bde4d in sendPostedEvents () at kernel/qcoreapplication.h:220
#17 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#18 0xb52214c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb5224d98 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb5224ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0xb67bd931 in QEventDispatcherGlib::processEvents (this=0x85ce498,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#22 0xb678f44d in QEventLoop::processEvents (this=0xaf3ff2c0, flags=) at
kernel/qeventloop.cpp:149
#23 0xb678f899 in QEventLoop::exec (this=0xaf3ff2c0, flags=...) at
kernel/qeventloop.cpp:201
#24 0xb6684270 in QThread::exec (this=0x82e3028) at thread/qthread.cpp:487
#25 0xb2657c68 in Phonon::Xine::XineThread::run (this=0x82e3028) at
/usr/src/debug/phonon-4.4/xine/xinethread.cpp:143
#26 0xb66870bf in QThreadPrivate::start (arg=0x82e3028) at
thread/qthread_unix.cpp:248
#27 0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#28 0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xaebfeb70 (LWP 7702)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb59d5d5e in poll () from /lib/libc.so.6
#2  0xaf920349 in ao_alsa_handle_event_thread () from
/usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#3  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#4  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xae3fdb70 (LWP 7703)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb59ee27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb2613300 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#5  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0xad813b70 (LWP 7704)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb59ee27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb6688110 in wait (time=<value optimized out>, this=<value optimized out>)
at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized
out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb265ae73 in Phonon::Xine::XineStream::closeBlocking (this=0x8d0e328) at
/usr/src/debug/phonon-4.4/xine/xinestream.cpp:1560
#6  0xb266cdf0 in Phonon::Xine::MediaObject::~MediaObject (this=0x8283a78,
__in_chrg=<value optimized out>) at
/usr/src/debug/phonon-4.4/xine/mediaobject.cpp:109
#7  0xb747ea3a in Phonon::MediaNodePrivate::deleteBackendObject() () from
/usr/lib/libphonon.so.4
#8  0xb748d9d8 in ?? () from /usr/lib/libphonon.so.4
#9  0xb748d0c2 in ?? () from /usr/lib/libphonon.so.4
#10 0xb7489369 in ?? () from /usr/lib/libphonon.so.4
#11 0xb593c111 in ?? () from /lib/libc.so.6
#12 0xb593c16d in exit () from /lib/libc.so.6
#13 0xb3760326 in ?? () from /usr/lib/libjpeg.so.62
#14 0xb3755383 in ?? () from /usr/lib/libjpeg.so.62
#15 0xb3753750 in ?? () from /usr/lib/libjpeg.so.62
#16 0xb3751a97 in jpeg_consume_input () from /usr/lib/libjpeg.so.62
#17 0xb3751e85 in jpeg_read_header () from /usr/lib/libjpeg.so.62
#18 0xaf5e2f11 in mjpeg_decode_data () from
/usr/lib/xine/plugins/1.27/xineplug_decode_mjpeg.so
#19 0xb260b65c in video_decoder_loop () from /usr/lib/libxine.so.1
#20 0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#21 0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xace45b70 (LWP 7705)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb59ee27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb2604d38 in fifo_buffer_get () from /usr/lib/libxine.so.1
#4  0xb260c461 in audio_decoder_loop () from /usr/lib/libxine.so.1
#5  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#6  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xac644b70 (LWP 7706)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb59ee27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb2616594 in xine_event_wait () from /usr/lib/libxine.so.1
#4  0xb2616615 in listener_loop () from /usr/lib/libxine.so.1
#5  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#6  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xab2f4b70 (LWP 7707)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53d4d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb59ee27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb2604c4c in buffer_pool_alloc () from /usr/lib/libxine.so.1
#4  0xb06f7769 in demux_avi_next () from
/usr/lib/xine/plugins/1.27/xineplug_dmx_avi.so
#5  0xb06f8502 in demux_avi_send_chunk () from
/usr/lib/xine/plugins/1.27/xineplug_dmx_avi.so
#6  0xb261bbb5 in demux_loop () from /usr/lib/libxine.so.1
#7  0xb53d06e5 in start_thread () from /lib/libpthread.so.0
#8  0xb53d0600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb4dda700 (LWP 12536)):
[KCrash Handler]
#6  0xb5d6340a in QWidget::paintEngine (this=0xb288e8a8) at
kernel/qwidget_x11.cpp:2950
#7  0xb5f00c2b in QWidgetPrivate::repaint_sys (this=0xb284f870, rgn=...) at
painting/qbackingstore.cpp:1546
#8  0xb5d112d0 in QWidgetPrivate::syncBackingStore (this=0xb284f870) at
kernel/qwidget.cpp:1669
#9  0xb5d18384 in QWidget::event (this=0xb288e8a8, event=0x8394178) at
kernel/qwidget.cpp:8291
#10 0xb2681ddf in Phonon::Xine::VideoWidget::event (this=0xb288e8a8,
ev=0x8394178) at /usr/src/debug/phonon-4.4/xine/videowidget.cpp:466
#11 0xb5cb73fc in QApplicationPrivate::notify_helper (this=0x8106b38,
receiver=0xb288e8a8, e=0x8394178) at kernel/qapplication.cpp:4300
#12 0xb5cbe2d8 in QApplication::notify (this=0xb288e8a8, receiver=0xb288e8a8,
e=0x8394178) at kernel/qapplication.cpp:4265
#13 0xb6d25c01 in KApplication::notify (this=0xbfff1ec4, receiver=0xb288e8a8,
event=0x8394178) at
/usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#14 0xb6790dde in QCoreApplication::notifyInternal (this=0xbfff1ec4,
receiver=0xb288e8a8, event=0x8394178) at kernel/qcoreapplication.cpp:704
#15 0xb67937e3 in sendEvent (event=<value optimized out>, receiver=<value
optimized out>) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#17 0xb679393c in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1238
#18 0xb67bde4d in sendPostedEvents () at kernel/qcoreapplication.h:220
#19 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#20 0xb52214c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb5224d98 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb5224ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb67bd931 in QEventDispatcherGlib::processEvents (this=0x80e35f8,
flags=...) at kernel/qeventdispatcher_glib.cpp:412
#24 0xb5d77e0a in QGuiEventDispatcherGlib::processEvents (this=0x80e35f8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0xb678f44d in QEventLoop::processEvents (this=0xbfff1e24, flags=) at
kernel/qeventloop.cpp:149
#26 0xb678f899 in QEventLoop::exec (this=0xbfff1e24, flags=...) at
kernel/qeventloop.cpp:201
#27 0xb6793a10 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0xb5cb74a4 in QApplication::exec () at kernel/qapplication.cpp:3579
#29 0x0807c4bf in _start ()
Comment 6 Dario Andres 2010-04-05 15:45:39 UTC
*** Bug 233351 has been marked as a duplicate of this bug. ***
Comment 7 matthias sweertvaegher 2010-04-05 16:38:24 UTC
Dario, it seems you were right. Using xine-ui, it crashes too:

mattie@laptop:~/Videos$ xine 2009-07-18\ 14-12-11.avi 
This is xine (X11 gui) - a free video player v0.99.6cvs.
(c) 2000-2007 The xine Team.
minscanline 1
minscanline 1
minscanline 1
minscanline 1
minscanline 1
minscanline 1
Not a JPEG file: starts with 0xff 0xc4

I'll admit the video is generated by some obscure hardware, yet it should not crash the whole thing imho..
Mplayer does play it fine, so I guess they don't use libjpeg then :) 

Here is the new stacktrace for that particular thread with libjpeg debuginfo installed, in case this bug is forwarded upstream:

Thread 5 (Thread 0xaea57b70 (LWP 12991)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5479d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5a9327c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb672d110 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb2750e73 in Phonon::Xine::XineStream::closeBlocking (this=0x8996380) at /usr/src/debug/phonon-4.4/xine/xinestream.cpp:1560
#6  0xb2762df0 in Phonon::Xine::MediaObject::~MediaObject (this=0x8582a00, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4/xine/mediaobject.cpp:109
#7  0xb7523a3a in Phonon::MediaNodePrivate::deleteBackendObject() () from /usr/lib/libphonon.so.4
#8  0xb75329d8 in ?? () from /usr/lib/libphonon.so.4
#9  0xb75320c2 in ?? () from /usr/lib/libphonon.so.4
#10 0xb752e369 in ?? () from /usr/lib/libphonon.so.4
#11 0xb59e1111 in ?? () from /lib/libc.so.6
#12 0xb59e116d in exit () from /lib/libc.so.6
#13 0xb3805326 in error_exit (cinfo=0x8be49d0) at ./jerror.c:78
#14 0xb37fa383 in first_marker (cinfo=<value optimized out>) at ./jdmarker.c:935
#15 read_markers (cinfo=<value optimized out>) at ./jdmarker.c:960
#16 0xb37f8750 in consume_markers (cinfo=0x8be49d0) at ./jdinput.c:296
#17 0xb37f6a97 in jpeg_consume_input (cinfo=0x8be49d0) at ./jdapimin.c:301
#18 0xb37f6e85 in jpeg_read_header (cinfo=0x8be49d0, require_image=1) at ./jdapimin.c:249
#19 0xac627f11 in mjpeg_decode_data () from /usr/lib/xine/plugins/1.27/xineplug_decode_mjpeg.so
#20 0xb270165c in video_decoder_loop () from /usr/lib/libxine.so.1
#21 0xb54756e5 in start_thread () from /lib/libpthread.so.0
#22 0xb5475600 in ?? () from /lib/libpthread.so.0

thanks for your help
Comment 8 Dario Andres 2010-04-05 17:05:54 UTC
Ok, if other Xine-enabled players crash too then this should be addressed in the xine library.

Please, report this issue to http://bugs.xine-project.org/

Unfortunatelly, the will probably ask you for the testcase video file. Try recording a new dummy video and check if it crashes too.. you can use that as a testcase file without sharing any personal situation.

Regards
Comment 9 matthias sweertvaegher 2010-12-06 11:37:40 UTC
for completeness, I post here the related xine bug report. 
https://bugs.xine-project.org/show_bug.cgi?id=344