Bug 384193 - [Wayland] Dolphin misplaced context menu + Crash
Summary: [Wayland] Dolphin misplaced context menu + Crash
Status: RESOLVED DUPLICATE of bug 381032
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-08-30 17:59 UTC by Tony
Modified: 2017-09-13 21:26 UTC (History)
1 user (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 Tony 2017-08-30 17:59:39 UTC
Application: dolphin (17.11.70)

Qt Version: 5.9.1
Frameworks Version: 5.37.0
Operating System: Linux 4.12.8-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Checking the Dolphin version i was running by clicking, on the toolbar, "Control". The "Help"  context menu pop on the top right corner and as soon as i hit "About Dolphin" it crashed.

I have  "Sort by" botton addde to the toolbar, as soon as i clicked it the list pops on the top right corner,  but i don't get a crash just the wrong positioning.

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7f5b55222700 (LWP 23916)):
#0  0x00007f5b955808dd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5b95580da8 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5b95580e3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5b9c6676ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f5b9c61035a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f5b9c44031a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f5b9c444d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f5b60cb2700 (LWP 23201)):
#0  0x00007f5ba24de69f in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007f5ba24c7106 in poll () from /lib64/libc.so.6
#2  0x00007f5b95580d29 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5b95580e3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f5b9c6676ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f5b9c61035a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f5b9c44031a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f5b9c444d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f5b75ffb700 (LWP 23199)):
#0  0x00007f5b9772058d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5b88bee0cb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5b88bede07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f5b767fc700 (LWP 23198)):
#0  0x00007f5b9772058d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5b88bee0cb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5b88bede07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f5b76ffd700 (LWP 23197)):
#0  0x00007f5b9772058d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5b88bee0cb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5b88bede07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5b777fe700 (LWP 23196)):
#0  0x00007f5b9772058d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5b88bee0cb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5b88bede07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5b77fff700 (LWP 23195)):
#0  0x00007f5b9772058d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5b88bee0cb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5b88bede07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5b7cc32700 (LWP 23194)):
#0  0x00007f5b9772058d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5b88bee0cb in util_queue_thread_func () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f5b88bede07 in impl_thrd_routine () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5b8c7f2700 (LWP 23193)):
#0  0x00007f5ba24c711b in poll () from /lib64/libc.so.6
#1  0x00007f5b95580d29 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5b95580e3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5b9c6676ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f5b9c61035a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f5b9c44031a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f5b9caeaa45 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f5b9c444d2e in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f5b9771a2e8 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5ba24d15df in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5ba2c44500 (LWP 23192)):
[KCrash Handler]
#6  0x00007f5ba2410b30 in raise () from /lib64/libc.so.6
#7  0x00007f5ba2412111 in abort () from /lib64/libc.so.6
#8  0x00007f5b8e39541f in wl_abort (fmt=fmt@entry=0x7f5b8e3954e0 "Error marshalling request: %s\n") at src/wayland-util.c:419
#9  0x00007f5b8e3914dd in wl_proxy_marshal_array_constructor_versioned (proxy=proxy@entry=0x10eedcb570, opcode=opcode@entry=4, args=args@entry=0x7ffcbada2800, interface=interface@entry=0x0, version=1) at src/wayland-client.c:653
#10 0x00007f5b8e3914f9 in wl_proxy_marshal_array_constructor (proxy=proxy@entry=0x10eedcb570, opcode=opcode@entry=4, args=args@entry=0x7ffcbada2800, interface=interface@entry=0x0) at src/wayland-client.c:599
#11 0x00007f5b8e3915ec in wl_proxy_marshal (proxy=0x10eedcb570, opcode=4) at src/wayland-client.c:696
#12 0x00007f5b8e600188 in QtWaylandClient::QWaylandWlShellSurface::updateTransientParent(QWindow*) () from /usr/lib64/libQt5WaylandClient.so.5
#13 0x00007f5b8e5fe4fb in QtWaylandClient::QWaylandWindow::initWindow() () from /usr/lib64/libQt5WaylandClient.so.5
#14 0x00007f5b8e5feb0d in QtWaylandClient::QWaylandWindow::setVisible(bool) () from /usr/lib64/libQt5WaylandClient.so.5
#15 0x00007f5b8b3d4cf4 in QtWaylandClient::QWaylandEglWindow::setVisible(bool) () from /usr/lib64/qt5/plugins/wayland-graphics-integration-client/libwayland-egl.so
#16 0x00007f5b9ce75c9d in QWindow::setVisible(bool) () from /usr/lib64/libQt5Gui.so.5
#17 0x00007f5b9d65ef68 in QWidgetPrivate::show_sys() () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f5b9d667840 in QWidgetPrivate::show_helper() () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f5b9d66a30b in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f5b9d842b2c in QDialog::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f5b9ff56f8d in KHelpMenu::aboutApplication (this=0x10eeea7d90) at /usr/src/debug/kxmlgui-5.37.0git.20170816T155510~4bc14c8/src/khelpmenu.cpp:280
#22 0x00007f5b9c63f25a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#23 0x00007f5b9d6267c2 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007f5b9d628c5c in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f5b9d775b2c in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f5b9d77cadf in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f5b9d77d903 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f5b9d66a728 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f5b9d77fa6b in QMenu::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007f5b9d62c93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007f5b9d63420f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007f5b9c611d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f5b9d63325f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f5b9d6845f2 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007f5b9d686cf1 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007f5b9d62c93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f5b9d633cb4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007f5b9c611d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#39 0x00007f5b9ce6cb8b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#40 0x00007f5b9ce6e4d5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#41 0x00007f5b9ce47f9b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#42 0x00007f5b8e62c6e0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5WaylandClient.so.5
#43 0x00007f5b95580b77 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f5b95580da8 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f5b95580e3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f5b9c66768f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#47 0x00007f5b9c61035a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#48 0x00007f5b9d77aa60 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQt5Widgets.so.5
#49 0x00007f5b9d7b96bb in QToolButtonPrivate::popupTimerDone() () from /usr/lib64/libQt5Widgets.so.5
#50 0x00007f5b9c63f25a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#51 0x00007f5b9d7d86ad in QAbstractButtonPrivate::emitPressed() () from /usr/lib64/libQt5Widgets.so.5
#52 0x00007f5b9d7d8d63 in QAbstractButton::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#53 0x00007f5b9d7ba2f7 in QToolButton::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#54 0x00007f5b9d66b139 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#55 0x00007f5b9d7ba514 in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#56 0x00007f5b9d62c93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#57 0x00007f5b9d63420f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#58 0x00007f5b9c611d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#59 0x00007f5b9d63325f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#60 0x00007f5b9d68489b in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#61 0x00007f5b9d686cf1 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#62 0x00007f5b9d62c93c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#63 0x00007f5b9d633cb4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#64 0x00007f5b9c611d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#65 0x00007f5b9ce6cb8b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#66 0x00007f5b9ce6e4d5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#67 0x00007f5b9ce47f9b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#68 0x00007f5b8e62c6e0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5WaylandClient.so.5
#69 0x00007f5b95580b77 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f5b95580da8 in ?? () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f5b95580e3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#72 0x00007f5b9c66768f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#73 0x00007f5b9c61035a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#74 0x00007f5b9c618be4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#75 0x00007f5ba27e0da7 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-17.11.80git.20170829T171524~652f57d28/src/main.cpp:150
#76 0x00007f5ba23fbf1a in __libc_start_main () from /lib64/libc.so.6
#77 0x00000010edf4e81a in _start () at ../sysdeps/x86_64/start.S:120

Possible duplicates by query: bug 383920, bug 381034, bug 381033.

Reported using DrKonqi
Comment 1 Elvis Angelaccio 2017-08-30 19:56:32 UTC
Doesn't crash here.
The misplacement is a bug in kxmlgui, reassigning.
Comment 2 Elvis Angelaccio 2017-08-31 20:12:35 UTC
Git commit f984e30b637f220f640ef56ee5c3a09dbc2b40fa by Elvis Angelaccio.
Committed on 31/08/2017 at 20:11.
Pushed by elvisangelaccio into branch 'master'.

Fix KHelpMenu position on Wayland

This fixes the transient parent of KHelpMenu, which is required
to properly position the popup on Wayland.

Differential Revision: https://phabricator.kde.org/D7620

M  +1    -1    src/khelpmenu.cpp

https://commits.kde.org/kxmlgui/f984e30b637f220f640ef56ee5c3a09dbc2b40fa
Comment 3 Christoph Feck 2017-09-13 21:26:12 UTC
The crash is a duplicate.

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