Bug 348087 - KNotify crashes on Delete
Summary: KNotify crashes on Delete
Status: RESOLVED DUPLICATE of bug 335111
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-05-21 23:17 UTC by Родион
Modified: 2015-05-21 23:35 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 Родион 2015-05-21 23:17:32 UTC
Application: knotify4 (4.14.8)
KDE Platform Version: 4.14.8
Qt Version: 4.8.6
Operating System: Linux 4.0.3-1-desktop x86_64
Distribution: "openSUSE 20150518 (Tumbleweed) (x86_64)"

-- Information about the crash:
Clicking Shift+Del in Dolphin to delete any file leads to a crash of KNotify.

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 0x7efda9a158c0 (LWP 18998))]

Thread 2 (Thread 0x7efd95443700 (LWP 18999)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007efda61764bb in __GI___pthread_mutex_lock (mutex=0x7efda9a65908 <_rtld_local+2312>) at ../nptl/pthread_mutex_lock.c:115
#2  0x00007efda9845032 in tls_get_addr_tail (ti=0x7efda716e708, dtv=0x1c6ba40, the_map=0x7efda9a30000) at dl-tls.c:765
#3  0x00007efda6ee043c in __cxa_get_globals () from /usr/lib64/libstdc++.so.6
#4  0x00007efda6ee0369 in std::uncaught_exception() () from /usr/lib64/libstdc++.so.6
#5  0x00007efda71fd7fc in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtWarningMsg, msg=msg@entry=0x7efda73e9548 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=ap@entry=0x7efd95442a28) at global/qglobal.cpp:2388
#6  0x00007efda71fdae4 in qWarning (msg=msg@entry=0x7efda73e9548 "QSocketNotifier: Invalid socket %d and type '%s', disabling...") at global/qglobal.cpp:2487
#7  0x00007efda73362de in socketNotifierSourceCheck (source=0x7efd90003000) at kernel/qeventdispatcher_glib.cpp:94
#8  0x00007efda40098e1 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#9  0x00007efda4009de8 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007efda4009f6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007efda73360ee in QEventDispatcherGlib::processEvents (this=0x7efd900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007efda7307e7f in QEventLoop::processEvents (this=this@entry=0x7efd95442ce0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007efda7308175 in QEventLoop::exec (this=this@entry=0x7efd95442ce0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007efda720551f in QThread::exec (this=this@entry=0x1c841d0) at thread/qthread.cpp:538
#15 0x00007efda72e9783 in QInotifyFileSystemWatcherEngine::run (this=0x1c841d0) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007efda7207bff in QThreadPrivate::start (arg=0x1c841d0) at thread/qthread_unix.cpp:349
#17 0x00007efda6174484 in start_thread (arg=0x7efd95443700) at pthread_create.c:333
#18 0x00007efda6bc4a4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7efda9a158c0 (LWP 18998)):
[KCrash Handler]
#6  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:29
#7  0x00007efd896a2d1e in qMetaTypeStaticType (length=22, typeName=0x398f9f8 <error: Cannot access memory at address 0x398f9f8>) at kernel/qmetatype.cpp:804
#8  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7efd89e591d0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7efd89e59350 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7efd89e59130 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7efd89e59140 <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  0x00007efd89ba2fd7 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=0x7efd89f3516e "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 0x00007efda98529fa in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7ffe6d133478, env=env@entry=0x7ffe6d133488) at dl-init.c:72
#20 0x00007efda9852ae3 in call_init (env=0x7ffe6d133488, argv=0x7ffe6d133478, argc=1, l=<optimized out>) at dl-init.c:30
#21 _dl_init (main_map=main_map@entry=0x1cdc380, argc=1, argv=0x7ffe6d133478, env=0x7ffe6d133488) at dl-init.c:120
#22 0x00007efda9856c65 in dl_open_worker (a=a@entry=0x7ffe6d1314f8) at dl-open.c:558
#23 0x00007efda98528b4 in _dl_catch_error (objname=objname@entry=0x7ffe6d1314e8, errstring=errstring@entry=0x7ffe6d1314f0, mallocedp=mallocedp@entry=0x7ffe6d1314e7, operate=operate@entry=0x7efda98569a0 <dl_open_worker>, args=args@entry=0x7ffe6d1314f8) at dl-error.c:187
#24 0x00007efda985646b in _dl_open (file=0x1cdb450 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7ffe6d133478, env=0x7ffe6d133488) at dl-open.c:642
#25 0x00007efda2163fbb in dlopen_doit (a=a@entry=0x7ffe6d131710) at dlopen.c:66
#26 0x00007efda98528b4 in _dl_catch_error (objname=0x1a2a310, errstring=0x1a2a318, mallocedp=0x1a2a308, operate=0x7efda2163f60 <dlopen_doit>, args=0x7ffe6d131710) at dl-error.c:187
#27 0x00007efda216456d in _dlerror_run (operate=operate@entry=0x7efda2163f60 <dlopen_doit>, args=args@entry=0x7ffe6d131710) at dlerror.c:163
#28 0x00007efda2164051 in __dlopen (file=file@entry=0x1cdb450 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=<optimized out>) at dlopen.c:87
#29 0x00007efd8fda7bff in module_Load (p_this=p_this@entry=0x1d916b8, path=path@entry=0x1cdb450 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=p_handle@entry=0x7ffe6d131760, lazy=<optimized out>) at posix/plugin.c:60
#30 0x00007efd8fd8d1eb in module_InitDynamic (obj=0x1d916b8, path=0x1cdb450 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:583
#31 0x00007efd8fd8d4cb in AllocatePluginFile (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:526
#32 AllocatePluginDir (bank=0x7ffe6d1319e0, maxdepth=2306708744, absdir=0x0, reldir=0x1cdb400 "gui") at modules/bank.c:488
#33 0x00007efd8fd8d414 in AllocatePluginDir (bank=0x7ffe6d1319e0, maxdepth=2306708744, maxdepth@entry=5, absdir=0x0, absdir@entry=0x1cde470 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:492
#34 0x00007efd8fd8d979 in AllocatePluginPath (p_this=p_this@entry=0x1d916b8, path=0x1cde470 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:401
#35 0x00007efd8fd8deb7 in AllocateAllPlugins (p_this=0x1d916b8) at modules/bank.c:328
#36 module_LoadPlugins (obj=obj@entry=0x1d916b8) at modules/bank.c:184
#37 0x00007efd8fd14c3d in libvlc_InternalInit (p_libvlc=p_libvlc@entry=0x1d916b8, i_argc=i_argc@entry=11, ppsz_argv=ppsz_argv@entry=0x7ffe6d131b60) at libvlc.c:151
#38 0x00007efd8fae5623 in libvlc_new (argc=10, argv=<optimized out>) at core.c:59
#39 0x00007efd94214ca9 in LibVLC::init () at /usr/src/debug/phonon-backend-vlc-0.8.2/src/utils/libvlc.cpp:117
#40 0x00007efd941fa228 in Phonon::VLC::Backend::Backend (this=0x1cb2840, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.8.2/src/backend.cpp:90
#41 0x00007efd941fadab in qt_plugin_instance () at /usr/src/debug/phonon-backend-vlc-0.8.2/src/backend.cpp:56
#42 0x00007efda72ed641 in QPluginLoader::instance (this=this@entry=0x7ffe6d132150) at plugin/qpluginloader.cpp:204
#43 0x00007efd94a39f8b in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x1ca0b60, newService=...) at /usr/src/debug/kde-runtime-15.04.1/phonon/platform_kde/kdeplatformplugin.cpp:130
#44 0x00007efd94a3a773 in Phonon::KdePlatformPlugin::createBackend (this=0x1ca0b60) at /usr/src/debug/kde-runtime-15.04.1/phonon/platform_kde/kdeplatformplugin.cpp:183
#45 0x00007efda9603c76 in Phonon::FactoryPrivate::createBackend (this=0x1cbb1c0) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:252
#46 0x00007efda9604317 in Phonon::Factory::backend (createWhenNull=248, createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:576
#47 0x00007efda96048e3 in Phonon::Factory::createAudioOutput (parent=0x1db69c0) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:470
#48 0x00007efda95fc9b9 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1cbb230) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:130
#49 0x00007efda95fa896 in Phonon::AudioOutputPrivate::init (this=0x1cbb230, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:97
#50 0x000000000040e771 in Player (this=0x1cb6200) at /usr/src/debug/kde-runtime-15.04.1/knotify/notifybysound.cpp:58
#51 PlayerPool::getPlayer (this=0x1c72058) at /usr/src/debug/kde-runtime-15.04.1/knotify/notifybysound.cpp:100
#52 0x000000000040f9ba in NotifyBySound::notify (this=0x1c7ab30, eventId=1, config=0x1db9888) at /usr/src/debug/kde-runtime-15.04.1/knotify/notifybysound.cpp:256
#53 0x000000000040bce5 in KNotify::emitEvent (this=this@entry=0x7ffe6d133330, e=e@entry=0x1db9880) at /usr/src/debug/kde-runtime-15.04.1/knotify/knotify.cpp:230
#54 0x000000000040c6af in KNotify::event (this=0x7ffe6d133330, event=..., appname=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=timeout@entry=-1, winId=winId@entry=12583162) at /usr/src/debug/kde-runtime-15.04.1/knotify/knotify.cpp:149
#55 0x000000000040cf3c in KNotifyAdaptor::event (this=0x1c79710, event=..., fromApp=..., contexts=..., title=..., text=..., image=..., actions=..., timeout=-1, winId=12583162) at /usr/src/debug/kde-runtime-15.04.1/knotify/knotify.cpp:289
#56 0x000000000040d2d0 in KNotifyAdaptor::qt_static_metacall (_o=0x398f9f8, _o@entry=0x1c79710, _id=-1988258552, _id@entry=4, _a=0x7ffe6d1329a0, _c=<optimized out>) at /usr/src/debug/kde-runtime-15.04.1/build/knotify/knotify.moc:217
#57 0x000000000040d433 in qt_static_metacall (_a=0x7ffe6d1329a0, _id=4, _c=QMetaObject::InvokeMetaMethod, _o=0x1c79710) at /usr/src/debug/kde-runtime-15.04.1/build/knotify/knotify.moc:258
#58 KNotifyAdaptor::qt_metacall (this=0x1c79710, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffe6d1329a0) at /usr/src/debug/kde-runtime-15.04.1/build/knotify/knotify.moc:259
#59 0x00007efda7696d4d in QDBusConnectionPrivate::deliverCall (this=this@entry=0x1a52e10, object=object@entry=0x1c79710, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:951
#60 0x00007efda7697ed9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x1a52e10, object=0x1c79710, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:856
#61 0x00007efda76989bd in QDBusConnectionPrivate::activateObject (this=0x1a52e10, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#62 0x00007efda7698a8b in QDBusActivateObjectEvent::placeMetaCall (this=0x1dadcb0) at qdbusintegrator.cpp:1541
#63 0x00007efda73215ae in QObject::event (this=0x7ffe6d133330, e=<optimized out>) at kernel/qobject.cpp:1231
#64 0x00007efda7f9480c in QApplicationPrivate::notify_helper (this=this@entry=0x1a81e50, receiver=receiver@entry=0x7ffe6d133330, e=e@entry=0x1dadcb0) at kernel/qapplication.cpp:4565
#65 0x00007efda7f9ad4d in QApplication::notify (this=this@entry=0x7ffe6d133310, receiver=receiver@entry=0x7ffe6d133330, e=e@entry=0x1dadcb0) at kernel/qapplication.cpp:4351
#66 0x00007efda8caddba in KApplication::notify (this=0x7ffe6d133310, receiver=0x7ffe6d133330, event=0x1dadcb0) at /usr/src/debug/kdelibs-4.14.8/kdeui/kernel/kapplication.cpp:311
#67 0x00007efda73092bd in QCoreApplication::notifyInternal (this=0x7ffe6d133310, receiver=receiver@entry=0x7ffe6d133330, event=event@entry=0x1dadcb0) at kernel/qcoreapplication.cpp:953
#68 0x00007efda730c58d in sendEvent (event=0x1dadcb0, receiver=0x7ffe6d133330) at kernel/qcoreapplication.h:231
#69 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1a36690) at kernel/qcoreapplication.cpp:1577
#70 0x00007efda730ca33 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#71 0x00007efda733690e in sendPostedEvents () at kernel/qcoreapplication.h:236
#72 postEventSourceDispatch (s=0x1a6efc0) at kernel/qeventdispatcher_glib.cpp:300
#73 0x00007efda4009c74 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#74 0x00007efda4009ec8 in ?? () from /usr/lib64/libglib-2.0.so.0
#75 0x00007efda4009f6c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#76 0x00007efda73360ce in QEventDispatcherGlib::processEvents (this=0x1a3bb20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#77 0x00007efda8031706 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007efda7307e7f in QEventLoop::processEvents (this=this@entry=0x7ffe6d133220, flags=...) at kernel/qeventloop.cpp:149
#79 0x00007efda7308175 in QEventLoop::exec (this=this@entry=0x7ffe6d133220, flags=...) at kernel/qeventloop.cpp:204
#80 0x00007efda730d5c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#81 0x00007efda7f92fdc in QApplication::exec () at kernel/qapplication.cpp:3823
#82 0x000000000040a2c5 in main (argc=1, argv=0x7ffe6d133478) at /usr/src/debug/kde-runtime-15.04.1/knotify/main.cpp:74

Reported using DrKonqi
Comment 1 Christoph Feck 2015-05-21 23:35:31 UTC

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