Bug 348469

Summary: When system need to show file dialogs (on saving document, for example) Knotify fails
Product: [Unmaintained] kdelibs Reporter: Rafael Linux User <rafael.linux.user>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rafael Linux User 2015-05-30 20:18:45 UTC
Application: knotify4 (4.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Opening in libreOffice whe "Save as" dialog to save a document. It happen any time I open a "open" or "save" dialog in Plama

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 0x7f24ba57f800 (LWP 316))]

Thread 2 (Thread 0x7f24a6bd9700 (LWP 317)):
#0  0x00007f24b4e08904 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f24b4dc6280 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f24b4dc6b03 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f24b4dc6cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f24b7edf0de in QEventDispatcherGlib::processEvents (this=0x7f24a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f24b7eb0e6f in QEventLoop::processEvents (this=this@entry=0x7f24a6bd8da0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f24b7eb1165 in QEventLoop::exec (this=this@entry=0x7f24a6bd8da0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f24b7dae0bf in QThread::exec (this=this@entry=0x25dffc0) at thread/qthread.cpp:538
#8  0x00007f24b7e92783 in QInotifyFileSystemWatcherEngine::run (this=0x25dffc0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f24b7db079f in QThreadPrivate::start (arg=0x25dffc0) at thread/qthread_unix.cpp:349
#10 0x00007f24b57e30a4 in start_thread (arg=0x7f24a6bd9700) at pthread_create.c:309
#11 0x00007f24b776508d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f24ba57f800 (LWP 316)):
[KCrash Handler]
#6  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:29
#7  0x00007f249a084b2e in qMetaTypeStaticType (length=22, typeName=0x50bdf18 <error: Cannot access memory at address 0x50bdf18>) at kernel/qmetatype.cpp:804
#8  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7f249b3f6f70 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7f249b3f70f0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7f249b3f6ed0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7f249b3f6ee0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:894
#9  0x00007f249b141077 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=0x7f249b4d2fee "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 0x00007f24ba3fa92a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7ffc018c0a08, env=env@entry=0x260b6d0) at dl-init.c:78
#20 0x00007f24ba3faa13 in call_init (env=0x260b6d0, argv=0x7ffc018c0a08, argc=1, l=<optimized out>) at dl-init.c:36
#21 _dl_init (main_map=main_map@entry=0x2851ce0, argc=1, argv=0x7ffc018c0a08, env=0x260b6d0) at dl-init.c:126
#22 0x00007f24ba3feb48 in dl_open_worker (a=a@entry=0x7ffc018bea88) at dl-open.c:566
#23 0x00007f24ba3fa7e4 in _dl_catch_error (objname=objname@entry=0x7ffc018bea78, errstring=errstring@entry=0x7ffc018bea80, mallocedp=mallocedp@entry=0x7ffc018bea77, operate=operate@entry=0x7f24ba3fe870 <dl_open_worker>, args=args@entry=0x7ffc018bea88) at dl-error.c:187
#24 0x00007f24ba3fe33b in _dl_open (file=0x2723270 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7ffc018c0a08, env=0x260b6d0) at dl-open.c:650
#25 0x00007f24b2f3d02b in dlopen_doit (a=a@entry=0x7ffc018beca0) at dlopen.c:66
#26 0x00007f24ba3fa7e4 in _dl_catch_error (objname=0x24ad100, errstring=0x24ad108, mallocedp=0x24ad0f8, operate=0x7f24b2f3cfd0 <dlopen_doit>, args=0x7ffc018beca0) at dl-error.c:187
#27 0x00007f24b2f3d5dd in _dlerror_run (operate=operate@entry=0x7f24b2f3cfd0 <dlopen_doit>, args=args@entry=0x7ffc018beca0) at dlerror.c:163
#28 0x00007f24b2f3d0c1 in __dlopen (file=file@entry=0x2723270 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=<optimized out>) at dlopen.c:87
#29 0x00007f24a58d5bef in module_Load (p_this=p_this@entry=0x2670288, path=path@entry=0x2723270 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=p_handle@entry=0x7ffc018becf0, lazy=<optimized out>) at posix/plugin.c:60
#30 0x00007f24a58bb1db in module_InitDynamic (obj=0x2670288, path=0x2723270 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:583
#31 0x00007f24a58bb4bb in AllocatePluginFile (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:526
#32 AllocatePluginDir (bank=0x7ffc018bef70, maxdepth=2585506568, absdir=0x0, reldir=0x2726830 "gui") at modules/bank.c:488
#33 0x00007f24a58bb404 in AllocatePluginDir (bank=0x7ffc018bef70, maxdepth=2585506568, maxdepth@entry=5, absdir=0x0, absdir@entry=0x2853480 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:492
#34 0x00007f24a58bb969 in AllocatePluginPath (p_this=p_this@entry=0x2670288, path=0x2853480 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:401
#35 0x00007f24a58bbea7 in AllocateAllPlugins (p_this=0x2670288) at modules/bank.c:328
#36 module_LoadPlugins (obj=obj@entry=0x2670288) at modules/bank.c:184
#37 0x00007f24a5842c3d in libvlc_InternalInit (p_libvlc=p_libvlc@entry=0x2670288, i_argc=i_argc@entry=11, ppsz_argv=ppsz_argv@entry=0x7ffc018bf0f0) at libvlc.c:151
#38 0x00007f24a5613623 in libvlc_new (argc=10, argv=<optimized out>) at core.c:59
#39 0x00007f24a5b8aca9 in LibVLC::init () at /usr/src/debug/phonon-backend-vlc-0.8.2/src/utils/libvlc.cpp:117
#40 0x00007f24a5b70228 in Phonon::VLC::Backend::Backend (this=0x2714940, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.8.2/src/backend.cpp:90
#41 0x00007f24a5b70dab in qt_plugin_instance () at /usr/src/debug/phonon-backend-vlc-0.8.2/src/backend.cpp:56
#42 0x00007f24b7e96641 in QPluginLoader::instance (this=this@entry=0x7ffc018bf6e0) at plugin/qpluginloader.cpp:204
#43 0x00007f24a61cff8b in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x27d7c40, newService=...) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:130
#44 0x00007f24a61d0773 in Phonon::KdePlatformPlugin::createBackend (this=0x27d7c40) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:183
#45 0x00007f24b9b51c76 in Phonon::FactoryPrivate::createBackend (this=0x278f4e0) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:252
#46 0x00007f24b9b52317 in Phonon::Factory::backend (createWhenNull=24, createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:576
#47 0x00007f24b9b528e3 in Phonon::Factory::createAudioOutput (parent=0x2798320) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:470
#48 0x00007f24b9b4a9b9 in Phonon::AudioOutputPrivate::createBackendObject (this=0x2790eb0) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:130
#49 0x00007f24b9b48896 in Phonon::AudioOutputPrivate::init (this=0x2790eb0, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:97
#50 0x000000000040e771 in Player (this=0x26f1fb0) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:58
#51 PlayerPool::getPlayer (this=0x26b73f8) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:98
#52 0x000000000040f5fa in NotifyBySound::notify (this=0x25dd710, eventId=1, config=0x2812318) at /usr/src/debug/kde-runtime-14.12.3/knotify/notifybysound.cpp:242
#53 0x000000000040bc75 in KNotify::emitEvent (this=this@entry=0x7ffc018c08c0, e=e@entry=0x2812310) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:230
#54 0x000000000040c63f in KNotify::event (this=0x7ffc018c08c0, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=102781571) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:149
#55 0x000000000040cecc in KNotifyAdaptor::event (this=0x26351d0, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=102781571) at /usr/src/debug/kde-runtime-14.12.3/knotify/knotify.cpp:289
#56 0x000000000040d260 in KNotifyAdaptor::qt_static_metacall (_o=0x50bdf18, _o@entry=0x26351d0, _id=-1709460728, _id@entry=4, _a=0x7ffc018bff30, _c=<optimized out>) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:217
#57 0x000000000040d3c3 in qt_static_metacall (_a=0x7ffc018bff30, _id=4, _c=QMetaObject::InvokeMetaMethod, _o=0x26351d0) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:258
#58 KNotifyAdaptor::qt_metacall (this=0x26351d0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffc018bff30) at /usr/src/debug/kde-runtime-14.12.3/build/knotify/knotify.moc:259
#59 0x00007f24b823fd4d in QDBusConnectionPrivate::deliverCall (this=this@entry=0x24d5d90, object=object@entry=0x26351d0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951
#60 0x00007f24b8240ed9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x24d5d90, object=0x26351d0, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:856
#61 0x00007f24b82419bd in QDBusConnectionPrivate::activateObject (this=0x24d5d90, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#62 0x00007f24b8241a8b in QDBusActivateObjectEvent::placeMetaCall (this=0x278f160) at qdbusintegrator.cpp:1541
#63 0x00007f24b7eca59e in QObject::event (this=0x7ffc018c08c0, e=<optimized out>) at kernel/qobject.cpp:1231
#64 0x00007f24b8b3d76c in QApplicationPrivate::notify_helper (this=this@entry=0x2507570, receiver=receiver@entry=0x7ffc018c08c0, e=e@entry=0x278f160) at kernel/qapplication.cpp:4565
#65 0x00007f24b8b43cad in QApplication::notify (this=this@entry=0x7ffc018c08a0, receiver=receiver@entry=0x7ffc018c08c0, e=e@entry=0x278f160) at kernel/qapplication.cpp:4351
#66 0x00007f24b9fc6cea in KApplication::notify (this=0x7ffc018c08a0, receiver=0x7ffc018c08c0, event=0x278f160) at /usr/src/debug/kdelibs-4.14.6/kdeui/kernel/kapplication.cpp:311
#67 0x00007f24b7eb22ad in QCoreApplication::notifyInternal (this=0x7ffc018c08a0, receiver=receiver@entry=0x7ffc018c08c0, event=event@entry=0x278f160) at kernel/qcoreapplication.cpp:953
#68 0x00007f24b7eb557d in sendEvent (event=0x278f160, receiver=0x7ffc018c08c0) at kernel/qcoreapplication.h:231
#69 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24b9630) at kernel/qcoreapplication.cpp:1577
#70 0x00007f24b7eb5a23 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#71 0x00007f24b7edf8fe in sendPostedEvents () at kernel/qcoreapplication.h:236
#72 postEventSourceDispatch (s=0x2501e10) at kernel/qeventdispatcher_glib.cpp:300
#73 0x00007f24b4dc6a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#74 0x00007f24b4dc6c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#75 0x00007f24b4dc6cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#76 0x00007f24b7edf0be in QEventDispatcherGlib::processEvents (this=0x24beab0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#77 0x00007f24b8bda676 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007f24b7eb0e6f in QEventLoop::processEvents (this=this@entry=0x7ffc018c07b0, flags=...) at kernel/qeventloop.cpp:149
#79 0x00007f24b7eb1165 in QEventLoop::exec (this=this@entry=0x7ffc018c07b0, flags=...) at kernel/qeventloop.cpp:204
#80 0x00007f24b7eb65b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#81 0x00007f24b8b3bf3c in QApplication::exec () at kernel/qapplication.cpp:3823
#82 0x000000000040a255 in main (argc=1, argv=0x7ffc018c0a08) at /usr/src/debug/kde-runtime-14.12.3/knotify/main.cpp:74

Possible duplicates by query: bug 348087.

Reported using DrKonqi
Comment 1 Christoph Feck 2015-05-31 18:26:48 UTC

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