<?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>416522</bug_id>
          
          <creation_ts>2020-01-21 09:13:24 +0000</creation_ts>
          <short_desc>Dolphin crashes on close in KMoreToolsMenuBuilder::buildByAppendingToMenu()</short_desc>
          <delta_ts>2020-11-27 09:11:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-knewstuff</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=426898</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Oded Arbel">oded</reporter>
          <assigned_to name="Jeremy Whiting">jpwhiting</assigned_to>
          <cc>alexander.lohnau</cc>
    
    <cc>dolphin-bugs-null</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>nate</cc>
          
          <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>1904224</commentid>
    <comment_count>0</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2020-01-21 09:13:24 +0000</bug_when>
    <thetext>Application: dolphin (20.03.70)

Qt Version: 5.12.4
Frameworks Version: 5.66.0
Operating System: Linux 5.3.0-26-generic x86_64
Windowing system: X11
Distribution: Ubuntu 19.10

-- Information about the crash:
- What I was doing when the application crashed:
Closing a single view (not tabs) dolphin window that was showing an SFTP location.

Using KCI unstable packages.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7fe2efb24c80 (LWP 5886))]

Thread 4 (Thread 0x7fe2e7338700 (LWP 6028)):
#0  futex_wait_cancelable (private=&lt;optimized out&gt;, expected=0, futex_word=0x5651902668d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565190266888, cond=0x5651902668b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5651902668b0, mutex=0x565190266888) at pthread_cond_wait.c:638
#3  0x00007fe2e781e97b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fe2e781e59b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fe2f62e7669 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:479
#6  0x00007fe2f6429323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe2edebe700 (LWP 5970)):
#0  __GI___libc_read (nbytes=16, buf=0x7fe2edebdb60, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=buf@entry=0x7fe2edebdb60, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fe2f22f463f in read (__nbytes=16, __buf=0x7fe2edebdb60, __fd=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x5651901d5fb0) at ../../../glib/gwakeup.c:210
#4  0x00007fe2f22ac58e in g_main_context_check (context=context@entry=0x7fe2e0000c30, max_priority=2147483647, fds=fds@entry=0x7fe2e00029e0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3695
#5  0x00007fe2f22ac9e2 in g_main_context_iterate (context=context@entry=0x7fe2e0000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../../../glib/gmain.c:3914
#6  0x00007fe2f22acb73 in g_main_context_iteration (context=0x7fe2e0000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:3978
#7  0x00007fe2f43066c3 in QEventDispatcherGlib::processEvents (this=0x7fe2e0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007fe2f42ad63b in QEventLoop::exec (this=this@entry=0x7fe2edebdd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007fe2f40e6a75 in QThread::exec (this=this@entry=0x7fe2f460ad80 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007fe2f4587efa in QDBusConnectionManager::run (this=0x7fe2f460ad80 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at qdbusconnection.cpp:178
#11 0x00007fe2f40e7cc2 in QThreadPrivate::start (arg=0x7fe2f460ad80 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at thread/qthread_unix.cpp:361
#12 0x00007fe2f62e7669 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:479
#13 0x00007fe2f6429323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe2eec72700 (LWP 5935)):
#0  0x00007fe2f641cc2f in __GI___poll (fds=fds@entry=0x7fe2eec71ca8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe2f2b82917 in poll (__timeout=-1, __nfds=1, __fds=0x7fe2eec71ca8) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x565190187fc0, cond=cond@entry=0x565190188000, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479
#3  0x00007fe2f2b8453a in xcb_wait_for_event (c=0x565190187fc0) at ../../src/xcb_in.c:697
#4  0x00007fe2ef45a288 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fe2f40e7cc2 in QThreadPrivate::start (arg=0x565190177d80) at thread/qthread_unix.cpp:361
#6  0x00007fe2f62e7669 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:479
#7  0x00007fe2f6429323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe2efb24c80 (LWP 5886)):
[KCrash Handler]
#6  QListData::size (this=0x565190d178a0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:113
#7  QList&lt;QPointer&lt;QObject&gt; &gt;::size (this=0x565190d178a0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#8  QCoreApplicationPrivate::sendThroughObjectEventFilters (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1202
#9  QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x565190246090, event=event@entry=0x7ffc84f00f90) at kernel/qcoreapplication.cpp:1199
#10 0x00007fe2f4d9ba75 in QApplicationPrivate::notify_helper (this=this@entry=0x565190162e80, receiver=receiver@entry=0x565190246090, e=e@entry=0x7ffc84f00f90) at kernel/qapplication.cpp:3731
#11 0x00007fe2f4da4e00 in QApplication::notify (this=0x7ffc84f01b50, receiver=0x565190246090, e=0x7ffc84f00f90) at kernel/qapplication.cpp:3483
#12 0x00007fe2f42aea9a in QCoreApplication::notifyInternal2 (receiver=0x565190246090, event=0x7ffc84f00f90) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#13 0x00007fe2f4ddf56b in QWidget::setParent (this=0x565190293ee0, parent=&lt;optimized out&gt;, parent@entry=0x565190246090, f=...) at kernel/qwidget.cpp:10778
#14 0x00007fe2f4ddf92a in QWidgetPrivate::init (this=0x5651919f53f0, parentWidget=&lt;optimized out&gt;, f=...) at kernel/qwidget.cpp:1200
#15 0x00007fe2f4f1d6b7 in QMenu::QMenu (this=0x565190293ee0, parent=0x565190246090) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:571
#16 0x00007fe2f4f1d6f8 in QMenu::QMenu (this=0x565190293ee0, title=..., parent=&lt;optimized out&gt;) at widgets/qmenu.cpp:1687
#17 0x00007fe2f600dcb5 in KMoreToolsMenuBuilder::buildByAppendingToMenu(QMenu*, KMoreTools::ConfigureDialogAccessibleSetting, QMenu**) () from /usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5
#18 0x00007fe2f6020961 in KMoreToolsMenuFactory::fillMenuFromGroupingNames(QMenu*, QStringList const&amp;, QUrl const&amp;) () from /usr/lib/x86_64-linux-gnu/libKF5NewStuff.so.5
#19 0x00007fe2f6551422 in DolphinMainWindow::preferredSearchTool (this=this@entry=0x565190245fc0) at /usr/include/c++/9/bits/stl_algobase.h:340
#20 0x00007fe2f6551727 in DolphinMainWindow::updateOpenPreferredSearchToolAction (this=this@entry=0x565190245fc0) at ./src/dolphinmainwindow.cpp:997
#21 0x00007fe2f6551d0a in DolphinMainWindow::event (this=0x565190245fc0, event=0x7ffc84f016c0) at ./src/dolphinmainwindow.cpp:2297
#22 0x00007fe2f4d9ba86 in QApplicationPrivate::notify_helper (this=this@entry=0x565190162e80, receiver=receiver@entry=0x565190245fc0, e=e@entry=0x7ffc84f016c0) at kernel/qapplication.cpp:3737
#23 0x00007fe2f4da4e00 in QApplication::notify (this=0x7ffc84f01b50, receiver=0x565190245fc0, e=0x7ffc84f016c0) at kernel/qapplication.cpp:3483
#24 0x00007fe2f42aea9a in QCoreApplication::notifyInternal2 (receiver=0x565190245fc0, event=0x7ffc84f016c0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#25 0x00007fe2f4da2ab7 in QApplication::setActiveWindow (act=act@entry=0x565190245fc0) at kernel/qapplication.cpp:2102
#26 0x00007fe2f4da2cd3 in QApplicationPrivate::notifyActiveWindowChange (this=&lt;optimized out&gt;, previous=&lt;optimized out&gt;) at kernel/qapplication.cpp:2168
#27 0x00007fe2f476e565 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007fe2f4773535 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007fe2f474d26b in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007fe2ef45b28e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#31 0x00007fe2f22ac84d in g_main_dispatch (context=0x7fe2e8005010) at ../../../glib/gmain.c:3179
#32 g_main_context_dispatch (context=context@entry=0x7fe2e8005010) at ../../../glib/gmain.c:3844
#33 0x00007fe2f22acad0 in g_main_context_iterate (context=context@entry=0x7fe2e8005010, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../../../glib/gmain.c:3917
#34 0x00007fe2f22acb73 in g_main_context_iteration (context=0x7fe2e8005010, may_block=may_block@entry=1) at ../../../glib/gmain.c:3978
#35 0x00007fe2f43066a5 in QEventDispatcherGlib::processEvents (this=0x5651901cf760, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007fe2f42ad63b in QEventLoop::exec (this=this@entry=0x7ffc84f01a60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#37 0x00007fe2f42b53a6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#38 0x00007fe2f6544855 in kdemain (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at ./src/main.cpp:188
#39 0x00007fe2f632e1e3 in __libc_start_main (main=0x56518f414060 &lt;main&gt;, argc=3, argv=0x7ffc84f01cb8, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffc84f01ca8) at ../csu/libc-start.c:308
#40 0x000056518f41409e in _start ()
[Inferior 1 (process 5886) detached]

Possible duplicates by query: bug 415991, bug 415960, bug 415930, bug 415780, bug 415590.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904376</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-01-21 17:36:09 +0000</bug_when>
    <thetext>Crashing in KMoreToolsMenuBuilder::buildByAppendingToMenu(). Sending over to knewstuff folks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979132</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Lohnau">alexander.lohnau</who>
    <bug_when>2020-11-26 19:26:06 +0000</bug_when>
    <thetext>Is this still reproducible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979269</commentid>
    <comment_count>3</comment_count>
    <who name="Oded Arbel">oded</who>
    <bug_when>2020-11-27 08:30:19 +0000</bug_when>
    <thetext>This didn&apos;t happen to me again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>