Bug 261324 - Dragon crashed on resuming [@ Phonon::Xine::AudioDataOutputXT::closePort]
Summary: Dragon crashed on resuming [@ Phonon::Xine::AudioDataOutputXT::closePort]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Xine backend (show other bugs)
Version: 4.4.3 (KDE 4.6.x)
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
: 289451 291165 291168 303566 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-26 22:48 UTC by OsamaK
Modified: 2012-11-16 13:15 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (22.04 KB, text/plain)
2011-11-23 08:43 UTC, Joachim Mairböck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OsamaK 2010-12-26 22:48:47 UTC
Application: dragon (2.0)
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.10-libre.72.fc14.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I couldn't reproduce this bug but it happened when I tried to resume an audio clip.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dragon Player (dragon), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76e9780 (LWP 4745))]

Thread 10 (Thread 0xb13e3b70 (LWP 4746)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x00692d33 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06997e1d in metronom_sync_loop (this=0xa2b6d10) at metronom.c:870
#3  0x0068df19 in start_thread () from /lib/libpthread.so.0
#4  0x001ecc4e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb07d7b70 (LWP 4747)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x001e47a1 in select () from /lib/libc.so.6
#2  0x069c2f69 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#3  0x069a68c7 in video_out_loop (this_gen=0xa24d468) at video_out.c:1246
#4  0x0068df19 in start_thread () from /lib/libpthread.so.0
#5  0x001ecc4e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xaffd6b70 (LWP 4748)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x00692d33 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x069b2574 in _x_demux_control_headers_done (stream=0xab12110) at demux.c:245
#3  0x06995898 in open_internal (stream=0xab12110, mrl=0xab11650 "file://home/osama/Downloads/otm122410d.mp3") at xine.c:1282
#4  xine_open (stream=0xab12110, mrl=0xab11650 "file://home/osama/Downloads/otm122410d.mp3") at xine.c:1299
#5  0x011488a6 in Phonon::Xine::XineStream::xineOpen (this=0xa6cc700, newstate=Phonon::StoppedState) at /usr/src/debug/phonon-4.4.3/xine/xinestream.cpp:262
#6  0x0114b21e in Phonon::Xine::XineStream::getStreamInfo (this=0xa6cc700) at /usr/src/debug/phonon-4.4.3/xine/xinestream.cpp:439
#7  0x0114d8c5 in Phonon::Xine::XineStream::event (this=0xa6cc700, ev=0xa81c068) at /usr/src/debug/phonon-4.4.3/xine/xinestream.cpp:1105
#8  0x0586f26c in QApplicationPrivate::notify_helper (this=0xa0ea100, receiver=0xa6cc700, e=0xa81c068) at kernel/qapplication.cpp:4445
#9  0x05873ed2 in QApplication::notify (this=0xbf90c074, receiver=0xa6cc700, e=0xa81c068) at kernel/qapplication.cpp:3845
#10 0x025da7fb in KApplication::notify (this=0xbf90c074, receiver=0xa6cc700, event=0xa81c068) at /usr/src/debug/kdelibs-4.5.90/kdeui/kernel/kapplication.cpp:311
#11 0x050bd333 in QCoreApplication::notifyInternal (this=0xbf90c074, receiver=0xa6cc700, event=0xa81c068) at kernel/qcoreapplication.cpp:732
#12 0x050c1085 in sendEvent (receiver=0x0, event_type=0, data=0xa6cabe0) at kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa6cabe0) at kernel/qcoreapplication.cpp:1373
#14 0x050c125e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#15 0x050eaeb5 in sendPostedEvents (s=0xa6ca810) at kernel/qcoreapplication.h:220
#16 postEventSourceDispatch (s=0xa6ca810) at kernel/qeventdispatcher_glib.cpp:277
#17 0x00791192 in g_main_dispatch (context=0xa6cb1e8) at gmain.c:2149
#18 g_main_context_dispatch (context=0xa6cb1e8) at gmain.c:2702
#19 0x00791978 in g_main_context_iterate (context=0xa6cb1e8, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#20 0x00791c35 in g_main_context_iteration (context=0xa6cb1e8, may_block=1) at gmain.c:2843
#21 0x050eb02d in QEventDispatcherGlib::processEvents (this=0xa6ca7c0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#22 0x050bc4ca in QEventLoop::processEvents (this=0xaffd6230, flags=...) at kernel/qeventloop.cpp:149
#23 0x050bc77a in QEventLoop::exec (this=0xaffd6230, flags=...) at kernel/qeventloop.cpp:201
#24 0x04fc336b in QThread::exec (this=0xa6cad80) at thread/qthread.cpp:490
#25 0x0114099b in Phonon::Xine::XineThread::run (this=0xa6cad80) at /usr/src/debug/phonon-4.4.3/xine/xinethread.cpp:143
#26 0x04fc5e6a in QThreadPrivate::start (arg=0xa6cad80) at thread/qthread_unix.cpp:285
#27 0x0068df19 in start_thread () from /lib/libpthread.so.0
#28 0x001ecc4e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaa74eb70 (LWP 4751)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x0069298b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x069ab1d8 in fifo_peek_int (this_gen=0xa823128) at audio_out.c:348
#3  fifo_peek (this_gen=0xa823128) at audio_out.c:388
#4  ao_loop (this_gen=0xa823128) at audio_out.c:1015
#5  0x0068df19 in start_thread () from /lib/libpthread.so.0
#6  0x001ecc4e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa9f4db70 (LWP 4752)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x001e1b06 in poll () from /lib/libc.so.6
#2  0x0674c063 in poll_func (ufds=0xa6cdcc0, nfds=1, timeout=-1, userdata=0xa942988) at pulse/thread-mainloop.c:75
#3  0x0673ae7a in pa_mainloop_poll (m=0xa942e18) at pulse/mainloop.c:879
#4  0x0673b655 in pa_mainloop_iterate (m=0xa942e18, block=1, retval=0x0) at pulse/mainloop.c:961
#5  0x0673b734 in pa_mainloop_run (m=0xa942e18, retval=0x0) at pulse/mainloop.c:979
#6  0x0674c004 in thread (userdata=0xa6d3fc0) at pulse/thread-mainloop.c:94
#7  0x067a9973 in internal_thread_func (userdata=0xa942ac8) at pulsecore/thread-posix.c:72
#8  0x0068df19 in start_thread () from /lib/libpthread.so.0
#9  0x001ecc4e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa5709b70 (LWP 4753)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x0069298b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x069ab1d8 in fifo_peek_int (this_gen=0xa945928) at audio_out.c:348
#3  fifo_peek (this_gen=0xa945928) at audio_out.c:388
#4  ao_loop (this_gen=0xa945928) at audio_out.c:1015
#5  0x0068df19 in start_thread () from /lib/libpthread.so.0
#6  0x001ecc4e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa423fb70 (LWP 4757)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x0069298b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06998059 in metronom_handle_video_discontinuity (this=0xab12b70, type=0, disc_off=0) at metronom.c:404
#3  0x069a2dcd in video_decoder_loop (stream_gen=0xab12110) at video_decoder.c:168
#4  0x0068df19 in start_thread () from /lib/libpthread.so.0
#5  0x001ecc4e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa3871b70 (LWP 4758)):
[KCrash Handler]
#7  0x011545f6 in Phonon::Xine::AudioDataOutputXT::closePort (port_gen=0xa9473f0, stream=0xab12110) at /usr/src/debug/phonon-4.4.3/xine/audiodataoutput.cpp:192
#8  0x08cc89fd in mad_dispose (this_gen=0xab61b40) at xine_mad_decoder.c:381
#9  0x069a0c69 in _x_free_audio_decoder (stream=0xab12110, ad=0xab61b40) at load_plugins.c:2081
#10 0x069a3b47 in audio_decoder_loop (stream_gen=0xab12110) at audio_decoder.c:94
#11 0x0068df19 in start_thread () from /lib/libpthread.so.0
#12 0x001ecc4e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa3070b70 (LWP 4759)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x0069298b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x069ade70 in xine_event_wait (queue_gen=0xab547a8) at events.c:56
#3  listener_loop (queue_gen=0xab547a8) at events.c:214
#4  0x0068df19 in start_thread () from /lib/libpthread.so.0
#5  0x001ecc4e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb76e9780 (LWP 4745)):
#0  0x0060f416 in __kernel_vsyscall ()
#1  0x001e1b06 in poll () from /lib/libc.so.6
#2  0x00cca3d0 in _xcb_conn_wait (c=0xa0f3008, cond=0xa0f409c, vector=0xbf90a9a4, count=0xbf90a9a8) at xcb_conn.c:313
#3  0x00cca9d4 in _xcb_out_send (c=0xa0f3008, vector=0xbf90aa48, count=3) at xcb_out.c:338
#4  0x00ccaa78 in xcb_writev (c=0xa0f3008, vector=0xbf90aa48, count=3, requests=3) at xcb_out.c:286
#5  0x00bccd33 in _XSend (dpy=0xa0fccf0, data=0x0, size=0) at xcb_io.c:427
#6  0x00bcd18a in _XFlush (dpy=0xa0fccf0) at xcb_io.c:444
#7  0x00ba4eb2 in XFlush (dpy=0xa0fccf0) at Flush.c:39
#8  0x058e992b in QApplication::setOverrideCursor (cursor=...) at kernel/qapplication_x11.cpp:2849
#9  0x0805f397 in Dragon::VideoWindow::play (this=0xa1e7530, offset=0) at /usr/src/debug/kdemultimedia-4.5.90/dragonplayer/src/app/videoWindow.cpp:224
#10 0x0806ee58 in Dragon::MainWindow::play (this=0xa1a7840) at /usr/src/debug/kdemultimedia-4.5.90/dragonplayer/src/app/mainWindow.cpp:596
#11 0x08073135 in Dragon::MainWindow::qt_metacall (this=0xa1a7840, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf90aca8) at /usr/src/debug/kdemultimedia-4.5.90/i686-redhat-linux-gnu/dragonplayer/src/app/mainWindow.moc:117
#12 0x050c3b6b in QMetaObject::metacall (object=0xa1a7840, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbf90aca8) at kernel/qmetaobject.cpp:237
#13 0x050d3047 in QMetaObject::activate (sender=0xaa87a68, m=0x61b18f8, local_signal_index=1, argv=0xbf90aca8) at kernel/qobject.cpp:3272
#14 0x05867fca in QAction::triggered (this=0xaa87a68, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x0586824b in QAction::activate (this=0xaa87a68, event=QAction::Trigger) at kernel/qaction.cpp:1257
#16 0x05868408 in QAction::event (this=0xaa87a68, e=0xbf90b1d8) at kernel/qaction.cpp:1183
#17 0x024e2864 in KAction::event (this=0xaa87a68, event=0xbf90b1d8) at /usr/src/debug/kdelibs-4.5.90/kdeui/actions/kaction.cpp:131
#18 0x0586f26c in QApplicationPrivate::notify_helper (this=0xa0ea100, receiver=0xaa87a68, e=0xbf90b1d8) at kernel/qapplication.cpp:4445
#19 0x05873ed2 in QApplication::notify (this=0xbf90c074, receiver=0xaa87a68, e=0xbf90b1d8) at kernel/qapplication.cpp:3845
#20 0x025da7fb in KApplication::notify (this=0xbf90c074, receiver=0xaa87a68, event=0xbf90b1d8) at /usr/src/debug/kdelibs-4.5.90/kdeui/kernel/kapplication.cpp:311
#21 0x050bd333 in QCoreApplication::notifyInternal (this=0xbf90c074, receiver=0xaa87a68, event=0xbf90b1d8) at kernel/qcoreapplication.cpp:732
#22 0x058a6bb7 in sendEvent (this=0xa0ea1ac, e=0xbf90b654) at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QShortcutMap::dispatchEvent (this=0xa0ea1ac, e=0xbf90b654) at kernel/qshortcutmap.cpp:879
#24 0x058a80b7 in QShortcutMap::tryShortcutEvent (this=0xa0ea1ac, o=0xa7f7b30, e=0xbf90b654) at kernel/qshortcutmap.cpp:364
#25 0x05875e6d in QApplication::notify (this=0xbf90c074, receiver=0xa7f7b30, e=0xbf90b654) at kernel/qapplication.cpp:3887
#26 0x025da7fb in KApplication::notify (this=0xbf90c074, receiver=0xa7f7b30, event=0xbf90b654) at /usr/src/debug/kdelibs-4.5.90/kdeui/kernel/kapplication.cpp:311
#27 0x050bd333 in QCoreApplication::notifyInternal (this=0xbf90c074, receiver=0xa7f7b30, event=0xbf90b654) at kernel/qcoreapplication.cpp:732
#28 0x0586d2cf in sendSpontaneousEvent (receiver=0xa7f7b30, event=0xbf90b654) at ../../src/corelib/kernel/qcoreapplication.h:218
#29 qt_sendSpontaneousEvent (receiver=0xa7f7b30, event=0xbf90b654) at kernel/qapplication.cpp:5439
#30 0x0591e22e in QKeyMapper::sendKeyEvent (keyWidget=0xa7f7b30, grab=false, type=QEvent::KeyPress, code=32, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1867
#31 0x0591e6b4 in QKeyMapperPrivate::translateKeyEvent (this=0xa113628, keyWidget=0xa7f7b30, event=0xbf90bd1c, grab=false) at kernel/qkeymapper_x11.cpp:1837
#32 0x058f74c2 in QApplication::x11ProcessEvent (this=0xbf90c074, event=0xbf90bd1c) at kernel/qapplication_x11.cpp:3457
#33 0x05922790 in x11EventSourceDispatch (s=0xa0ed3e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#34 0x00791192 in g_main_dispatch (context=0xa0ec498) at gmain.c:2149
#35 g_main_context_dispatch (context=0xa0ec498) at gmain.c:2702
#36 0x00791978 in g_main_context_iterate (context=0xa0ec498, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#37 0x00791c35 in g_main_context_iteration (context=0xa0ec498, may_block=1) at gmain.c:2843
#38 0x050eb02d in QEventDispatcherGlib::processEvents (this=0xa0ea0c0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x05922406 in QGuiEventDispatcherGlib::processEvents (this=0xa0ea0c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#40 0x050bc4ca in QEventLoop::processEvents (this=0xbf90bff4, flags=...) at kernel/qeventloop.cpp:149
#41 0x050bc77a in QEventLoop::exec (this=0xbf90bff4, flags=...) at kernel/qeventloop.cpp:201
#42 0x050c1327 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x0586d078 in QApplication::exec () at kernel/qapplication.cpp:3719
#44 0x0806bfbf in main (argc=) at /usr/src/debug/kdemultimedia-4.5.90/dragonplayer/src/app/main.cpp:57

Reported using DrKonqi
Comment 1 OsamaK 2010-12-26 22:51:53 UTC
It can be related to Bug 239845. In case it is, can someone explain what upstream this bug is in?
Comment 2 Myriam Schweingruber 2011-01-07 13:16:35 UTC
(In reply to comment #1)
> It can be related to Bug 239845. In case it is, can someone explain what
> upstream this bug is in?

As far as I can see this is not related at all, the other bug is about a problem with libavcodec which is provided by the FFmpeg project: http://ffmpeg.org/
Comment 3 Joachim Mairböck 2011-11-23 08:43:14 UTC
Created attachment 65968 [details]
New crash information added by DrKonqi

amarok (2.4.90) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:
Amarok crashed when stopping (using the global shortcut) an mp3 stream which wouldn't play. VLC crashes immediately after loading that stream.

-- Backtrace (Reduced):
#8  0xafcf1491 in Phonon::Xine::AudioDataOutputXT::closePort (port_gen=0x83c4270, stream=0xacf4ebf8) at /usr/src/debug/phonon-backend-xine-4.4.4/xine/audiodataoutput.cpp:192
#9  0x9d11ab3c in mad_dispose () from /usr/lib/xine/plugins/1.30/xineplug_decode_mad.so
#10 0xafc65f1c in _x_free_audio_decoder (stream=0xacf4ebf8, ad=0xa307610) at load_plugins.c:2081
#11 0xafc68e32 in audio_decoder_loop (stream_gen=0xacf4ebf8) at audio_decoder.c:174
[...]
Comment 4 Myriam Schweingruber 2011-12-01 08:59:27 UTC
We are sorry, but the xine backend is unmatained: http://lists.kde.org/?l=kde-announce&m=130744384419151
Please use the phonon-backend-gstreamer or thre phonon-backend-vlc instead.
Comment 5 Myriam Schweingruber 2011-12-20 23:46:14 UTC
*** Bug 289451 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2012-01-10 23:53:23 UTC
*** Bug 291165 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2012-01-10 23:54:28 UTC
*** Bug 291168 has been marked as a duplicate of this bug. ***
Comment 8 Myriam Schweingruber 2012-07-16 22:44:52 UTC
*** Bug 303566 has been marked as a duplicate of this bug. ***