<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>222630</bug_id>
          
          <creation_ts>2010-01-14 00:56:05 +0000</creation_ts>
          <short_desc>kded4 crash related to Phonon and ALSA [___sprintf_chk, snd_device_name_hint, PhononServer::findVirtualDevices]</short_desc>
          <delta_ts>2011-03-02 03:29:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Phonon</product>
          <component>kded module for audio device listing</component>
          <version>4.4.3 (KDE 4.6.x)</version>
          <rep_platform>Unlisted Binaries</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wayne E. Nail">waynenail</reporter>
          <assigned_to name="Harald Sitter">sitter</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>biasquez</cc>
    
    <cc>bturrie</cc>
    
    <cc>martin.sandsmark</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>898239</commentid>
    <comment_count>0</comment_count>
    <who name="Wayne E. Nail">waynenail</who>
    <bug_when>2010-01-14 00:56:05 +0000</bug_when>
    <thetext>Application that crashed: kded4
Version of the application: $Id: kded.cpp 1031638 2009-10-05 16:59:11Z lunakl $
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.30.10-105.fc11.i686.PAE i686
Distribution: &quot;Fedora release 11 (Leonidas)&quot;

What I was doing when the application crashed:
After package update and reboot, upon desktop presentation abrt reports KDE Daemon crashed with Signal 11.

This same behavior has been part of Fedora 12 here on a different PC with different architecture (CPU brand, chipset, etc) and has been reported by me as: 

https://bugs.kde.org/show_bug.cgi?id=220190

...which has been marked as a duplicate as referenced from that bug.

My point is that this behavior is *new* to F11, having moved back to F11 after an update including one of these elements (from /var/log/yum.log):

Jan 13 18:31:36 Updated: selinux-policy-3.6.12-93.fc11.noarch
Jan 13 18:32:03 Updated: selinux-policy-targeted-3.6.12-93.fc11.noarch
Jan 13 18:32:40 Updated: kdebase-workspace-debuginfo-4.3.4-4.fc11.i586
Jan 13 18:32:47 Updated: libpurple-2.6.5-1.fc11.i586
Jan 13 18:32:48 Updated: ksysguardd-4.3.4-4.fc11.i586
Jan 13 18:32:49 Updated: fluidsynth-libs-1.0.9-5.fc11.i586
Jan 13 18:32:52 Updated: system-config-printer-libs-1.1.16-8.fc11.i586
Jan 13 18:33:17 Updated: pidgin-2.6.5-1.fc11.i586
Jan 13 18:33:18 Updated: id3v2-0.1.11-10.fc11.i586
Jan 13 18:33:24 Updated: transmission-1.77-2.fc11.i586
Jan 13 18:33:26 Updated: system-config-printer-1.1.16-8.fc11.i586
Jan 13 18:33:27 Updated: kdebase-workspace-libs-4.3.4-4.fc11.i586
Jan 13 18:33:39 Updated: kdebase-workspace-4.3.4-4.fc11.i586
Jan 13 18:33:40 Updated: kdebase-workspace-devel-4.3.4-4.fc11.i586
Jan 13 18:33:42 Updated: kdm-4.3.4-4.fc11.i586


 -- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
[KCrash Handler]
#6  0x0069ca66 in _IO_vfprintf_internal (s=0xbf9b4cc0, format=0x47bf338 &quot;%s.%s&quot;, ap=0xbf9b4da0 &quot;\n}2\2card\350M\233\277\264\340r\4\210\225C\b\n}2\2\370M\233\277\3&quot;) at vfprintf.c:1580
#7  0x0074dee7 in ___vsprintf_chk (s=0x840ba90 &quot;pcm.\260c|&quot;, flags=1, slen=128, format=0x47bf338 &quot;%s.%s&quot;, args=0xbf9b4da0 &quot;\n}2\2card\350M\233\277\264\340r\4\210\225C\b\n}2\2\370M\233\277\3&quot;)
    at vsprintf_chk.c:87
