Bug 391547

Summary: KNotify seg fault when a KMyMoney notification is displayed
Product: [Unmaintained] kdelibs Reporter: Stephane Couturier <contact>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephane Couturier 2018-03-07 22:39:09 UTC
Application: knotify4 (4.14.27)
KDE Platform Version: 4.14.35
Qt Version: 4.8.7
Operating System: Linux 4.14.20-desktop-1.mga6 x86_64
Distribution: "Mageia 6"

-- Information about the crash:
- What I was doing when the application crashed:

Using KMyMoney 4.8.1
a crash is detected everytime on events when window appear and is asking to confirm yes/no or discard.
examples:If I click to skip a recurring operation; or I edit a linee in an account and try to change screen without havinfg saved.
KMyMoney actually continue to work normally.

Using Magiea 6 but with Core "Testing" repository. Same report will be posted on Mageia bugzilla.

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 0x7f6b3c0df840 (LWP 25288))]

Thread 2 (Thread 0x7f6b296b7700 (LWP 25289)):
#0  0x00007f6b388239dc in __lll_lock_wait () at /lib64/libpthread.so.0
#1  0x00007f6b3881dab6 in pthread_mutex_lock () at /lib64/libpthread.so.0
#2  0x00007f6b3bfc4aaa in tls_get_addr_tail () at /lib64/ld-linux-x86-64.so.2
#3  0x00007f6b395c5a30 in __cxa_get_globals () at /lib64/libstdc++.so.6
#4  0x00007f6b395c5959 in std::uncaught_exception() () at /lib64/libstdc++.so.6
#5  0x00007f6b39926499 in qt_message(QtMsgType, char const*, __va_list_tag*) () at /lib64/libQtCore.so.4
#6  0x00007f6b39926774 in qWarning(char const*, ...) () at /lib64/libQtCore.so.4
#7  0x00007f6b39a645e3 in socketNotifierSourceCheck(_GSource*) () at /lib64/libQtCore.so.4
#8  0x00007f6b36ae3911 in g_main_context_check () at /lib64/libglib-2.0.so.0
#9  0x00007f6b36ae3e08 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#10 0x00007f6b36ae3f7c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#11 0x00007f6b39a64d6e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#12 0x00007f6b39a352b1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#13 0x00007f6b39a355c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#14 0x00007f6b3992e289 in QThread::exec() () at /lib64/libQtCore.so.4
#15 0x00007f6b39a163a3 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#16 0x00007f6b39930a6c in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#17 0x00007f6b3881b66d in start_thread () at /lib64/libpthread.so.0
#18 0x00007f6b3927be0d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6b3c0df840 (LWP 25288)):
[KCrash Handler]
#6  0x00007f6b392c0c9d in __memcpy_avx_unaligned () at /lib64/libc.so.6
#7  0x00007f6b3993376b in QByteArray::append(char const*) () at /lib64/libQtCore.so.4
#8  0x00007f6b19678bd3 in QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id() () at /lib64/libQt5Widgets.so.5
#9  0x00007f6b1961f0b7 in _GLOBAL__sub_I_qwidgetsvariant.cpp () at /lib64/libQt5Widgets.so.5
#10 0x00007f6b3bfc24aa in call_init.part () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f6b3bfc25bb in _dl_init () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f6b3bfc67a1 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#13 0x00007f6b3bfc2354 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#14 0x00007f6b3bfc5da1 in _dl_open () at /lib64/ld-linux-x86-64.so.2
#15 0x00007f6b34a03fc9 in dlopen_doit () at /lib64/libdl.so.2
#16 0x00007f6b3bfc2354 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#17 0x00007f6b34a04641 in _dlerror_run () at /lib64/libdl.so.2
#18 0x00007f6b34a04061 in dlopen () at /lib64/libdl.so.2
#19 0x00007f6b23b6144f in module_Load () at /lib64/libvlccore.so.8
#20 0x00007f6b23ae1bea in AllocatePluginDir () at /lib64/libvlccore.so.8
#21 0x00007f6b23ae1b23 in AllocatePluginDir () at /lib64/libvlccore.so.8
#22 0x00007f6b23ae1f29 in AllocatePluginPath () at /lib64/libvlccore.so.8
#23 0x00007f6b23ae247f in module_LoadPlugins () at /lib64/libvlccore.so.8
#24 0x00007f6b23ac91f6 in libvlc_InternalInit () at /lib64/libvlccore.so.8
#25 0x00007f6b238914ee in libvlc_new () at /lib64/libvlc.so.5
#26 0x00007f6b23dece2f in LibVLC::init() () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007f6b23dd2190 in Phonon::VLC::Backend::Backend(QObject*, QList<QVariant> const&) () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007f6b23dd2dc3 in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#29 0x00007f6b39a1aa3b in QPluginLoader::instance() () at /lib64/libQtCore.so.4
#30 0x00007f6b28cad701 in Phonon::KdePlatformPlugin::createBackend(KSharedPtr<KService>) () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007f6b28cade7b in Phonon::KdePlatformPlugin::createBackend() () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#32 0x00007f6b3bd71f46 in Phonon::FactoryPrivate::createBackend() () at /lib64/libphonon.so.4
#33 0x00007f6b3bd72648 in Phonon::Factory::backend(bool) () at /lib64/libphonon.so.4
#34 0x00007f6b3bd72d22 in Phonon::Factory::createAudioOutput(QObject*) () at /lib64/libphonon.so.4
#35 0x00007f6b3bd6b499 in Phonon::AudioOutputPrivate::createBackendObject() () at /lib64/libphonon.so.4
#36 0x00007f6b3bd685d4 in Phonon::AudioOutputPrivate::init(Phonon::Category) () at /lib64/libphonon.so.4
#37 0x000000000040ecb9 in PlayerPool::getPlayer() ()
#38 0x0000000000410060 in NotifyBySound::notify(int, KNotifyConfig*) ()
#39 0x000000000040bb89 in KNotify::emitEvent(KNotify::Event*) ()
#40 0x000000000040ce40 in KNotify::event(QString const&, QString const&, QList<QPair<QString, QString> > const&, QString const&, QString const&, KNotifyImage const&, QStringList const&, int, unsigned long) ()
#41 0x000000000040d92a in KNotifyAdaptor::event(QString const&, QString const&, QList<QVariant> const&, QString const&, QString const&, QByteArray const&, QStringList const&, int, long long) ()
#42 0x000000000040dcfc in KNotifyAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.32] ()
#43 0x000000000040de63 in KNotifyAdaptor::qt_metacall(QMetaObject::Call, int, void**) ()
#44 0x00007f6b39dc16b5 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () at /lib64/libQtDBus.so.4
#45 0x00007f6b39dc2bab in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) () at /lib64/libQtDBus.so.4
#46 0x00007f6b39dc3897 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () at /lib64/libQtDBus.so.4
#47 0x00007f6b39dc3a9b in QDBusActivateObjectEvent::placeMetaCall(QObject*) () at /lib64/libQtDBus.so.4
#48 0x00007f6b39a4f651 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#49 0x00007f6b3a6c3ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#50 0x00007f6b3a6caacc in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#51 0x00007f6b3b3fdb9a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#52 0x00007f6b39a368ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#53 0x00007f6b39a39b4e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQtCore.so.4
#54 0x00007f6b39a64bfe in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#55 0x00007f6b36ae3b82 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#56 0x00007f6b36ae3ed8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#57 0x00007f6b36ae3f7c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#58 0x00007f6b39a64d6e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#59 0x00007f6b3a7674a6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#60 0x00007f6b39a352b1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#61 0x00007f6b39a355c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#62 0x00007f6b39a3ac49 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#63 0x0000000000409a2b in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-03-21 01:37:36 UTC

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