Bug 400519 - Crash on change of workspaces
Summary: Crash on change of workspaces
Status: RESOLVED WORKSFORME
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-10-31 16:35 UTC by Mike Eichler
Modified: 2020-06-02 04:33 UTC (History)
1 user (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 Mike Eichler 2018-10-31 16:35:19 UTC
Application: rkward (0.7.0b)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-36-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed:
A workspace was open
I selected a new workspace and from the menu and clicked on it to open it
Then it crashed

-- Backtrace:
Application: RKWard (rkward), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe9762b0500 (LWP 29221))]

Thread 6 (Thread 0x7fe8fbbff700 (LWP 29230)):
#0  0x00007fe96d1bfbf9 in __GI___poll (fds=0x7fe8f4003ce0, nfds=1, timeout=9627) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe967675439 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe96767554c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe96de9853b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe96de3c7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe96dc67bba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe96dc72adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe96a8f06db in start_thread (arg=0x7fe8fbbff700) at pthread_create.c:463
#8  0x00007fe96d1cc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe941c5e700 (LWP 29225)):
#0  0x00007fe9676bad94 in g_mutex_unlock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe967675556 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe96de9853b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fe96de3c7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe96dc67bba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x0000000000638dd0 in RKFrontendTransmitter::run() ()
#6  0x00007fe96dc72adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe96a8f06db in start_thread (arg=0x7fe941c5e700) at pthread_create.c:463
#8  0x00007fe96d1cc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe94d5b2700 (LWP 29224)):
#0  0x00007fe9676bad79 in g_mutex_lock () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe96767541f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe96767554c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe96de9853b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe96de3c7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe96dc67bba in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe97047de45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fe96dc72adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe96a8f06db in start_thread (arg=0x7fe94d5b2700) at pthread_create.c:463
#9  0x00007fe96d1cc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe95503e700 (LWP 29223)):
#0  0x00007fe96d1bfbf9 in __GI___poll (fds=0x7fe95503db28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe9648a3747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe9648a536a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe957df7ed9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fe96dc72adb in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe96a8f06db in start_thread (arg=0x7fe95503e700) at pthread_create.c:463
#6  0x00007fe96d1cc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe9591de700 (LWP 29222)):
#0  0x00007fe96a8f69f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fe975994114) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fe96a8f69f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x1c86a30, cond=0x7fe9759940e8) at pthread_cond_wait.c:502
#2  0x00007fe96a8f69f3 in __pthread_cond_wait (cond=0x7fe9759940e8, mutex=0x1c86a30) at pthread_cond_wait.c:655
#3  0x00007fe96d8f179c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007fe974ca6217 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007fe974ca6359 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007fe96d8f757f in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007fe96a8f06db in start_thread (arg=0x7fe9591de700) at pthread_create.c:463
#8  0x00007fe96d1cc88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe9762b0500 (LWP 29221)):
[KCrash Handler]
#6  0x000000000050f275 in RKWorkplace::makeItemDescription(RKMDIWindow*) const ()
#7  0x0000000000508e9d in listContents(QSplitter const*, QStringList*) ()
#8  0x0000000000508fea in RKWorkplaceView::listContents() const ()
#9  0x000000000050ff2e in RKWorkplace::makeWorkplaceDescription() ()
#10 0x00000000005103a8 in RKWorkplace::saveWorkplace(RCommandChain*) ()
#11 0x00000000005495b7 in RKSaveAgent::RKSaveAgent(QUrl, bool, RKSaveAgent::DoneAction, QUrl) ()
#12 0x00000000004de099 in RKWardMainWindow::askOpenWorkspace(QUrl const&) ()
#13 0x00000000004f0ea9 in  ()
#14 0x00007fe96de6d565 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fe971065452 in KRecentFilesAction::urlSelected(QUrl const&) () at /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5
#16 0x00007fe971065d25 in  () at /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5
#17 0x00007fe97106618b in  () at /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5
#18 0x00007fe96de6d565 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fe96f80318f in KSelectAction::triggered(QAction*) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#20 0x00007fe96f804948 in KSelectAction::actionTriggered(QAction*) () at /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#21 0x00007fe96de6d67f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fe96f060f7f in QActionGroup::triggered(QAction*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fe96f061a59 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fe96de6d565 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fe96f05d6b2 in QAction::triggered(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fe96f05fcec in QAction::activate(QAction::ActionEvent) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fe96f1d33bc in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fe96f1da93b in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fe96f1db7f3 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fe96f0a2a98 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fe96f1ddb2b in QMenu::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007fe96f063e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fe96f06bf87 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fe96de3e4d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fe96f06a8d2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fe96f0bd94a in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007fe96f0c0229 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007fe96f063e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007fe96f06b3ef in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007fe96de3e4d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fe96e3d07bb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007fe96e3d2335 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007fe96e3aaf5b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#44 0x00007fe957e8376b in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#45 0x00007fe96de3c7fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007fe96de459c0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00000000004d8027 in main ()

Reported using DrKonqi
Comment 1 Thomas Friedrichsmeier 2018-11-01 07:53:03 UTC
Thanks for reporting!

I just tried to reproduce this, but saw no problem. Is this crash reproducible for you? If so, can you provide the exact steps needed to trigger the crash (sometimes subtle differences matter)?

Do you have any idea what your workspace was looking like when the crash occurred (what kinds / how many windows were opened, anything noteworthy)? From the backtrace it looks like the crash occurs while trying to save the list of open windows of the previous workspace.

Thanks!
Comment 2 Thomas Friedrichsmeier 2020-05-03 20:07:51 UTC
If this still an issue, please do respond with the info requested in comment #1. Thanks!
Comment 3 Bug Janitor Service 2020-05-18 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-06-02 04:33:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!