<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>391547</bug_id>
          
          <creation_ts>2018-03-07 22:39:09 +0000</creation_ts>
          <short_desc>KNotify seg fault when a KMyMoney notification is displayed</short_desc>
          <delta_ts>2018-03-21 01:37:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>knotify</component>
          <version>unspecified</version>
          <rep_platform>Mageia RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>335111</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Stephane Couturier">contact</reporter>
          <assigned_to name="Olivier Goffart">ogoffart</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1736521</commentid>
    <comment_count>0</comment_count>
    <who name="Stephane Couturier">contact</who>
    <bug_when>2018-03-07 22:39:09 +0000</bug_when>
    <thetext>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: &quot;Mageia 6&quot;

-- 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 &quot;Testing&quot; 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 &quot;/lib64/libthread_db.so.1&quot;.
[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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQtCore.so.4
#12 0x00007f6b39a352b1 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQtCore.so.4
#13 0x00007f6b39a355c5 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QWidget*, 8&gt;::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&lt;QVariant&gt; const&amp;) () 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&lt;KService&gt;) () 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&amp;, QString const&amp;, QList&lt;QPair&lt;QString, QString&gt; &gt; const&amp;, QString const&amp;, QString const&amp;, KNotifyImage const&amp;, QStringList const&amp;, int, unsigned long) ()
#41 0x000000000040d92a in KNotifyAdaptor::event(QString const&amp;, QString const&amp;, QList&lt;QVariant&gt; const&amp;, QString const&amp;, QString const&amp;, QByteArray const&amp;, QStringList const&amp;, 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&amp;, QList&lt;int&gt; const&amp;, int) () at /lib64/libQtDBus.so.4
#45 0x00007f6b39dc2bab in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&amp;) () at /lib64/libQtDBus.so.4
#46 0x00007f6b39dc3897 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&amp;, QDBusMessage const&amp;, 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQtCore.so.4
#59 0x00007f6b3a7674a6 in QGuiEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQtGui.so.4
#60 0x00007f6b39a352b1 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQtCore.so.4
#61 0x00007f6b39a355c5 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /lib64/libQtCore.so.4
#62 0x00007f6b39a3ac49 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#63 0x0000000000409a2b in main ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1739438</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-03-21 01:37:36 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 335111 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>