Bug 416522 - Dolphin crashes on close in KMoreToolsMenuBuilder::buildByAppendingToMenu()
Summary: Dolphin crashes on close in KMoreToolsMenuBuilder::buildByAppendingToMenu()
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-01-21 09:13 UTC by Oded Arbel
Modified: 2020-11-27 09:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2020-01-21 09:13:24 UTC
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 "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe2efb24c80 (LWP 5886))]

Thread 4 (Thread 0x7fe2e7338700 (LWP 6028)):
#0  futex_wait_cancelable (private=<optimized out>, 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=<optimized out>) 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=<optimized out>) 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=<optimized out>) 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 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007fe2f4587efa in QDBusConnectionManager::run (this=0x7fe2f460ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#11 0x00007fe2f40e7cc2 in QThreadPrivate::start (arg=0x7fe2f460ad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#12 0x00007fe2f62e7669 in start_thread (arg=<optimized out>) 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=<optimized out>) 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<QPointer<QObject> >::size (this=0x565190d178a0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:170
#8  QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) 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=<optimized out>, parent@entry=0x565190246090, f=...) at kernel/qwidget.cpp:10778
#14 0x00007fe2f4ddf92a in QWidgetPrivate::init (this=0x5651919f53f0, parentWidget=<optimized out>, 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=<optimized out>) 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&, QUrl const&) () 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=<optimized out>, previous=<optimized out>) 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<QEventLoop::ProcessEventsFlag>) () 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=<optimized out>) 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=<optimized out>, argv=<optimized out>) at ./src/main.cpp:188
#39 0x00007fe2f632e1e3 in __libc_start_main (main=0x56518f414060 <main>, argc=3, argv=0x7ffc84f01cb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 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
Comment 1 Nate Graham 2020-01-21 17:36:09 UTC
Crashing in KMoreToolsMenuBuilder::buildByAppendingToMenu(). Sending over to knewstuff folks.
Comment 2 Alexander Lohnau 2020-11-26 19:26:06 UTC
Is this still reproducible?
Comment 3 Oded Arbel 2020-11-27 08:30:19 UTC
This didn't happen to me again.