#8  0x0074de2d in ___sprintf_chk (s=0x840ba90 &quot;pcm.\260c|&quot;, flags=1, slen=128, format=0x47bf338 &quot;%s.%s&quot;) at sprintf_chk.c:33
#9  0x04739214 in ?? () from /lib/libasound.so.2
#10 0x0473a5b2 in snd_device_name_hint () from /lib/libasound.so.2
#11 0x02312dbd in PhononServer::findVirtualDevices (this=0x8441d78) at /usr/src/debug/kdebase-runtime-4.3.4/phonon/kded-module/phononserver.cpp:167
#12 0x02317e96 in PhononServer::findDevices (this=0x8441d78) at /usr/src/debug/kdebase-runtime-4.3.4/phonon/kded-module/phononserver.cpp:710
#13 0x0231acf6 in PhononServer::PhononServer(struct QObject *, const QList&lt;QVariant&gt; &amp;) (this=0x8441d78, parent=0x82212f0)
    at /usr/src/debug/kdebase-runtime-4.3.4/phonon/kded-module/phononserver.cpp:69
#14 0x023217d8 in KPluginFactory::createInstance&lt;PhononServer, QObject&gt; (parentWidget=0x0, parent=0x82212f0, args=@0xbf9b5844) at /usr/include/kde4/kpluginfactory.h:461
#15 0x0309e515 in KPluginFactory::create (this=0x8397b48, iface=0x30e58a0 &quot;KDEDModule&quot;, parentWidget=0x0, parent=0x82212f0, args=@0xbf9b5844, keyword=@0xbf9b5838)
    at /usr/src/debug/kdelibs-4.3.4/kdecore/util/kpluginfactory.cpp:191
#16 0x0058743e in KPluginFactory::create&lt;KDEDModule&gt; (args=&lt;value optimized out&gt;, parent=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;)
    at /usr/src/debug/kdelibs-4.3.4/kdecore/util/kpluginfactory.h:491
#17 Kded::loadModule (args=&lt;value optimized out&gt;, parent=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at /usr/src/debug/kdelibs-4.3.4/kded/kded.cpp:380
#18 0x00587c8f in Kded::loadModule (this=0x82212f0, obj=@0xbf9b5938, onDemand=&lt;value optimized out&gt;) at /usr/src/debug/kdelibs-4.3.4/kded/kded.cpp:334
#19 0x00587eef in Kded::messageFilter (message=@0xbf9b5a0c) at /usr/src/debug/kdelibs-4.3.4/kded/kded.cpp:195
#20 0x050ebbb0 in QDBusConnectionPrivate::handleMessage (this=0x821f6a8, amsg=@0xbf9b5a0c) at qdbusintegrator.cpp:526
#21 0x050ec020 in qDBusSignalFilter (connection=0x82244a8, message=0x838b5e0, data=0x821f6a8) at qdbusintegrator.cpp:517
#22 0x00dac87d in dbus_connection_dispatch (connection=0x82244a8) at dbus-connection.c:4406
#23 0x050df183 in q_dbus_connection_dispatch (connection=&lt;value optimized out&gt;) at ./qdbus_symbols_p.h:113
#24 QDBusConnectionPrivate::doDispatch (connection=&lt;value optimized out&gt;) at qdbusintegrator.cpp:1067
#25 0x050df28d in QDBusConnectionPrivate::socketRead (this=0x821f6a8, fd=5) at qdbusintegrator.cpp:1087
#26 0x05120587 in QDBusConnectionPrivate::qt_metacall (this=0x821f6a8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf9b5c68) at .moc/release-shared/moc_qdbusconnection_p.cpp:89
#27 0x052e2dc3 in QMetaObject::activate (sender=0x8322af0, from_signal_index=4, to_signal_index=4, argv=0xbf9b5c68) at kernel/qobject.cpp:3112
#28 0x052e3a22 in QMetaObject::activate (sender=0x8322af0, m=0x53be710, local_signal_index=0, argv=0xbf9b5c68) at kernel/qobject.cpp:3186
#29 0x0531cf43 in QSocketNotifier::activated (this=0x8322af0, _t1=5) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#30 0x052e77b7 in QSocketNotifier::event (this=0x8322af0, e=0xbf9b6024) at kernel/qsocketnotifier.cpp:316
#31 0x0262d8b4 in QApplicationPrivate::notify_helper (this=0x821c800, receiver=0x8322af0, e=0xbf9b6024) at kernel/qapplication.cpp:4065
#32 0x02635029 in QApplication::notify (this=0xbf9b6370, receiver=0x8322af0, e=0xbf9b6024) at kernel/qapplication.cpp:3605
#33 0x03aee81a in KApplication::notify (this=0xbf9b6370, receiver=0x8322af0, event=0xbf9b6024) at /usr/src/debug/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#34 0x052cd0ab in QCoreApplication::notifyInternal (this=0xbf9b6370, receiver=0x8322af0, event=0xbf9b6024) at kernel/qcoreapplication.cpp:610
#35 0x052f7e1a in QCoreApplication::sendEvent (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qcoreapplication.h:213
#36 socketNotifierSourceDispatch (event=&lt;value optimized out&gt;, receiver=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:110
#37 0x00a02308 in g_main_dispatch (context=&lt;value optimized out&gt;) at gmain.c:1824
#38 IA__g_main_context_dispatch (context=&lt;value optimized out&gt;) at gmain.c:2377
#39 0x00a059e0 in g_main_context_iterate (context=0x821e868, block=&lt;value optimized out&gt;, dispatch=1, self=0x821c3c0) at gmain.c:2455
#40 0x00a05b13 in IA__g_main_context_iteration (context=0x821e868, may_block=1) at gmain.c:2518
#41 0x052f7b7c in QEventDispatcherGlib::processEvents (this=0x8202858, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#42 0x026ccc45 in QGuiEventDispatcherGlib::processEvents (this=0x8202858, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#43 0x052cb639 in QEventLoop::processEvents (this=0xbf9b62c4, flags={i = 36}) at kernel/qeventloop.cpp:149
#44 0x052cba8a in QEventLoop::exec (this=0xbf9b62c4, flags={i = 0}) at kernel/qeventloop.cpp:201
#45 0x052cdf0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#46 0x0262d737 in QApplication::exec () at kernel/qapplication.cpp:3525
#47 0x0058994e in kdemain (argc=1, argv=0xbf9b6594) at /usr/src/debug/kdelibs-4.3.4/kded/kded.cpp:936
#48 0x0804868b in main (argc=1, argv=0xbf9b6594) at /usr/src/debug/kdelibs-4.3.4/i586-redhat-linux-gnu/kded/kded4_dummy.cpp:3

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>898396</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2010-01-14 11:10:42 +0000</bug_when>
    <thetext>This looks like a problem in alsa.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945866</commentid>
    <comment_count>2</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-04-06 15:04:32 +0000</bug_when>
    <thetext>Is this still valid with KDE SC 4.4.2/Phonon 4.4.0?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945891</commentid>
    <comment_count>3</comment_count>
    <who name="Wayne E. Nail">waynenail</who>
    <bug_when>2010-04-06 15:58:14 +0000</bug_when>
    <thetext>Myriam--

