<?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>307091</bug_id>
          
          <creation_ts>2012-09-20 08:28:30 +0000</creation_ts>
          <short_desc>Knotify crashes at startup</short_desc>
          <delta_ts>2012-09-20 20:23:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>knotify</component>
          <version>4.0</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>268185</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="Ronny Standtke">Ronny.Standtke</reporter>
          <assigned_to name="Olivier Goffart">ogoffart</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>21</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1298829</commentid>
    <comment_count>0</comment_count>
    <who name="Ronny Standtke">Ronny.Standtke</who>
    <bug_when>2012-09-20 08:28:30 +0000</bug_when>
    <thetext>Application: knotify4 (4.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-3-686-pae i686
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:

I installed Debian Wheezy (the version that is supposed to become the next stable Debian for a couple of years...) and logged into KDE. Boom. Crash. Got this backtrace. This doesn&apos;t look too good...

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library &quot;/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0xb5259710 (LWP 4002))]

Thread 3 (Thread 0xb232db70 (LWP 4003)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb5f49846 in *__GI___poll (fds=0xb5fdfff4, fds@entry=0x977b738, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb58dd07b in g_poll (fds=0x977b738, nfds=1, timeout=-1) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gpoll.c:132
#3  0xb58ce950 in g_main_context_poll (n_fds=1, fds=0x977b738, timeout=&lt;optimized out&gt;, context=0x9779788, priority=&lt;optimized out&gt;) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3440
#4  g_main_context_iterate (context=context@entry=0x9779788, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;error reading variable: Unhandled dwarf expression opcode 0xfa&gt;) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3141
#5  0xb58ceab1 in g_main_context_iteration (context=0x9779788, may_block=1) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3207
#6  0xb628185f in QEventDispatcherGlib::processEvents (this=0x9779710, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb624e02c in QEventLoop::processEvents (this=this@entry=0xb232d2a8, flags=...) at kernel/qeventloop.cpp:149
#8  0xb624e321 in QEventLoop::exec (this=0xb232d2a8, flags=...) at kernel/qeventloop.cpp:204
#9  0xb613ab3c in QThread::exec (this=0x9777b70) at thread/qthread.cpp:501
#10 0xb622c77d in QInotifyFileSystemWatcherEngine::run (this=0x9777b70) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb613df00 in QThreadPrivate::start (arg=0x9777b70) at thread/qthread_unix.cpp:307
#12 0xb59a2c39 in start_thread (arg=0xb232db70) at pthread_create.c:304
#13 0xb5f5723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb16f0b70 (LWP 4155)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb59a720a in __pthread_cond_wait (cond=0x98a2c14, mutex=0x98a2bfc) at pthread_cond_wait.c:153
#2  0xb5f6432d in __pthread_cond_wait (cond=0x98a2c14, mutex=0x98a2bfc) at forward.c:139
#3  0xb182eea3 in vlc_cond_wait (p_condvar=p_condvar@entry=0x98a2c14, p_mutex=p_mutex@entry=0x98a2bfc) at posix/thread.c:431
#4  0xb17a1aa1 in LoopRequest (p_playlist=0x98a2b38) at playlist/thread.c:544
#5  Thread (data=0x98a2b38) at playlist/thread.c:592
#6  0xb59a2c39 in start_thread (arg=0xb16f0b70) at pthread_create.c:304
#7  0xb5f5723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5259710 (LWP 4002)):
[KCrash Handler]
#7  0xb5ec87a4 in _IO_vfprintf_internal (s=0xbfe04030, format=0xb19b3ed8 &quot;%s.%s&quot;, ap=0xbfe04110 &quot;\242\354i\262n&quot;) at vfprintf.c:1623
#8  0xb5f6a597 in ___vsprintf_chk (s=0x98b13f0 &quot;pcm.\360\023\376\265s&quot;, flags=1, slen=128, format=0xb19b3ed8 &quot;%s.%s&quot;, args=0xbfe04110 &quot;\242\354i\262n&quot;) at vsprintf_chk.c:87
#9  0xb5f6a4dd in ___sprintf_chk (s=s@entry=0x98b13f0 &quot;pcm.\360\023\376\265s&quot;, flags=flags@entry=1, slen=slen@entry=128, format=format@entry=0xb19b3ed8 &quot;%s.%s&quot;) at sprintf_chk.c:33
#10 0xb19268d0 in sprintf (__fmt=0xb19b3ed8 &quot;%s.%s&quot;, __s=0x98b13f0 &quot;pcm.\360\023\376\265s&quot;) at /usr/include/i386-linux-gnu/bits/stdio2.h:34
#11 try_config (list=list@entry=0xbfe041bc, base=0xb269eca2 &quot;pcm&quot;, name=0x6e69006e &lt;Address 0x6e69006e out of bounds&gt;) at namehint.c:229
#12 0xb1927cc8 in add_software_devices (list=0xbfe041bc) at namehint.c:512
#13 snd_device_name_hint (card=card@entry=-1, iface=&lt;optimized out&gt;, iface@entry=0xb269eca2 &quot;pcm&quot;, hints=hints@entry=0xbfe0428c) at namehint.c:587
#14 0xb269d12b in GetDevices (obj=obj@entry=0x96a1140, item=item@entry=0x98c30e0, prefs_dev=&lt;optimized out&gt;, prefs_dev@entry=0xb269ec7e &quot;default&quot;) at alsa.c:730
#15 0xb269e2ab in FindDevicesCallback (p_this=0x96a1140, psz_name=0x98bd958 &quot;alsa-audio-device&quot;, newval=..., oldval=..., p_unused=0x0) at alsa.c:712
#16 0xb1883cbe in libvlc_audio_output_device_count (p_instance=0x96a00b0, psz_audio_output=0x9844ce0 &quot;alsa&quot;) at audio.c:167
#17 0xb18d0259 in Phonon::VLC::DeviceManager::updateDeviceList (this=0x9884388) at ../../src/devicemanager.cpp:254
#18 0xb18c7a58 in Phonon::VLC::Backend::Backend (this=0x9683510, parent=0x0) at ../../src/backend.cpp:107
#19 0xb18c7eab in qt_plugin_instance () at ../../src/backend.cpp:56
#20 0xb6232490 in QPluginLoader::instance (this=0xbfe0461c) at plugin/qpluginloader.cpp:204
#21 0xb19f575c in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x979f6f8, newService=...) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:130
#22 0xb19f61a9 in Phonon::KdePlatformPlugin::createBackend (this=0x979f6f8) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:183
#23 0xb730e8b8 in Phonon::FactoryPrivate::createBackend (this=0x97a2568) at ../../phonon/factory.cpp:130
#24 0xb731031b in Phonon::Factory::backend (createWhenNull=true) at ../../phonon/factory.cpp:460
#25 0xb7310df8 in Phonon::Factory::createAudioOutput (parent=0x97a6738) at ../../phonon/factory.cpp:356
#26 0xb7304beb in createBackendObject (this=0x97a6ae8) at ../../phonon/audiooutput.cpp:138
#27 Phonon::AudioOutputPrivate::createBackendObject (this=0x97a6ae8) at ../../phonon/audiooutput.cpp:133
#28 0xb7300890 in Phonon::AudioOutputPrivate::init (this=0x97a6ae8, c=Phonon::NotificationCategory) at ../../phonon/audiooutput.cpp:111
#29 0x080548f4 in Player (this=0x977cc18) at ../../knotify/notifybysound.cpp:58
#30 PlayerPool::getPlayer (this=0x976c6b4) at ../../knotify/notifybysound.cpp:98
#31 0x08054d95 in NotifyBySound::notify (this=0x9758970, eventId=4, config=0x97a2090) at ../../knotify/notifybysound.cpp:242
#32 0x08051b80 in KNotify::emitEvent (this=this@entry=0xbfe0571c, e=e@entry=0x97a2088) at ../../knotify/knotify.cpp:230
#33 0x080528f5 in KNotify::event (this=0xbfe0571c, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=0) at ../../knotify/knotify.cpp:149
#34 0x08052c1a in KNotifyAdaptor::event (this=this@entry=0x976da28, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=0) at ../../knotify/knotify.cpp:289
#35 0x08052dd2 in qt_static_metacall (_a=0xbfe04d9c, _id=4, _o=0x976da28, _c=&lt;optimized out&gt;) at ./knotify.moc:218
#36 KNotifyAdaptor::qt_static_metacall (_o=0x976da28, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfe04d9c) at ./knotify.moc:208
#37 0x08052ef4 in KNotifyAdaptor::qt_metacall (this=0x976da28, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0xbfe04d9c) at ./knotify.moc:260
#38 0xb63d843e in QDBusConnectionPrivate::deliverCall (this=0x9642710, object=0x976da28, msg=..., metaTypes=..., slotIdx=1852375150) at qdbusintegrator.cpp:947
#39 0xb63d95c4 in QDBusConnectionPrivate::activateCall (this=0x9642710, object=0x976da28, flags=273, msg=...) at qdbusintegrator.cpp:857
#40 0xb63d9ca2 in QDBusConnectionPrivate::activateObject (this=0x9642710, node=..., msg=..., pathStartPos=158345473) at qdbusintegrator.cpp:1423
#41 0xb63da0a8 in QDBusActivateObjectEvent::placeMetaCall (this=0x97a2038) at qdbusintegrator.cpp:1537
#42 0xb6265ccb in QObject::event (this=0xbfe0571c, e=0x97a2038) at kernel/qobject.cpp:1195
#43 0xb686547c in QApplicationPrivate::notify_helper (this=0x964ed48, receiver=0xbfe0571c, e=0x97a2038) at kernel/qapplication.cpp:4556
#44 0xb6869e7f in QApplication::notify (this=0x97a2038, receiver=0xbfe0571c, e=0x97a2038) at kernel/qapplication.cpp:3938
#45 0xb755b581 in KApplication::notify (this=0xbfe0570c, receiver=0xbfe0571c, event=0x97a2038) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb624f55e in QCoreApplication::notifyInternal (this=0xbfe0570c, receiver=0xbfe0571c, event=0x97a2038) at kernel/qcoreapplication.cpp:915
#47 0xb625376d in sendEvent (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x962da48) at kernel/qcoreapplication.cpp:1539
#49 0xb62539ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#50 0xb62816c4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=s@entry=0x9650830) at kernel/qeventdispatcher_glib.cpp:279
#52 0xb58ce633 in g_main_dispatch (context=0x964ffd0) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:2539
#53 g_main_context_dispatch (context=context@entry=0x964ffd0) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3075
#54 0xb58ce9d0 in g_main_context_iterate (context=context@entry=0x964ffd0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;error reading variable: Unhandled dwarf expression opcode 0xfa&gt;) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3146
#55 0xb58ceab1 in g_main_context_iteration (context=0x964ffd0, may_block=1) at /build/buildd-glib2.0_2.32.3-1-i386-987P8N/glib2.0-2.32.3/./glib/gmain.c:3207
#56 0xb6281841 in QEventDispatcherGlib::processEvents (this=0x962e5a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0xb69181fa in QGuiEventDispatcherGlib::processEvents (this=0x962e5a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb624e02c in QEventLoop::processEvents (this=this@entry=0xbfe05638, flags=...) at kernel/qeventloop.cpp:149
#59 0xb624e321 in QEventLoop::exec (this=0xbfe05638, flags=...) at kernel/qeventloop.cpp:204
#60 0xb6253a9a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#61 0xb68632f4 in QApplication::exec () at kernel/qapplication.cpp:3817
#62 0x0804ff32 in main (argc=1, argv=0xbfe05804) at ../../knotify/main.cpp:73

Possible duplicates by query: bug 298761.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1298845</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2012-09-20 09:21:47 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 268185 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1298958</commentid>
    <comment_count>2</comment_count>
    <who name="Ronny Standtke">Ronny.Standtke</who>
    <bug_when>2012-09-20 18:16:16 +0000</bug_when>
    <thetext>&gt; *** This bug has been marked as a duplicate of bug 268185 ***

Really?! The stack trace looks so different... but I am no expert here...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1299009</commentid>
    <comment_count>3</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2012-09-20 20:23:18 +0000</bug_when>
    <thetext>The backtrace is indeed different, because alsa this time is called from VLC. In either case, it is the &quot;snd_device_name_hint&quot; function in alsa, which causes the crash.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>