Bug 201481 - Test the output device (PulseAudio Sound Server) in Systemsettings -> Multimedia cause systemsetting to crash
Summary: Test the output device (PulseAudio Sound Server) in Systemsettings -> Multim...
Status: RESOLVED FIXED
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-25 20:26 UTC by Gabriel Ramirez
Modified: 2011-04-27 21:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Ramirez 2009-07-25 20:26:52 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-213.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
using GSstreamer backend ( KDE 4.3 rc3 updated from rc2) in Systemsettings/Multimedia AudioOutput (Music) the following Device output is shown: 
HDA Intel  (ALC269 Analog)
PulseAudio Sound Server
Default
default
hw 0:0

steps to crash:
select PulseAudio Sound Server
press test button 
the computer begin to play the test sound meanwhile  shows the following Notification
"The Audio Device Playback HDA Intel (ALC269 Analog) does not work  failling back to default" 

and after end playback the systemsettings application crash and  the bug reporter open

Note1: two devices named Default and default exists in ther listing , and the notification shows the "default" as the one  working.

Note2: selecting the device HDA Intel (ALC269 Analog) and pressing  Test , plays the sound and shows the same notification above but no crashing ocurrs

Note3 selecting any of Default, default or hw 0.0 and pressing the Test buttons plays the sound as expected witout any notification shown.

 -- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0x01e914cb in gst_element_get_state () from /usr/lib/libgstreamer-0.10.so.0
#7  0x01df71c5 in Phonon::Gstreamer::MediaObject::setState (this=0x9de8168, newstate=Phonon::StoppedState) at ../../../3rdparty/phonon/gstreamer/mediaobject.cpp:575
#8  0x01df90e8 in Phonon::Gstreamer::MediaObject::handleEndOfStream (this=0x9de8168) at ../../../3rdparty/phonon/gstreamer/mediaobject.cpp:1387
#9  0x01dfbc17 in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0x9de8168, message=@0xbfb97af8) at ../../../3rdparty/phonon/gstreamer/mediaobject.cpp:1171
#10 0x01deacbe in Phonon::Gstreamer::Backend::handleBusMessage (this=0x9fb5098, message={m_message = 0x9fbeb98, m_source = 0x9de8168}) at ../../../3rdparty/phonon/gstreamer/backend.cpp:396
#11 0x01dead71 in Phonon::Gstreamer::Backend::qt_metacall (this=0x9fb5098, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9de0cb8) at .moc/release-shared/moc_backend.cpp:76
#12 0x0250f8fb in QMetaCallEvent::placeMetaCall (this=0xa157690, object=0x9fb5098) at kernel/qobject.cpp:477
#13 0x02510fee in QObject::event (this=0x9fb5098, e=0xa157690) at kernel/qobject.cpp:1111
#14 0x011025b4 in QApplicationPrivate::notify_helper (this=0x9b90ee0, receiver=0x9fb5098, e=0xa157690) at kernel/qapplication.cpp:4056
#15 0x01109c3e in QApplication::notify (this=0xbfb982cc, receiver=0x9fb5098, e=0xa157690) at kernel/qapplication.cpp:4021
#16 0x005ffa1a in KApplication::notify (this=0xbfb982cc, receiver=0x9fb5098, event=0xa157690) at /usr/src/debug/kdelibs-4.2.98/kdeui/kernel/kapplication.cpp:302
#17 0x02500f2b in QCoreApplication::notifyInternal (this=0xbfb982cc, receiver=0x9fb5098, event=0xa157690) at kernel/qcoreapplication.cpp:610
#18 0x02501b48 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#19 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#20 0x02501d1d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#21 0x0252bd8f in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:218
#22 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:210
#23 0x05d92cf8 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#24 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#25 0x05d96370 in g_main_context_iterate (context=0x9b96510, block=<value optimized out>, dispatch=1, self=0x9b912c8) at gmain.c:2455
#26 0x05d964a3 in IA__g_main_context_iteration (context=0x9b96510, may_block=1) at gmain.c:2518
#27 0x0252b9bc in QEventDispatcherGlib::processEvents (this=0x9b75890, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#28 0x011a1645 in QGuiEventDispatcherGlib::processEvents (this=0x9b75890, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#29 0x024ff519 in QEventLoop::processEvents (this=0xbfb98224, flags={i = 36}) at kernel/qeventloop.cpp:149
#30 0x024ff96a in QEventLoop::exec (this=0xbfb98224, flags={i = 0}) at kernel/qeventloop.cpp:201
#31 0x02501ddf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#32 0x01102437 in QApplication::exec () at kernel/qapplication.cpp:3525
#33 0x0805265e in main (argc=5, argv=0xbfb98414) at /usr/src/debug/kdebase-workspace-4.2.98/systemsettings/app/main.cpp:51

Reported using DrKonqi
Comment 1 Gabriel Ramirez 2009-07-26 00:14:49 UTC
the first time I don't have the debuginfo for /usr/lib/gstreamer so I generate
another backtrace, 

#6  0x01d514cb in gst_element_get_state (element=0x6f727473, state=0xbfb74a38,
pending=0x0, timeout=1000) at gstelement.c:2001

the next number lines are the same as bug opener
Comment 2 Rex Dieter 2009-08-12 17:01:55 UTC
In particular, gstreamer backend seems to always use/fallback-to alsa-plugin-pulseaudio, and not use other higher priority items like gstreamer-pulseaudi.

See also downstream report,
https://bugzilla.redhat.com/show_bug.cgi?id=513421
Comment 3 Myriam Schweingruber 2010-04-05 13:42:40 UTC
I can't reproduce this here, using Kubuntu 10.04 beta, KDE SC 4.4.2. Also the downstream report seems to be closed with that Phonon version, closing as fixed.
Comment 4 Myriam Schweingruber 2011-04-27 21:15:49 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.