Bug 355792 - random crashes of knotify - possibly when two things try to access it at the same time
Summary: random crashes of knotify - possibly when two things try to access it at the ...
Status: RESOLVED DUPLICATE of bug 347917
Alias: None
Product: kdelibs
Classification: Unmaintained
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-11-23 15:51 UTC by Dr. Dwight Scott Miller
Modified: 2015-11-23 22:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Dwight Scott Miller 2015-11-23 15:51:50 UTC
Application: knotify4 (4.14.6)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-29-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
looking at kalarm, receiving email, using espeak, trying to enter the bug report ... about thee only thing that does *NOT* cause random crashing of knotify is the "configure notifications" dialog in kontact

- Unusual behavior I noticed:
espeak under kalarm sounds as if the speaker were talking through a highspeed fan or had a mouth full of cicadas

The crash can be reproduced sometimes.

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

Thread 2 (Thread 0x7f4bd7316700 (LWP 5215)):
#0  0x00007ffc28bf2a32 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4bea3c8800 (LWP 5214)):
[KCrash Handler]
#5  __strcmp_sse2 () at ../sysdeps/x86_64/strcmp.S:286
#6  0x00007f4bcb4b4fee in qMetaTypeStaticType (length=22, typeName=0x339a038 <error: Cannot access memory at address 0x339a038>) at kernel/qmetatype.cpp:806
#7  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7f4bcbc6b930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7f4bcbc6bab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7f4bcbc6b890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7f4bcbc6b8a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#8  0x00007f4bcb9b4f57 in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#9  qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7f4bcbd479de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
#10 qt_metatype_id () at painting/qpaintbuffer.cpp:2081
#11 qt_metatype_id () at ../../src/corelib/kernel/qmetatype.h:1509
#12 qMetaTypeId<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:1649
#13 qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:1698
#14 qRegisterPaintBufferMetaTypes () at painting/qpaintbuffer.cpp:2107
#15 qRegisterPaintBufferMetaTypes_ctor_class_ (this=<optimized out>) at painting/qpaintbuffer.cpp:2111
#16 __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at painting/qpaintbuffer.cpp:2111
#17 _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2207
#18 0x00007f4bea23c92a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7ffc28befa88, env=env@entry=0x188c080) at dl-init.c:78
#19 0x00007f4bea23ca13 in call_init (env=0x188c080, argv=0x7ffc28befa88, argc=1, l=<optimized out>) at dl-init.c:36
#20 _dl_init (main_map=main_map@entry=0x19580f0, argc=1, argv=0x7ffc28befa88, env=0x188c080) at dl-init.c:126
#21 0x00007f4bea240b48 in dl_open_worker (a=a@entry=0x7ffc28bedb38) at dl-open.c:566
#22 0x00007f4bea23c7e4 in _dl_catch_error (objname=objname@entry=0x7ffc28bedb28, errstring=errstring@entry=0x7ffc28bedb30, mallocedp=mallocedp@entry=0x7ffc28bedb27, operate=operate@entry=0x7f4bea240870 <dl_open_worker>, args=args@entry=0x7ffc28bedb38) at dl-error.c:187
#23 0x00007f4bea24033b in _dl_open (file=0x195c860 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7ffc28befa88, env=0x188c080) at dl-open.c:650
#24 0x00007f4be2d7f02b in dlopen_doit (a=a@entry=0x7ffc28bedd50) at dlopen.c:66
#25 0x00007f4bea23c7e4 in _dl_catch_error (objname=0x1715100, errstring=0x1715108, mallocedp=0x17150f8, operate=0x7f4be2d7efd0 <dlopen_doit>, args=0x7ffc28bedd50) at dl-error.c:187
#26 0x00007f4be2d7f5dd in _dlerror_run (operate=operate@entry=0x7f4be2d7efd0 <dlopen_doit>, args=args@entry=0x7ffc28bedd50) at dlerror.c:163
#27 0x00007f4be2d7f0c1 in __dlopen (file=file@entry=0x195c860 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=<optimized out>) at dlopen.c:87
#28 0x00007f4bd618b59f in module_Load (p_this=p_this@entry=0x193c3c8, path=path@entry=0x195c860 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=p_handle@entry=0x7ffc28bedda8, lazy=<optimized out>) at posix/plugin.c:60
#29 0x00007f4bd6174d5d in module_InitDynamic (obj=0x193c3c8, path=0x195c860 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:586
#30 0x00007f4bd6175057 in AllocatePluginFile (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:529
#31 AllocatePluginDir (bank=0x7ffc28bee000, maxdepth=3411982336, absdir=0xffff <error: Cannot access memory at address 0xffff>, reldir=0x195c6c0 "gui") at modules/bank.c:490
#32 0x00007f4bd61752c9 in AllocatePluginDir (bank=0x7ffc28bee000, maxdepth=3411982336, maxdepth@entry=5, absdir=0xffff <error: Cannot access memory at address 0xffff>, absdir@entry=0x194f3e0 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:494
#33 0x00007f4bd6175534 in AllocatePluginPath (p_this=p_this@entry=0x193c3c8, path=0x194f3e0 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:403
#34 0x00007f4bd6175a87 in AllocateAllPlugins (p_this=0x193c3c8) at modules/bank.c:330
#35 module_LoadPlugins (obj=obj@entry=0x193c3c8) at modules/bank.c:186
#36 0x00007f4bd610d49d in libvlc_InternalInit (p_libvlc=p_libvlc@entry=0x193c3c8, i_argc=i_argc@entry=11, ppsz_argv=ppsz_argv@entry=0x7ffc28bee180) at libvlc.c:159
#37 0x00007f4bd5ede623 in libvlc_new (argc=10, argv=<optimized out>) at core.c:59
#38 0x00007f4bd640fec9 in LibVLC::init () at /usr/src/debug/phonon-backend-vlc-0.8.0/src/utils/libvlc.cpp:117
#39 0x00007f4bd63f5728 in Phonon::VLC::Backend::Backend (this=0x1924d20, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.8.0/src/backend.cpp:89
#40 0x00007f4bd63f61eb in qt_plugin_instance () at /usr/src/debug/phonon-backend-vlc-0.8.0/src/backend.cpp:55
#41 0x00007f4be7cd8641 in QPluginLoader::instance (this=this@entry=0x7ffc28bee760) at plugin/qpluginloader.cpp:204
#42 0x00007f4bd690cf8b in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x1997020, newService=...) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:130
#43 0x00007f4bd690d773 in Phonon::KdePlatformPlugin::createBackend (this=0x1997020) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:183
#44 0x00007f4be9993c76 in Phonon::FactoryPrivate::createBackend (this=0x195f530) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:252
#45 0x00007f4be9994317 in Phonon::Factory::backend (createWhenNull=48, createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:576
#46 0x00007f4be99948e3 in Phonon::Factory::createAudioOutput (parent=0x18d0140) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:470
#47 0x00007f4be998c9b9 in Phonon::AudioOutputPrivate::createBackendObject (this=0x173d820) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:130
#48 0x00007f4be998a896 in Phonon::AudioOutputPrivate::init (this=0x173d820, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:97
#49 0x000000000040e771 in Player (this=0x19abb00) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:58
#50 PlayerPool::getPlayer (this=0x185f098) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:98
#51 0x000000000040f5fa in NotifyBySound::notify (this=0x188df90, eventId=1, config=0x18d0088) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:242
#52 0x000000000040bc75 in KNotify::emitEvent (this=this@entry=0x7ffc28bef940, e=e@entry=0x18d0080) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:230
#53 0x000000000040c63f in KNotify::event (this=0x7ffc28bef940, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=48234648) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:149
#54 0x000000000040cecc in KNotifyAdaptor::event (this=0x18a0e00, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=48234648) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:289
#55 0x000000000040d260 in KNotifyAdaptor::qt_static_metacall (_o=0x339a030, _o@entry=0x18a0e00, _id=-882984960, _id@entry=4, _a=0x7ffc28beefb0, _c=<optimized out>) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:217
#56 0x000000000040d3c3 in qt_static_metacall (_a=0x7ffc28beefb0, _id=4, _c=QMetaObject::InvokeMetaMethod, _o=0x18a0e00) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:258
#57 KNotifyAdaptor::qt_metacall (this=0x18a0e00, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffc28beefb0) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:259
#58 0x00007f4be8081d4d in QDBusConnectionPrivate::deliverCall (this=this@entry=0x173ddd0, object=object@entry=0x18a0e00, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951
#59 0x00007f4be8082ed9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x173ddd0, object=0x18a0e00, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:856
#60 0x00007f4be80839bd in QDBusConnectionPrivate::activateObject (this=0x173ddd0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#61 0x00007f4be8083a8b in QDBusActivateObjectEvent::placeMetaCall (this=0x17459a0) at qdbusintegrator.cpp:1541
#62 0x00007f4be7d0c59e in QObject::event (this=0x7ffc28bef940, e=<optimized out>) at kernel/qobject.cpp:1231
#63 0x00007f4be897f76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#64 0x00007f4be8985cad in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#65 0x00007f4be9e08e0a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#66 0x00007f4be7cf42ad in QCoreApplication::notifyInternal (this=0x7ffc28bef920, receiver=receiver@entry=0x7ffc28bef940, event=event@entry=0x17459a0) at kernel/qcoreapplication.cpp:953
#67 0x00007f4be7cf757d in sendEvent (event=0x17459a0, receiver=0x7ffc28bef940) at kernel/qcoreapplication.h:231
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1721630) at kernel/qcoreapplication.cpp:1577
#69 0x00007f4be7cf7a23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#70 0x00007f4be7d218fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#71 postEventSourceDispatch (s=0x17531a0) at kernel/qeventdispatcher_glib.cpp:300
#72 0x00007f4be4c08a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#73 0x00007f4be4c08c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#74 0x00007f4be4c08cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#75 0x00007f4be7d210be in QEventDispatcherGlib::processEvents (this=0x1726ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#76 0x00007f4be8a1c676 in ?? () from /usr/lib64/libQtGui.so.4
#77 0x00007f4be7cf2e6f in QEventLoop::processEvents (this=this@entry=0x7ffc28bef830, flags=...) at kernel/qeventloop.cpp:149
#78 0x00007f4be7cf3165 in QEventLoop::exec (this=this@entry=0x7ffc28bef830, flags=...) at kernel/qeventloop.cpp:204
#79 0x00007f4be7cf85b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#80 0x000000000040a255 in main (argc=1, argv=0x7ffc28befa88) at /usr/src/debug/kde-runtime-14.12.3/knotify/main.cpp:74

Possible duplicates by query: bug 355111, bug 352295, bug 349839, bug 348469, bug 348087.

Reported using DrKonqi
Comment 1 Christoph Feck 2015-11-23 22:15:55 UTC

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