Summary: | Crash at closing while playing a movie (XineStream::closeBlocking) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Phonon | Reporter: | Rafael <EagleScreen> |
Component: | Xine backend | Assignee: | Matthias Kretz <kretz> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | alpha.super-one, andresbajotierra, echidnaman |
Priority: | NOR | ||
Version: | 4.3.0 (KDE 4.2.0) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Crash Report |
Description
Rafael
2009-01-19 18:38:04 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? or, you can try running Dragon from Konsole and after the crash, paste here the shell output (the "ASSERT" line) Seems like a Phonon bug Thanks :) Created attachment 31707 [details]
Crash Report
Also, had Dragon Player when closing after playing a movie.
@Andy: your crash seems to be different. If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace in a NEW report? Thanks :) I can do it with this video: http://files.first-world.info/temp/out-1.ogv And give my this backtrace: Application: Dragon Player (dragon), signal SIGABRT pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S Current language: auto; currently asm [Current thread is 0 (LWP 29942)] Thread 9 (Thread 0x7fff1c5e5910 (LWP 29943)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220 #1 0x00007fff2b97e641 in metronom_sync_loop (this=0x1b5a270) at metronom.c:870 #2 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #3 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #4 0x0000000000000000 in ?? () Thread 8 (Thread 0x7fff1b1a7910 (LWP 29944)): #0 0x00007fff28f01bd2 in select () from /lib/libc.so.6 #1 0x00007fff2b9a6bec in xine_usec_sleep (usec=<value optimized out>) at utils.c:481 #2 0x00007fff2b98b993 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246 #3 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fff1a9a6910 (LWP 29945)): [KCrash Handler] #5 0x00007fff28e68665 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007fff28e69b83 in *__GI_abort () at abort.c:88 #7 0x00007fff28ea4d28 in __libc_message (do_abort=2, fmt=0x7fff28f591f8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #8 0x00007fff28eaa488 in malloc_printerr (action=2, str=0x7fff28f592e8 "munmap_chunk(): invalid pointer", ptr=<value optimized out>) at malloc.c:6196 #9 0x00007fff1cc483d6 in ogg_stream_clear (os=0x7fff140a79c0) at framing.c:208 #10 0x00007fff121e58ac in demux_ogg_dispose (this_gen=<value optimized out>) at demux_ogg.c:1652 #11 0x00007fff2b982497 in _x_free_demux_plugin (stream=<value optimized out>, demux=0x74f9) at load_plugins.c:1465 #12 0x00007fff2b97b4cf in close_internal (stream=0x211ede0) at xine.c:467 #13 0x00007fff2b97b304 in xine_close (stream=0x211ede0) at xine.c:500 #14 0x00007fff21a7652a in Phonon::Xine::XineStream::event (this=0x19f34d0, ev=0x7fff14000e50) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/xinestream.cpp:1238 #15 0x00007fff29ada51d in QApplicationPrivate::notify_helper (this=0x196d150, receiver=0x19f34d0, e=0x7fff14000e50) at kernel/qapplication.cpp:4057 #16 0x00007fff29ae315a in QApplication::notify (this=0x7fff0b1c5480, receiver=0x19f34d0, e=0x7fff14000e50) at kernel/qapplication.cpp:4022 #17 0x00007fff2c2d76ea in KApplication::notify (this=0x7fff0b1c5480, receiver=0x19f34d0, event=0x7fff14000e50) at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307 #18 0x00007fff2a80912b in QCoreApplication::notifyInternal (this=0x7fff0b1c5480, receiver=0x19f34d0, event=0x7fff14000e50) at kernel/qcoreapplication.cpp:606 #19 0x00007fff2a809aef in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a86ca0) at kernel/qcoreapplication.h:213 #20 0x00007fff2a831853 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218 #21 0x00007fff2537c739 in IA__g_main_context_dispatch (context=0x19f26c0) at gmain.c:2144 #22 0x00007fff253800ad in g_main_context_iterate (context=0x19f26c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778 #23 0x00007fff2538025d in IA__g_main_context_iteration (context=0x19f26c0, may_block=1) at gmain.c:2841 #24 0x00007fff2a83144f in QEventDispatcherGlib::processEvents (this=0x19ed3d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324 #25 0x00007fff2a807732 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 446324544}) at kernel/qeventloop.cpp:149 #26 0x00007fff2a807915 in QEventLoop::exec (this=0x7fff1a9a5f80, flags={i = 446324624}) at kernel/qeventloop.cpp:196 #27 0x00007fff2a724e0c in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #28 0x00007fff21a6da8c in Phonon::Xine::XineThread::run (this=0x19f2550) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/xinethread.cpp:143 #29 0x00007fff2a727ee9 in QThreadPrivate::start (arg=0x19f2550) at thread/qthread_unix.cpp:189 #30 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #31 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #32 0x0000000000000000 in ?? () Current language: auto; currently c Thread 6 (Thread 0x7fff19f9b910 (LWP 29948)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fff2b98d510 in fifo_peek_int (fifo=0x19c10c0, blocking=1) at audio_out.c:348 #2 0x00007fff2b98e36c in ao_loop (this_gen=<value optimized out>) at audio_out.c:388 #3 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fff1979a910 (LWP 29949)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fff2b981b33 in fifo_buffer_get (fifo=0x7fff14090c70) at buffer.c:230 #2 0x00007fff2b987b2f in video_decoder_loop (stream_gen=<value optimized out>) at video_decoder.c:130 #3 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Current language: auto; currently asm Thread 4 (Thread 0x7fff189e3910 (LWP 29950)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fff2b981b33 in fifo_buffer_get (fifo=0x7fff14024b60) at buffer.c:230 #2 0x00007fff2b988d37 in audio_decoder_loop (stream_gen=<value optimized out>) at audio_decoder.c:66 #3 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fff13fff910 (LWP 29951)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fff2b9919eb in xine_event_wait (queue=0x7fff140cdb50) at events.c:55 #2 0x00007fff2b991a6e in listener_loop (queue_gen=<value optimized out>) at events.c:214 #3 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fff0ba4b910 (LWP 29962)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fff2b98d510 in fifo_peek_int (fifo=0x213f5b0, blocking=1) at audio_out.c:348 #2 0x00007fff2b98e36c in ao_loop (this_gen=<value optimized out>) at audio_out.c:388 #3 0x00007fff2a4b52f7 in start_thread (arg=<value optimized out>) at pthread_create.c:297 #4 0x00007fff28f087ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fff2cffd750 (LWP 29942)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 #1 0x00007fff2a728cf9 in QWaitCondition::wait (this=0x19f3568, mutex=0x19f3548, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87 #2 0x00007fff21a715bd in Phonon::Xine::XineStream::closeBlocking (this=0x19f34d0) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/xinestream.cpp:1542 #3 0x00007fff21a82c06 in ~MediaObject (this=0x1a86c10) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/mediaobject.cpp:109 #4 0x00007fff2be80663 in ~MediaNodePrivate (this=0x1a070f0) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/phonon/medianode.cpp:74 #5 0x00007fff2be7fac5 in ~MediaObjectPrivate (this=0x1a070f0) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/phonon/mediaobject_p.h:42 #6 0x00007fff2be7d3fb in ~MediaObject (this=0x19bb280) at /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/phonon/mediaobject.cpp:65 #7 0x00007fff2a817888 in QObjectPrivate::deleteChildren (this=0x1a92710) at kernel/qobject.cpp:1845 #8 0x00007fff29b268dc in ~QWidget (this=0x1a92680) at kernel/qwidget.cpp:1366 #9 0x000000000041b774 in ~VideoWindow (this=0x1a92680) at /var/tmp/portage/kde-base/dragonplayer-4.2.4/work/dragonplayer-4.2.4/dragonplayer/src/app/videoWindow.cpp:199 #10 0x000000000042f515 in ~MainWindow (this=0x1a8f160) at /var/tmp/portage/kde-base/dragonplayer-4.2.4/work/dragonplayer-4.2.4/dragonplayer/src/app/mainWindow.cpp:244 #11 0x00007fff2a8193ad in QObject::event (this=0x1a8f160, e=0x80) at kernel/qobject.cpp:1092 #12 0x00007fff29b2ecfb in QWidget::event (this=0x1a8f160, event=0x1a86e50) at kernel/qwidget.cpp:7918 #13 0x00007fff29ebefeb in QMainWindow::event (this=0x1a8f160, event=0x1a86e50) at widgets/qmainwindow.cpp:1402 #14 0x00007fff2c3f9097 in KXmlGuiWindow::event (this=0x19eec1c, ev=0x80) at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kdeui/xmlgui/kxmlguiwindow.cpp:131 #15 0x00007fff29ada51d in QApplicationPrivate::notify_helper (this=0x196d150, receiver=0x1a8f160, e=0x1a86e50) at kernel/qapplication.cpp:4057 #16 0x00007fff29ae315a in QApplication::notify (this=0x7fff0b1c5480, receiver=0x1a8f160, e=0x1a86e50) at kernel/qapplication.cpp:4022 #17 0x00007fff2c2d76ea in KApplication::notify (this=0x7fff0b1c5480, receiver=0x1a8f160, event=0x1a86e50) at /var/tmp/portage/kde-base/kdelibs-4.2.4/work/kdelibs-4.2.4/kdeui/kernel/kapplication.cpp:307 #18 0x00007fff2a80912b in QCoreApplication::notifyInternal (this=0x7fff0b1c5480, receiver=0x1a8f160, event=0x1a86e50) at kernel/qcoreapplication.cpp:606 #19 0x00007fff2a809aef in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x195ab80) at kernel/qcoreapplication.h:213 #20 0x00007fff2a831853 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218 #21 0x00007fff2537c739 in IA__g_main_context_dispatch (context=0x196fc40) at gmain.c:2144 #22 0x00007fff253800ad in g_main_context_iterate (context=0x196fc40, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778 #23 0x00007fff2538025d in IA__g_main_context_iteration (context=0x196fc40, may_block=1) at gmain.c:2841 #24 0x00007fff2a83144f in QEventDispatcherGlib::processEvents (this=0x196d380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324 #25 0x00007fff29b6a768 in QGuiEventDispatcherGlib::processEvents (this=0x19eec1c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #26 0x00007fff2a807732 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 186405872}) at kernel/qeventloop.cpp:149 #27 0x00007fff2a807915 in QEventLoop::exec (this=0x7fff0b1c5430, flags={i = 186405952}) at kernel/qeventloop.cpp:196 #28 0x00007fff2a809d5c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #29 0x000000000042c052 in main (argc=2, argv=<value optimized out>) at /var/tmp/portage/kde-base/dragonplayer-4.2.4/work/dragonplayer-4.2.4/dragonplayer/src/app/main.cpp:58 261 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S It looks a bit different from the first one. Anyways, I'm reassigning to Phonon. What is your Xine version? Thanks No bug with other soft like vlc or mplayer. My lib version is: xine-lib-1.1.16.3 From the second backtrace: #5 0x00007fff28e68665 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #6 0x00007fff28e69b83 in *__GI_abort () at abort.c:88 #7 0x00007fff28ea4d28 in __libc_message (do_abort=2, fmt=0x7fff28f591f8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170 #8 0x00007fff28eaa488 in malloc_printerr (action=2, str=0x7fff28f592e8 "munmap_chunk(): invalid pointer", ptr=<value optimized out>) at malloc.c:6196 Looks like that glibc malloc bug to me. Any thoughts Dario? It seems related to that glibc bug, but it is really tricky so I can't confirm it. *** This bug has been marked as a duplicate of bug 196207 *** |