Bug 351688 - KNotify crashes whenever a notification sound should be played.
Summary: KNotify crashes whenever a notification sound should be played.
Status: RESOLVED DUPLICATE of bug 347917
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knotify (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Olivier Goffart
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-24 11:06 UTC by Daniel Ziltener
Modified: 2015-08-26 12:20 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 Daniel Ziltener 2015-08-24 11:06:34 UTC
Application: knotify4 (4.14.6)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-24-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
KNotify crashes whenever a notification sound should be played. E.g. when closing a window and a dialog window pops up. Or when login to the KDE crash manager is successful.

The crash can be reproduced every time.

-- Backtrace:
Application: KNotify (knotify4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f64eb8c5800 (LWP 20797))]

Thread 2 (Thread 0x7f64d8249700 (LWP 20798)):
#0  0x00007f64e8a6ec5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f64e60a5be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f64e60a5cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f64e91f20de in QEventDispatcherGlib::processEvents (this=0x7f64d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f64e91c3e6f in QEventLoop::processEvents (this=this@entry=0x7f64d8248da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f64e91c4165 in QEventLoop::exec (this=this@entry=0x7f64d8248da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f64e90c10bf in QThread::exec (this=this@entry=0x1a65e10) at thread/qthread.cpp:538
#7  0x00007f64e91a5783 in QInotifyFileSystemWatcherEngine::run (this=0x1a65e10) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f64e90c379f in QThreadPrivate::start (arg=0x1a65e10) at thread/qthread_unix.cpp:349
#9  0x00007f64e6ad20a4 in start_thread (arg=0x7f64d8249700) at pthread_create.c:309
#10 0x00007f64e8a7708d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f64eb8c5800 (LWP 20797)):
[KCrash Handler]
#6  __strcmp_ssse3 () at ../sysdeps/x86_64/strcmp.S:209
#7  0x00007f64cbbc7fee in qMetaTypeStaticType (length=22, typeName=0x3570198 <error: Cannot access memory at address 0x3570198>) at kernel/qmetatype.cpp:806
#8  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7f64d509a930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7f64d509aab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7f64d509a890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7f64d509a8a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#9  0x00007f64d4de3f57 in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#10 qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7f64d51769de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
#11 qt_metatype_id () at painting/qpaintbuffer.cpp:2081
#12 qt_metatype_id () at ../../src/corelib/kernel/qmetatype.h:1509
#13 qMetaTypeId<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:1649
#14 qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:1698
#15 qRegisterPaintBufferMetaTypes () at painting/qpaintbuffer.cpp:2107
#16 qRegisterPaintBufferMetaTypes_ctor_class_ (this=<optimized out>) at painting/qpaintbuffer.cpp:2111
#17 __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at painting/qpaintbuffer.cpp:2111
#18 _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2207
#19 0x00007f64eb73092a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7ffed5177e08, env=env@entry=0x1a222f0) at dl-init.c:78
#20 0x00007f64eb730a13 in call_init (env=0x1a222f0, argv=0x7ffed5177e08, argc=1, l=<optimized out>) at dl-init.c:36
#21 _dl_init (main_map=main_map@entry=0x1bb66c0, argc=1, argv=0x7ffed5177e08, env=0x1a222f0) at dl-init.c:126
#22 0x00007f64eb734b48 in dl_open_worker (a=a@entry=0x7ffed5175eb8) at dl-open.c:566
#23 0x00007f64eb7307e4 in _dl_catch_error (objname=objname@entry=0x7ffed5175ea8, errstring=errstring@entry=0x7ffed5175eb0, mallocedp=mallocedp@entry=0x7ffed5175ea7, operate=operate@entry=0x7f64eb734870 <dl_open_worker>, args=args@entry=0x7ffed5175eb8) at dl-error.c:187
#24 0x00007f64eb73433b in _dl_open (file=0x1bc1d80 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7ffed5177e08, env=0x1a222f0) at dl-open.c:650
#25 0x00007f64e41f302b in dlopen_doit (a=a@entry=0x7ffed51760d0) at dlopen.c:66
#26 0x00007f64eb7307e4 in _dl_catch_error (objname=0x1843100, errstring=0x1843108, mallocedp=0x18430f8, operate=0x7f64e41f2fd0 <dlopen_doit>, args=0x7ffed51760d0) at dl-error.c:187
#27 0x00007f64e41f35dd in _dlerror_run (operate=operate@entry=0x7f64e41f2fd0 <dlopen_doit>, args=args@entry=0x7ffed51760d0) at dlerror.c:163
#28 0x00007f64e41f30c1 in __dlopen (file=file@entry=0x1bc1d80 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=<optimized out>) at dlopen.c:87
#29 0x00007f64d6f6e59f in module_Load (p_this=p_this@entry=0x1bd2978, path=path@entry=0x1bc1d80 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=p_handle@entry=0x7ffed5176128, lazy=<optimized out>) at posix/plugin.c:60
#30 0x00007f64d6f57d5d in module_InitDynamic (obj=0x1bd2978, path=0x1bc1d80 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:586
#31 0x00007f64d6f58057 in AllocatePluginFile (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:529
#32 AllocatePluginDir (bank=0x7ffed5176380, maxdepth=3419400200, absdir=0x3 <error: Cannot access memory at address 0x3>, reldir=0x1bb6580 "gui") at modules/bank.c:490
#33 0x00007f64d6f582c9 in AllocatePluginDir (bank=0x7ffed5176380, maxdepth=3419400200, maxdepth@entry=5, absdir=0x3 <error: Cannot access memory at address 0x3>, absdir@entry=0x1bb6e00 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:494
#34 0x00007f64d6f58534 in AllocatePluginPath (p_this=p_this@entry=0x1bd2978, path=0x1bb6e00 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:403
#35 0x00007f64d6f58a87 in AllocateAllPlugins (p_this=0x1bd2978) at modules/bank.c:330
#36 module_LoadPlugins (obj=obj@entry=0x1bd2978) at modules/bank.c:186
#37 0x00007f64d6ef049d in libvlc_InternalInit (p_libvlc=p_libvlc@entry=0x1bd2978, i_argc=i_argc@entry=11, ppsz_argv=ppsz_argv@entry=0x7ffed5176500) at libvlc.c:159
#38 0x00007f64d6cba623 in libvlc_new (argc=10, argv=<optimized out>) at core.c:59
#39 0x00007f64d71f2ec9 in LibVLC::init () at /usr/src/debug/phonon-backend-vlc-0.8.0/src/utils/libvlc.cpp:117
#40 0x00007f64d71d8728 in Phonon::VLC::Backend::Backend (this=0x1c0ca50, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.8.0/src/backend.cpp:89
#41 0x00007f64d71d91eb in qt_plugin_instance () at /usr/src/debug/phonon-backend-vlc-0.8.0/src/backend.cpp:55
#42 0x00007f64e91a9641 in QPluginLoader::instance (this=this@entry=0x7ffed5176ae0) at plugin/qpluginloader.cpp:204
#43 0x00007f64d8279f8b in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x186bc60, newService=...) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:130
#44 0x00007f64d827a773 in Phonon::KdePlatformPlugin::createBackend (this=0x186bc60) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:183
#45 0x00007f64eae7dc76 in Phonon::FactoryPrivate::createBackend (this=0x1be8dd0) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:252
#46 0x00007f64eae7e317 in Phonon::Factory::backend (createWhenNull=152, createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:576
#47 0x00007f64eae7e8e3 in Phonon::Factory::createAudioOutput (parent=0x1a40d50) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:470
#48 0x00007f64eae769b9 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1a3fbd0) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:130
#49 0x00007f64eae74896 in Phonon::AudioOutputPrivate::init (this=0x1a3fbd0, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:97
#50 0x000000000040e771 in Player (this=0x1a42220) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:58
#51 PlayerPool::getPlayer (this=0x1a443c8) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:98
#52 0x000000000040f5fa in NotifyBySound::notify (this=0x1a3f4d0, eventId=15, config=0x1a3f2e8) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:242
#53 0x000000000040bc75 in KNotify::emitEvent (this=this@entry=0x7ffed5177cc0, e=e@entry=0x1a3f2e0) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:230
#54 0x000000000040c63f in KNotify::event (this=0x7ffed5177cc0, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=71303253) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:149
#55 0x000000000040cecc in KNotifyAdaptor::event (this=0x1951aa0, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=71303253) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:289
#56 0x000000000040d260 in KNotifyAdaptor::qt_static_metacall (_o=0x3570198, _o@entry=0x1951aa0, _id=-875567096, _id@entry=4, _a=0x7ffed5177330, _c=<optimized out>) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:217
#57 0x000000000040d3c3 in qt_static_metacall (_a=0x7ffed5177330, _id=4, _c=QMetaObject::InvokeMetaMethod, _o=0x1951aa0) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:258
#58 KNotifyAdaptor::qt_metacall (this=0x1951aa0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffed5177330) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:259
#59 0x00007f64e9557d4d in QDBusConnectionPrivate::deliverCall (this=this@entry=0x186bd90, object=object@entry=0x1951aa0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951
#60 0x00007f64e9558f4b in QDBusConnectionPrivate::activateCall (this=this@entry=0x186bd90, object=0x1951aa0, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:863
#61 0x00007f64e95599bd in QDBusConnectionPrivate::activateObject (this=0x186bd90, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#62 0x00007f64e9559a8b in QDBusActivateObjectEvent::placeMetaCall (this=0x1a524d0) at qdbusintegrator.cpp:1541
#63 0x00007f64e91dd59e in QObject::event (this=0x7ffed5177cc0, e=<optimized out>) at kernel/qobject.cpp:1231
#64 0x00007f64e9e5f76c in QApplicationPrivate::notify_helper (this=this@entry=0x188e980, receiver=receiver@entry=0x7ffed5177cc0, e=e@entry=0x1a524d0) at kernel/qapplication.cpp:4565
#65 0x00007f64e9e65cad in QApplication::notify (this=this@entry=0x7ffed5177ca0, receiver=receiver@entry=0x7ffed5177cc0, e=e@entry=0x1a524d0) at kernel/qapplication.cpp:4351
#66 0x00007f64eb2f6e0a in KApplication::notify (this=0x7ffed5177ca0, receiver=0x7ffed5177cc0, event=0x1a524d0) at /usr/src/debug/kdelibs-4.14.9/kdeui/kernel/kapplication.cpp:311
#67 0x00007f64e91c52ad in QCoreApplication::notifyInternal (this=0x7ffed5177ca0, receiver=receiver@entry=0x7ffed5177cc0, event=event@entry=0x1a524d0) at kernel/qcoreapplication.cpp:953
#68 0x00007f64e91c857d in sendEvent (event=0x1a524d0, receiver=0x7ffed5177cc0) at kernel/qcoreapplication.h:231
#69 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x184f630) at kernel/qcoreapplication.cpp:1577
#70 0x00007f64e91c8a23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#71 0x00007f64e91f28fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#72 postEventSourceDispatch (s=0x1874590) at kernel/qeventdispatcher_glib.cpp:300
#73 0x00007f64e60a5a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#74 0x00007f64e60a5c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#75 0x00007f64e60a5cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#76 0x00007f64e91f20be in QEventDispatcherGlib::processEvents (this=0x1854ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#77 0x00007f64e9efc676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007f64e91c3e6f in QEventLoop::processEvents (this=this@entry=0x7ffed5177bb0, flags=...) at kernel/qeventloop.cpp:149
#79 0x00007f64e91c4165 in QEventLoop::exec (this=this@entry=0x7ffed5177bb0, flags=...) at kernel/qeventloop.cpp:204
#80 0x00007f64e91c95b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#81 0x00007f64e9e5df3c in QApplication::exec () at kernel/qapplication.cpp:3823
#82 0x000000000040a255 in main (argc=1, argv=0x7ffed5177e08) at /usr/src/debug/kde-runtime-14.12.3/knotify/main.cpp:74

Possible duplicates by query: bug 351085, bug 350980, bug 350100.

Reported using DrKonqi
Comment 1 Christoph Feck 2015-08-26 12:20:02 UTC

*** This bug has been marked as a duplicate of bug 347917 ***