Bug 263887

Summary: KAlarm crashes when I "try" a display alarm with a wav file
Product: [Unmaintained] phonon-backend-gstreamer Reporter: Aviad <avi.rei>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED DUPLICATE    
Severity: crash CC: martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aviad 2011-01-21 16:22:02 UTC
Application: kalarm (2.4.10)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.10-74.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
1. Create a new display alarm.
2. In the drop-down "Sound" menu: Sound file
3. Choose a wav file.
4. OK
5. Try.
6. Boom

The crash can be reproduced every time.

-- Backtrace:
Application: KAlarm (kalarm), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff128ab9840 (LWP 3292))]

Thread 5 (Thread 0x7ff11a28d700 (LWP 9754)):
[KCrash Handler]
#6  0x00007ff119624689 in snd_pcm_ioplug_close (pcm=<value optimized out>) at pcm_ioplug.c:743
#7  0x00007ff1195e2db5 in snd_pcm_close (pcm=0x7ff10c40c780) at pcm.c:706
#8  0x00007ff118cba8e5 in gst_alsasink_close (asink=0x7ff10c2c8180 [GstAlsaSink]) at gstalsasink.c:798
#9  0x00007ff118edcf5c in gst_audioringbuffer_close_device (buf=<value optimized out>) at gstaudiosink.c:365
#10 0x00007ff118ecf023 in gst_ring_buffer_close_device (buf=0x7ff10c217470 [GstAudioSinkRingBuffer]) at gstringbuffer.c:687
#11 0x00007ff118ed9886 in gst_base_audio_sink_change_state (element=0x7ff10c2c8180 [GstAlsaSink], transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:1967
#12 0x0000003fb444729c in gst_element_change_state (element=<value optimized out>, transition=<value optimized out>) at gstelement.c:2603
#13 0x0000003fb4447c82 in gst_element_set_state_func (element=0x7ff10c2c8180 [GstAlsaSink], state=GST_STATE_NULL) at gstelement.c:2559
#14 0x00007ff1190fb7aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x7ff10c078600, newDevice=...) at /usr/src/debug/phonon-4.4.3/gstreamer/audiooutput.cpp:223
#15 0x00000033c6831bac in callSetOutputDevice (this=0x7ff10c256800) at /usr/src/debug/phonon-4.4.3/phonon/audiooutput.cpp:71
#16 Phonon::AudioOutputPrivate::setupBackendObject (this=0x7ff10c256800) at /usr/src/debug/phonon-4.4.3/phonon/audiooutput.cpp:315
#17 0x00000033c68321ec in Phonon::AudioOutputPrivate::createBackendObject (this=0x7ff10c256800) at /usr/src/debug/phonon-4.4.3/phonon/audiooutput.cpp:140
#18 0x00000033c682e9f7 in Phonon::AudioOutputPrivate::init (this=0x7ff10c256800, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.4.3/phonon/audiooutput.cpp:107
#19 0x00000000004a06ec in AudioThread::run (this=0x29ccfd0) at /usr/src/debug/kdepim-4.4.9/kalarm/messagewin.cpp:1483
#20 0x00000033c16726ee in QThreadPrivate::start (arg=0x29ccfd0) at thread/qthread_unix.cpp:285
#21 0x0000003f9b606d5b in start_thread () from /lib64/libpthread.so.0
#22 0x0000003f9aae4a7d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff118aa9700 (LWP 9758)):
#0  0x0000003f9b60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003fb4488c80 in gst_task_func (task=0x7ff10c2aa040 [GstTask]) at gsttask.c:259
#2  0x0000003f9c66bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#3  0x0000003f9c669446 in g_thread_create_proxy (data=0x7ff10c2a3de0) at gthread.c:1897
#4  0x0000003f9b606d5b in start_thread () from /lib64/libpthread.so.0
#5  0x0000003f9aae4a7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff103ffd700 (LWP 9759)):
#0  0x0000003f9aadb083 in poll () from /lib64/libc.so.6
#1  0x0000003aa8a2c3bf in poll_func (ufds=0x7ff0fc002780, nfds=2, timeout=-1, userdata=0x7ff10c2c86e0) at pulse/thread-mainloop.c:75
#2  0x0000003aa8a1e166 in pa_mainloop_poll (m=0x7ff10c2c9020) at pulse/mainloop.c:879
#3  0x0000003aa8a1e799 in pa_mainloop_iterate (m=0x7ff10c2c9020, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x0000003aa8a1e850 in pa_mainloop_run (m=0x7ff10c2c9020, retval=0x0) at pulse/mainloop.c:979
#5  0x0000003aa8a2c35b in thread (userdata=<value optimized out>) at pulse/thread-mainloop.c:94
#6  0x0000003aa8638888 in internal_thread_func (userdata=0x7ff10c2ca0e0) at pulsecore/thread-posix.c:72
#7  0x0000003f9b606d5b in start_thread () from /lib64/libpthread.so.0
#8  0x0000003f9aae4a7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff104998700 (LWP 9760)):
#0  0x0000003f9b60b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003fb4c128ef in gst_base_sink_wait_preroll (sink=0x7ff10c014c00 [GstFakeSink]) at gstbasesink.c:2163
#2  0x0000003fb4c12a52 in gst_base_sink_do_preroll (sink=0x7ff10c014c00 [GstFakeSink], obj=0x7ff110004090 [GstBuffer]) at gstbasesink.c:2220
#3  0x0000003fb4c147af in gst_base_sink_do_sync (basesink=0x7ff10c014c00 [GstFakeSink], is_list=0, obj=0x7ff110004090, pad=<value optimized out>) at gstbasesink.c:2385
#4  gst_base_sink_render_object (basesink=0x7ff10c014c00 [GstFakeSink], is_list=0, obj=0x7ff110004090, pad=<value optimized out>) at gstbasesink.c:2799
#5  0x0000003fb4c1672e in gst_base_sink_queue_object_unlocked (basesink=0x7ff10c014c00 [GstFakeSink], is_list=0, obj=0x7ff110004090, prerollable=<value optimized out>, pad=<value optimized out>) at gstbasesink.c:3111
#6  0x0000003fb4c16a86 in gst_base_sink_chain_unlocked (basesink=0x7ff10c014c00 [GstFakeSink], is_list=0, obj=0x7ff110004090, pad=<value optimized out>) at gstbasesink.c:3485
#7  0x0000003fb4c16ebe in gst_base_sink_chain_main (basesink=0x7ff10c014c00 [GstFakeSink], pad=0x7ff10c215090 [GstPad], is_list=0, obj=0x7ff110004090) at gstbasesink.c:3523
#8  0x0000003fb445f96d in gst_pad_chain_data_unchecked (pad=0x7ff10c215090 [GstPad], is_buffer=1, data=0x7ff110004090) at gstpad.c:4190
#9  0x0000003fb4460136 in gst_pad_push_data (pad=0x7ff10c25c1c0 [GstPad], is_buffer=1, data=0x7ff110004090) at gstpad.c:4419
#10 0x00007ff11809430f in gst_tee_chain (pad=<value optimized out>, buffer=0x7ff110004090 [GstBuffer]) at gsttee.c:824
#11 0x0000003fb445f96d in gst_pad_chain_data_unchecked (pad=0x7ff10c215510 [GstPad], is_buffer=1, data=0x7ff110004090) at gstpad.c:4190
#12 0x0000003fb4460136 in gst_pad_push_data (pad=0x7ff10c215b10 [GstPad], is_buffer=1, data=0x7ff110004090) at gstpad.c:4419
#13 0x00007ff118088e43 in gst_queue_push_one (pad=<value optimized out>) at gstqueue.c:1144
#14 gst_queue_loop (pad=<value optimized out>) at gstqueue.c:1260
#15 0x0000003fb4488c46 in gst_task_func (task=0x7ff10c2aa640 [GstTask]) at gsttask.c:271
#16 0x0000003f9c66bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#17 0x0000003f9c669446 in g_thread_create_proxy (data=0x7ff11006b890) at gthread.c:1897
#18 0x0000003f9b606d5b in start_thread () from /lib64/libpthread.so.0
#19 0x0000003f9aae4a7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff128ab9840 (LWP 3292)):
#0  0x0000003f9b60e1ac in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x0000003f9b6094a4 in _L_lock_997 () from /lib64/libpthread.so.0
#2  0x0000003f9b6092ba in pthread_mutex_lock () from /lib64/libpthread.so.0
#3  0x0000003f9c66989c in g_static_rec_mutex_lock (mutex=0x7ff10c06f280) at gthread.c:1424
#4  0x0000003fb4434a31 in gst_bin_element_set_state (element=0x7ff10c2582e0 [GstBin], transition=9) at gstbin.c:2111
#5  gst_bin_change_state_func (element=0x7ff10c2582e0 [GstBin], transition=9) at gstbin.c:2483
#6  0x0000003fb444729c in gst_element_change_state (element=<value optimized out>, transition=<value optimized out>) at gstelement.c:2603
#7  0x0000003fb4447c82 in gst_element_set_state_func (element=0x7ff10c2582e0 [GstBin], state=GST_STATE_NULL) at gstelement.c:2559
#8  0x00007ff1190fa3fa in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0x7ff10c078600, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.3/gstreamer/audiooutput.cpp:97
#9  0x00007ff1190fa459 in Phonon::Gstreamer::AudioOutput::~AudioOutput (this=0x7ff10c078600, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.3/gstreamer/audiooutput.cpp:100
#10 0x00000033c6829574 in Phonon::MediaNodePrivate::deleteBackendObject (this=0x7ff10c256800) at /usr/src/debug/phonon-4.4.3/phonon/medianode.cpp:81
#11 0x00000033c6839148 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x7ff10c002390, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.3/phonon/factory.cpp:215
#12 0x00000033c68393f9 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x7ff10c002390, __in_chrg=<value optimized out>) at /usr/src/debug/phonon-4.4.3/phonon/factory.cpp:225
#13 0x0000003f9aa379b1 in exit () from /lib64/libc.so.6
#14 0x00000033c2a23e08 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:773
#15 0x0000003df821f328 in KApplication::xioErrhandler (this=0x203a220, dpy=0x204e660) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:416
#16 0x0000003f9ce4686e in _XIOError (dpy=0x204e660) at XlibInt.c:3140
#17 0x0000003f9ce4d8bd in _XEventsQueued (dpy=0x204e660, mode=<value optimized out>) at xcb_io.c:306
#18 0x0000003f9ce365df in XEventsQueued (dpy=0x204e660, mode=2) at Pending.c:43
#19 0x00000033c2a5c3ec in x11EventSourceCheck (s=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:85
#20 0x0000003f9c641ab8 in g_main_context_check (context=0x2045520, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2658
#21 0x0000003f9c642392 in g_main_context_iterate (context=0x2045520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2777
#22 0x0000003f9c6428ad in g_main_context_iteration (context=0x2045520, may_block=1) at gmain.c:2843
#23 0x00000033c17868bf in QEventDispatcherGlib::processEvents (this=0x200ee80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x00000033c2a5c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#25 0x00000033c175ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00000033c175ad8c in QEventLoop::exec (this=0x7fffdae9aca0, flags=...) at kernel/qeventloop.cpp:201
#27 0x00000033c2e70bfe in QDialog::exec (this=0x28cb2e0) at dialogs/qdialog.cpp:552
#28 0x00000000004d1f5e in KAlarm::editAlarm (event=0x22c9ef0, parent=0x2277990) at /usr/src/debug/kdepim-4.4.9/kalarm/functions.cpp:1060
#29 0x0000000000492767 in MainWindow::qt_metacall (this=0x2277990, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdae9ae90) at /usr/src/debug/kdepim-4.4.9/x86_64-redhat-linux-gnu/kalarm/mainwindow.moc:156
#30 0x00000033c177004f in QMetaObject::activate (sender=0x2344b20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffdae9ae90) at kernel/qobject.cpp:3272
#31 0x00000033c29b1252 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#32 0x00000033c29b144a in QAction::activate (this=0x2344b20, event=<value optimized out>) at kernel/qaction.cpp:1257
#33 0x00000033c2d7222a in QAbstractButtonPrivate::click (this=0x2388310) at widgets/qabstractbutton.cpp:528
#34 0x00000033c2d724dc in QAbstractButton::mouseReleaseEvent (this=0x23a8d00, e=0x7fffdae9b820) at widgets/qabstractbutton.cpp:1121
#35 0x00000033c2e2ecfa in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#36 0x00000033c2a08fe8 in QWidget::event (this=0x23a8d00, event=0x7fffdae9b820) at kernel/qwidget.cpp:8200
#37 0x00000033c29b78c4 in QApplicationPrivate::notify_helper (this=0x2040660, receiver=0x23a8d00, e=0x7fffdae9b820) at kernel/qapplication.cpp:4445
#38 0x00000033c29bcc5a in QApplication::notify (this=<value optimized out>, receiver=0x23a8d00, e=0x7fffdae9b820) at kernel/qapplication.cpp:4006
#39 0x0000003df8220596 in KApplication::notify (this=0x203a220, receiver=0x23a8d00, event=0x7fffdae9b820) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#40 0x00000033c175b7ac in QCoreApplication::notifyInternal (this=0x203a220, receiver=0x23a8d00, event=0x7fffdae9b820) at kernel/qcoreapplication.cpp:732
#41 0x00000033c29b88c5 in sendEvent (receiver=0x23a8d00, event=0x7fffdae9b820, alienWidget=0x23a8d00, nativeWidget=0x238bf50, buttonDown=0x33c348b938, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#42 QApplicationPrivate::sendMouseEvent (receiver=0x23a8d00, event=0x7fffdae9b820, alienWidget=0x23a8d00, nativeWidget=0x238bf50, buttonDown=0x33c348b938, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#43 0x00000033c2a36868 in QETWidget::translateMouseEvent (this=0x238bf50, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#44 0x00000033c2a34f49 in QApplication::x11ProcessEvent (this=0x203a220, event=0x7fffdae9c170) at kernel/qapplication_x11.cpp:3564
#45 0x00000033c2a5c896 in x11EventSourceDispatch (s=0x20465b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#46 0x0000003f9c641e33 in g_main_dispatch (context=0x2045520) at gmain.c:2149
#47 g_main_context_dispatch (context=0x2045520) at gmain.c:2702
#48 0x0000003f9c642610 in g_main_context_iterate (context=0x2045520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#49 0x0000003f9c6428ad in g_main_context_iteration (context=0x2045520, may_block=1) at gmain.c:2843
#50 0x00000033c17868bf in QEventDispatcherGlib::processEvents (this=0x200ee80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#51 0x00000033c2a5c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#52 0x00000033c175ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00000033c175ad8c in QEventLoop::exec (this=0x7fffdae9c480, flags=...) at kernel/qeventloop.cpp:201
#54 0x00000033c175f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#55 0x000000000045724f in main (argc=3, argv=0x7fffdae9d3b8) at /usr/src/debug/kdepim-4.4.9/kalarm/main.cpp:127

Possible duplicates by query: bug 248238, bug 244191, bug 237744.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-01-21 17:22:46 UTC

*** This bug has been marked as a duplicate of bug 232068 ***
Comment 2 Myriam Schweingruber 2011-04-27 21:19:07 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.