This issue no longer occurs in Fedora 11 using KDE 4.4.1/Phonon 4.3.80 nor does it appear in Fedora 12 using KDE 4.4.1/Phonon 4.4.0.

My best recollection is that it was fixed when KDE updated to 4.4.x</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>947215</commentid>
    <comment_count>4</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-04-09 09:19:32 +0000</bug_when>
    <thetext>Nice :) Thank you for your feedback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1054030</commentid>
    <comment_count>5</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-12-05 22:47:19 +0000</bug_when>
    <thetext>Reopened based on duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1054032</commentid>
    <comment_count>6</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-12-05 22:47:34 +0000</bug_when>
    <thetext>*** Bug 258829 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1054033</commentid>
    <comment_count>7</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2010-12-05 22:48:01 +0000</bug_when>
    <thetext>Confirmed by duplicate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1080649</commentid>
    <comment_count>8</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2011-01-29 14:30:34 +0000</bug_when>
    <thetext>[Comment from a bug triager]
Another related report: bug 228840.
Another KDE SC 4.4.5 case: bug 264538</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1080651</commentid>
    <comment_count>9</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2011-01-29 14:30:43 +0000</bug_when>
    <thetext>*** Bug 264538 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1092531</commentid>
    <comment_count>10</comment_count>
    <who name="Harald Sitter">sitter</who>
    <bug_when>2011-03-02 03:29:02 +0000</bug_when>
    <thetext>I have only seen one report that includes all stack frames unfortunately and that was a crash in some UPNP thread it would appear.

Please make sure that the backend actually lists all stack frames (i.e. the first line start with #0, the second with #1 ...).

Dismissing this due to inconclusive backtraces for now. But really Phonon would not crash there unless it is a bug in Alsa or another part of the application takes Phonon down with it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>