Bug 396810 - Unable to start a new window of dolphin when using Global Menu (crash in QMenuBarPrivate::updateGeometries())
Summary: Unable to start a new window of dolphin when using Global Menu (crash in QMen...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (show other bugs)
Version: 5.13.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-07-24 11:28 UTC by apolanec
Modified: 2020-12-28 23:41 UTC (History)
5 users (show)

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 apolanec 2018-07-24 11:28:16 UTC
Application: dolphin (18.04.3)

Qt Version: 5.11.1
Frameworks Version: 5.48.0
Operating System: Linux 4.17.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
I am unable to start a new instance of dolphin, it keeps crashing

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3950f904c0 (LWP 6552))]

Thread 3 (Thread 0x7f393314b700 (LWP 6554)):
#0  0x00007f395081b2c9 in poll () from /lib64/libc.so.6
#1  0x00007f39433512c6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f39433513ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f394a9d8b3b in QEventDispatcherGlib::processEvents (this=0x7f392c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f394a988b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f394a7e7326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f394ae29f45 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f394a7f08ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#8  0x00007f3945a31554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3950825ccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f393971b700 (LWP 6553)):
#0  0x00007f395081b2c9 in poll () from /lib64/libc.so.6
#1  0x00007f394298c377 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f394298df8a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f393c6f6089 in QXcbEventReader::run (this=0x55b9577421c0) at qxcbconnection.h:409
#4  0x00007f394a7f08ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#5  0x00007f3945a31554 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3950825ccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3950f904c0 (LWP 6552)):
[KCrash Handler]
#6  QWidget::hide (this=0x732f36397836395b) at kernel/qwidget.cpp:8142
#7  0x00007f394bb05535 in QMenuBarPrivate::updateGeometries() () at widgets/qmenubar.cpp:255
#8  0x00007f394bb09359 in QMenuBar::changeEvent (this=0x55b957a563b0, e=0x7ffe0cdba6a0) at widgets/qmenubar.cpp:1436
#9  0x00007f394b9d260a in QWidget::event (this=this@entry=0x55b957a563b0, event=event@entry=0x7ffe0cdba6a0) at kernel/qwidget.cpp:9217
#10 0x00007f394bb09457 in QMenuBar::event (this=0x55b957a563b0, e=0x7ffe0cdba6a0) at widgets/qmenubar.cpp:1502
#11 0x00007f394b996c11 in QApplicationPrivate::notify_helper (this=this@entry=0x55b957764590, receiver=receiver@entry=0x55b957a563b0, e=e@entry=0x7ffe0cdba6a0) at kernel/qapplication.cpp:3728
#12 0x00007f394b99ddf0 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#13 0x00007f394a989d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#14 0x00007f394b9c3fde in QCoreApplication::sendEvent (event=0x7ffe0cdba6a0, receiver=0x55b957a563b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#15 QWidgetPrivate::updateFont (this=this@entry=0x55b957900aa0, font=...) at kernel/qwidget.cpp:4839
#16 0x00007f394b9d29cd in QWidget::event (this=this@entry=0x55b957a563b0, event=event@entry=0x7ffe0cdba9c0) at kernel/qwidget.cpp:9322
#17 0x00007f394bb09457 in QMenuBar::event (this=0x55b957a563b0, e=0x7ffe0cdba9c0) at widgets/qmenubar.cpp:1502
#18 0x00007f394b996c11 in QApplicationPrivate::notify_helper (this=this@entry=0x55b957764590, receiver=receiver@entry=0x55b957a563b0, e=e@entry=0x7ffe0cdba9c0) at kernel/qapplication.cpp:3728
#19 0x00007f394b99ddf0 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#20 0x00007f394a989d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#21 0x00007f394b9ec41b in QCoreApplication::sendEvent (event=0x7ffe0cdba9c0, receiver=0x55b957a563b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#22 sendScreenChangeRecursively (widget=0x55b957a563b0) at kernel/qwidgetwindow.cpp:740
#23 0x00007f394b9ec44f in sendScreenChangeRecursively (widget=<optimized out>) at kernel/qwidgetwindow.cpp:745
#24 0x00007f394b9ec49d in QWidgetWindow::handleScreenChange (this=0x55b957a56690) at /usr/include/c++/8/bits/atomic_base.h:390
#25 0x00007f394a9b1b83 in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.cpp:3771
#26 0x00007f394a9b21b7 in QMetaObject::activate (sender=sender@entry=0x55b957a56690, m=m@entry=0x7f394b80ad80 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe0cdbab50) at kernel/qobject.cpp:3633
#27 0x00007f394b1cf03f in QWindow::screenChanged (this=this@entry=0x55b957a56690, _t1=<optimized out>, _t1@entry=0x55b957786c70) at .moc/moc_qwindow.cpp:671
#28 0x00007f394b1cf633 in QWindowPrivate::emitScreenChangedRecursion (this=this@entry=0x55b957a21900, newScreen=newScreen@entry=0x55b957786c70) at kernel/qwindow.cpp:477
#29 0x00007f394b1d63c6 in QWindowPrivate::setTopLevelScreen (this=0x55b957a21900, newScreen=0x55b957786c70, recreate=<optimized out>) at kernel/qwindow.cpp:501
#30 0x00007f394b9c5676 in QWidgetPrivate::create_sys (this=this@entry=0x55b957898600, window=window@entry=0, initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true) at ../../include/QtCore/../../src/corelib/tools/qlist.h:115
#31 0x00007f394b9c59bd in QWidget::create(unsigned long long, bool, bool) () at kernel/qwidget.cpp:1337
#32 0x00007f394b9c5e6e in QWidgetPrivate::createWinId (this=<optimized out>) at kernel/qwidget.cpp:2566
#33 0x00007f394b9c6029 in QWidget::createWinId (this=this@entry=0x55b95792c6f0) at kernel/qwidget.cpp:2585
#34 0x00007f394bb06e0d in QMenuBarPrivate::handleReparent (this=this@entry=0x55b957900aa0) at widgets/qmenubar.cpp:1411
#35 0x00007f394bb06f65 in QMenuBarPrivate::init (this=0x55b957900aa0) at widgets/qmenubar.cpp:701
#36 0x00007f394bacf3aa in QMainWindow::menuBar (this=0x55b95792c6f0) at widgets/qmainwindow.cpp:520
#37 0x00007f394e2cef51 in KXmlGuiWindow::createGUI (this=this@entry=0x55b95792c6f0, xmlfile=...) at /usr/src/debug/kxmlgui-5.48.0-1.1.x86_64/src/kxmlguiwindow.cpp:233
#38 0x00007f394e2d012b in KXmlGuiWindow::setupGUI (this=0x55b95792c6f0, defaultSize=..., options=..., xmlfile=...) at /usr/src/debug/kxmlgui-5.48.0-1.1.x86_64/src/kxmlguiwindow.cpp:205
#39 0x00007f394e2d01fb in KXmlGuiWindow::setupGUI (this=<optimized out>, options=..., xmlfile=...) at /usr/include/qt5/QtCore/qsize.h:117
#40 0x00007f3950b3d19b in DolphinMainWindow::DolphinMainWindow (this=0x55b95792c6f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:255
#41 0x00007f3950b31bca in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-18.04.3-1.1.x86_64/src/main.cpp:130
#42 0x00007f395074dfeb in __libc_start_main () from /lib64/libc.so.6
#43 0x000055b9571807fa in _start () at ../sysdeps/x86_64/start.S:120

