Bug 307091 - Knotify crashes at startup
Summary: Knotify crashes at startup
Status: RESOLVED DUPLICATE of bug 268185
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knotify (show other bugs)
Version: 4.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 08:28 UTC by Ronny Standtke
Modified: 2012-09-20 20:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronny Standtke 2012-09-20 08:28:30 UTC
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't look too good...

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[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=<optimized out>, context=0x9779788, priority=<optimized out>) 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=<error reading variable: Unhandled dwarf expression opcode 0xfa>) 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 "%s.%s", ap=0xbfe04110 "\242\354i\262n") at vfprintf.c:1623
#8  0xb5f6a597 in ___vsprintf_chk (s=0x98b13f0 "pcm.\360\023\376\265s", flags=1, slen=128, format=0xb19b3ed8 "%s.%s", args=0xbfe04110 "\242\354i\262n") at vsprintf_chk.c:87
#9  0xb5f6a4dd in ___sprintf_chk (s=s@entry=0x98b13f0 "pcm.\360\023\376\265s", flags=flags@entry=1, slen=slen@entry=128, format=format@entry=0xb19b3ed8 "%s.%s") at sprintf_chk.c:33
#10 0xb19268d0 in sprintf (__fmt=0xb19b3ed8 "%s.%s", __s=0x98b13f0 "pcm.\360\023\376\265s") at /usr/include/i386-linux-gnu/bits/stdio2.h:34
#11 try_config (list=list@entry=0xbfe041bc, base=0xb269eca2 "pcm", name=0x6e69006e <Address 0x6e69006e out of bounds>) 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=<optimized out>, iface@entry=0xb269eca2 "pcm", hints=hints@entry=0xbfe0428c) at namehint.c:587
#14 0xb269d12b in GetDevices (obj=obj@entry=0x96a1140, item=item@entry=0x98c30e0, prefs_dev=<optimized out>, prefs_dev@entry=0xb269ec7e "default") at alsa.c:730
#15 0xb269e2ab in FindDevicesCallback (p_this=0x96a1140, psz_name=0x98bd958 "alsa-audio-device", newval=..., oldval=..., p_unused=0x0) at alsa.c:712
#16 0xb1883cbe in libvlc_audio_output_device_count (p_instance=0x96a00b0, psz_audio_output=0x9844ce0 "alsa") 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=<optimized out>) 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=<optimized out>, _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=<optimized out>, receiver=<optimized out>) 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=<error reading variable: Unhandled dwarf expression opcode 0xfa>) 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
Comment 1 Jekyll Wu 2012-09-20 09:21:47 UTC

*** This bug has been marked as a duplicate of bug 268185 ***
Comment 2 Ronny Standtke 2012-09-20 18:16:16 UTC
> *** This bug has been marked as a duplicate of bug 268185 ***

Really?! The stack trace looks so different... but I am no expert here...
Comment 3 Christoph Feck 2012-09-20 20:23:18 UTC
The backtrace is indeed different, because alsa this time is called from VLC. In either case, it is the "snd_device_name_hint" function in alsa, which causes the crash.