Bug 273155 - dragon player crashes always in a certain place of a DVD
Summary: dragon player crashes always in a certain place of a DVD
Status: RESOLVED FIXED
Alias: None
Product: dragonplayer
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 23:11 UTC by Piotr Mitas
Modified: 2011-11-22 12:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mitas 2011-05-12 23:11:17 UTC
Application: dragon (2.0)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-pf8 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
The dvd in question is a concert DVD "Strong Together" by Quidam. It used to work well, I was watching it a few months ago and it was working then.

The crash can be reproduced every time.

-- Backtrace:
Application: Dragon Player (dragon), signal: Segmentation fault
pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
162	62:	movl	(%rsp), %edi
[Current thread is 1 (Thread 0x7f5b15071760 (LWP 8299))]

Thread 7 (Thread 0x7f5ad8399700 (LWP 8306)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b039bce30 in LoopRequest (data=0x2accf80) at playlist/thread.c:539
#2  Thread (data=0x2accf80) at playlist/thread.c:586
#3  0x00007f5affcf2853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#4  0x00007f5b0ff86d4c in start_thread (arg=0x7f5ad8399700) at pthread_create.c:301
#5  0x00007f5b11b3040d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f5ad8298700 (LWP 8312)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b039ce284 in DecoderFlush (p_dec=0x7f5ad4119050) at input/decoder.c:935
#2  0x00007f5b039ce7e4 in input_DecoderStartBuffering (p_dec=0x7f5ad4119050) at input/decoder.c:511
#3  0x00007f5b039d1449 in EsOutChangePosition (out=<value optimized out>) at input/es_out.c:610
#4  0x00007f5b039d3c89 in EsOutControlLocked (out=0x7f5ad40171e0, i_query=8, args=0x7f5ad8297190) at input/es_out.c:2375
#5  EsOutControl (out=0x7f5ad40171e0, i_query=8, args=0x7f5ad8297190) at input/es_out.c:2702
#6  0x00007f5b039d625a in es_out_vaControl (out=<value optimized out>, i_query=<value optimized out>) at ../include/vlc_es_out.h:126
#7  es_out_Control (out=<value optimized out>, i_query=<value optimized out>) at ../include/vlc_es_out.h:135
#8  0x00007f5b039d79be in ControlLocked (p_out=<value optimized out>, i_query=<value optimized out>, args=<value optimized out>) at input/es_out_timeshift.c:620
#9  Control (p_out=<value optimized out>, i_query=<value optimized out>, args=<value optimized out>) at input/es_out_timeshift.c:718
#10 0x00007f5ada22295a in es_out_vaControl (out=<value optimized out>, i_query=<value optimized out>) at ../../include/vlc_es_out.h:126
#11 es_out_Control (out=<value optimized out>, i_query=<value optimized out>) at ../../include/vlc_es_out.h:135
#12 0x00007f5ada225cc8 in Demux (p_demux=0x2c14530) at dvdnav.c:751
#13 0x00007f5b039df0d8 in demux_Demux (p_input=0x7f5ad40143a0, b_interactive=<value optimized out>) at input/demux.h:48
#14 MainLoopDemux (p_input=0x7f5ad40143a0, b_interactive=<value optimized out>) at input/input.c:584
#15 MainLoop (p_input=0x7f5ad40143a0, b_interactive=<value optimized out>) at input/input.c:757
#16 0x00007f5b039df7d5 in Run (p_this=0x7f5ad40143a0) at input/input.c:546
#17 0x00007f5b03a0fb04 in thread_entry (data=<value optimized out>) at misc/threads.c:58
#18 0x00007f5affcf2853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#19 0x00007f5b0ff86d4c in start_thread (arg=0x7f5ad8298700) at pthread_create.c:301
#20 0x00007f5b11b3040d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f5ad8145700 (LWP 8313)):
[KCrash Handler]
#6  mpeg_decode_frame (avctx=0x7f5ad4119a40, data=0x7f5ad411a380, data_size=0x7f5ad8144b3c, avpkt=0x0) at libavcodec/mpeg12.c:2269
#7  0x00007f5af5356598 in avcodec_decode_video2 (avctx=0x7f5ad4119a40, picture=0x7f5ad411a380, got_picture_ptr=0x7f5ad8144b3c, avpkt=0x0) at libavcodec/utils.c:708
#8  0x00007f5ae5f338a1 in DecodeVideo (p_dec=0x7f5ad4119050, pp_block=<value optimized out>) at video.c:555
#9  0x00007f5b039cd910 in DecoderDecodeVideo (p_dec=0x7f5ad4119050, p_block=0x2f06420) at input/decoder.c:1466
#10 0x00007f5b039cd49b in DecoderProcessVideo (p_dec=0x7f5ad4119050, p_block=<value optimized out>) at input/decoder.c:1819
#11 DecoderProcess (p_dec=0x7f5ad4119050, p_block=<value optimized out>) at input/decoder.c:2007
#12 0x00007f5b039cd6db in DecoderThread (p_this=0x7f5ad4119050) at input/decoder.c:892
#13 0x00007f5b03a0fb04 in thread_entry (data=<value optimized out>) at misc/threads.c:58
#14 0x00007f5affcf2853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#15 0x00007f5b0ff86d4c in start_thread (arg=0x7f5ad8145700) at pthread_create.c:301
#16 0x00007f5b11b3040d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f5ad3724700 (LWP 8314)):
#0  0x00007f5b11b275e3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5b0ba1ab5a in _xcb_conn_wait (c=0x2ed7280, cond=<value optimized out>, vector=0x7f5ad37238c8, count=0x7f5ad37238c4) at xcb_conn.c:313
#2  0x00007f5b0ba1b0c1 in _xcb_out_send (c=0x2ed7280, vector=0x7f5ad3723900, count=1) at xcb_out.c:338
#3  0x00007f5b0ba1b1e9 in _xcb_out_flush_to (c=0x7f5ad3723870, request=614) at xcb_out.c:356
#4  0x00007f5b0ba1c80a in xcb_wait_for_reply (c=0x2ed7280, request=614, e=0x7f5ad37239e8) at xcb_in.c:359
#5  0x00007f5b0ba1c877 in xcb_request_check (c=0x2ed7280, cookie=...) at xcb_in.c:570
#6  0x00007f5af9d6d5ed in Display (vd=0x2ec52e0, pic=0x2ec8600) at xcb/xvideo.c:701
#7  0x00007f5afa37ae05 in vout_display_Display (vout=<value optimized out>, picture=0x2c9d658) at ../../include/vlc_vout_wrapper.h:54
#8  Display (vout=<value optimized out>, picture=0x2c9d658) at wrapper.c:415
#9  0x00007f5b039ecd76 in RunThread (p_this=0x2c9b050) at video_output/video_output.c:1222
#10 0x00007f5affcf2853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#11 0x00007f5b0ff86d4c in start_thread (arg=0x7f5ad3724700) at pthread_create.c:301
#12 0x00007f5b11b3040d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f5ad3522700 (LWP 8316)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5afd7f42ae in Thread (data=0x2ec8bb0) at inhibit/xdg.c:128
#2  0x00007f5affcf2853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#3  0x00007f5b0ff86d4c in start_thread (arg=0x7f5ad3522700) at pthread_create.c:301
#4  0x00007f5b11b3040d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f5ad27ba700 (LWP 8330)):
#0  0x00007f5b0ff89364 in __pthread_mutex_lock (mutex=0x2ee0e58) at pthread_mutex_lock.c:61
#1  0x00007f5b0dc75808 in g_main_context_prepare (context=0x2ee0e50, priority=0x7f5ad27b9c0c) at gmain.c:2763
#2  0x00007f5b0dc766e9 in g_main_context_iterate (context=0x2ee0e50, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3071
#3  0x00007f5b0dc76d8d in g_main_context_iteration (context=0x2ee0e50, may_block=1) at gmain.c:3154
#4  0x00007f5b124fded6 in QEventDispatcherGlib::processEvents (this=0x2b60220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5b124d2322 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5b124d2564 in QEventLoop::exec (this=0x7f5ad27b9d20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f5b123e86a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f5b124b3f08 in QInotifyFileSystemWatcherEngine::run (this=0x2ee07a0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5b123eaef5 in QThreadPrivate::start (arg=0x2ee07a0) at thread/qthread_unix.cpp:320
#10 0x00007f5affcf2853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#11 0x00007f5b0ff86d4c in start_thread (arg=0x7f5ad27ba700) at pthread_create.c:301
#12 0x00007f5b11b3040d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5b15071760 (LWP 8299)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5b123eb5db in wait (this=<value optimized out>, mutex=0x2ee0930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ee0930, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5b123ea6a1 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007f5b124a7870 in QFileSystemWatcher::~QFileSystemWatcher (this=0x2ee0680, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007f5b124a7949 in QFileSystemWatcher::~QFileSystemWatcher (this=0x2ee0680, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007f5b124e5864 in QObjectPrivate::deleteChildren (this=0x2ee05e0) at kernel/qobject.cpp:1955
#7  0x00007f5b124ea352 in QObject::~QObject (this=0x2ca0570, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f5b13edcae9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x2ca0570, __in_chrg=<value optimized out>) at /usr/src/debug/kde-base/kdelibs-4.6.3-r1/kdelibs-4.6.3/solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007f5b11a8e521 in __run_exit_handlers (status=1, listp=0x7f5b11ddf4c8, run_list_atexit=true) at exit.c:78
#10 0x00007f5b11a8e575 in exit (status=45420220) at exit.c:100
#11 0x00007f5b1318e4b8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#12 0x00007f5b145caad8 in KApplication::xioErrhandler (this=0x7fff3b25de70, dpy=0x247f610) at /usr/src/debug/kde-base/kdelibs-4.6.3-r1/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:419
#13 0x00007f5b107ffe6e in _XIOError (dpy=0x247f610) at /usr/src/debug/x11-libs/libX11-1.4.3/libX11-1.4.3/src/XlibInt.c:1618
#14 0x00007f5b107fd72d in _XEventsQueued (dpy=0x247f610, mode=<value optimized out>) at /usr/src/debug/x11-libs/libX11-1.4.3/libX11-1.4.3/src/xcb_io.c:307
#15 0x00007f5b107ee0cf in XEventsQueued (dpy=0x247f610, mode=2) at /usr/src/debug/x11-libs/libX11-1.4.3/libX11-1.4.3/src/Pending.c:43
#16 0x00007f5b131c6b3c in x11EventSourceCheck (s=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f5b0dc75f6e in g_main_context_check (context=0x2479ce0, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2961
#18 0x00007f5b0dc7687a in g_main_context_iterate (context=0x2479ce0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3088
#19 0x00007f5b0dc76d8d in g_main_context_iteration (context=0x2479ce0, may_block=1) at gmain.c:3154
#20 0x00007f5b124fde7f in QEventDispatcherGlib::processEvents (this=0x2459f50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f5b131c6cee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f5b124d2322 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f5b124d2564 in QEventLoop::exec (this=0x7fff3b25de20, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f5b124d69cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x000000000042ab37 in main (argc=2, argv=<value optimized out>) at /usr/src/debug/kde-base/dragonplayer-4.6.3/dragonplayer-4.6.3/dragonplayer/src/app/main.cpp:57

Reported using DrKonqi
Comment 1 Aakash 2011-11-22 00:52:14 UTC
Seems there is some issue with the hardware related classes
#8  0x00007f5b13edcae9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher
(this=0x2ca0570, __in_chrg=<value optimized out>) at
/usr/src/debug/kde-base/kdelibs-4.6.3-r1/kdelibs-4.6.3/solid/solid/backends/fstab/fstabwatcher.cpp:51
Comment 2 Myriam Schweingruber 2011-11-22 08:44:07 UTC
The crash is in Thread 5 and mpeg_decode_frame related, could the DVD be corrupted? Does it play with VLC? In any case this is not a problem of dragonplayer but of the avcodec.
Comment 3 Piotr Mitas 2011-11-22 12:38:20 UTC
This 6 month old crash turned out to be a bug in ffmpeg IIRC.