Reported using DrKonqi
Comment 1 Julian Steinmann 2018-07-24 18:27:34 UTC
Hmm, Dolphin starts just fine for me with KDE Neon User edition. This might be a distro-related issue, but that's hard to tell. Since when does this crash happen?
Comment 2 apolanec 2018-07-25 07:12:27 UTC
I am not exactly sure, i think i notice it about 2 weeks ago, i am not sure which update caused it, but i update my system(tumbleweed suse) almost daily.
Comment 3 Julian Steinmann 2018-07-25 08:11:40 UTC
Okay, according to the OpenSuse Tumbleweed package history two weeks would match up pretty well with the release of Dolphin v18.04.3, so it's likely that a commit between 18.04.2 and 18.04.3 is causing this crash for you. One thing that you could try is to backup all configuration files of Dolphin (~/.config/dolphinrc and the view properties in ~/.local/share/dolphin/) and then delete the originals to check that this is not a configuration related problem.
Comment 4 apolanec 2018-07-26 10:57:30 UTC
I will try it.
Comment 5 apolanec 2018-07-26 14:58:12 UTC
I deleted  ~/.config/dolphinrc and the view properties in ~/.local/share/dolphin/,
and a new window keeps crashing.
Comment 6 Elvis Angelaccio 2018-07-28 15:29:14 UTC
Do you have the global menubar enabled in Plasma?
Comment 7 apolanec 2018-07-30 07:11:16 UTC
yes, i believe i do.
Comment 8 apolanec 2018-07-30 09:22:52 UTC
I removed it and now the problem is gone.
Comment 9 Nate Graham 2018-07-30 23:04:32 UTC
Thanks for the info!
Comment 10 Justin Zobel 2020-12-03 02:57:59 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 11 apolanec 2020-12-04 11:37:36 UTC
I have no issues.