Bug 412817

Summary: Selected area (rectangle) app crash
Product: [Applications] Spectacle Reporter: Dave Gillespie <dave>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 19.08.1   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dave Gillespie 2019-10-10 15:17:28 UTC
Application: spectacle (19.08.1)

Qt Version: 5.11.3
Frameworks Version: 5.62.0
Operating System: Linux 5.2.0-3-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

-- Information about the crash:
- What I was doing when the application crashed:
App works fine except when I try to select a rectangle (partial screen area), then it crashes everytime.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbdc306c800 (LWP 3008))]

Thread 4 (Thread 0x7fbdba1e4700 (LWP 3011)):
#0  0x00007fbdc632ddb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fbdbaa0b30b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2  0x00007fbdbaa0af27 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#3  0x00007fbdc6327fb7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fbdc753f2ef in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7fbdc0ddf700 (LWP 3010)):
#0  0x00007fbdc75308bc in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fbdc578ccef in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbdc5745bee in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbdc5746042 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fbdc57461bf in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbdc7a9b3e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fbdc7a48cfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fbdc7898d8e in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fbdc827b545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fbdc78a2a07 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fbdc6327fb7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fbdc753f2ef in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fbdc24a0700 (LWP 3009)):
#0  0x00007fbdc754061d in recvmsg () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fbdc8f99e58 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fbdc8f97fb5 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fbdc8f9991a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007fbdc2c2cd79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007fbdc78a2a07 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fbdc6327fb7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007fbdc753f2ef in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7fbdc306c800 (LWP 3008)):
[KCrash Handler]
#6  0x00007fbdc85b3743 in QWidget::window() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fbdc8594557 in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fbdc85c63cf in QWidgetPrivate::hideChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fbdc85c63a1 in QWidgetPrivate::hideChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fbdc85cc2b2 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fbdc858d501 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fbdc85949b0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fbdc7a4a029 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fbdc85e8344 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fbdc85e8a52 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fbdc858d501 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fbdc85949b0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fbdc7a4a029 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fbdc7df1701 in QGuiApplicationPrivate::processWindowStateChangedEvent(QWindowSystemInterfacePrivate::WindowStateChangedEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007fbdc7df6f4d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#21 0x00007fbdc7dd106b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007fbdc2cc339b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007fbdc7a48cfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fbdc7a50cd2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00005571ca73a948 in ?? ()
#26 0x00007fbdc746bbbb in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#27 0x00005571ca73b38a in ?? ()
[Inferior 1 (process 3008) detached]

Reported using DrKonqi
Comment 1 David Redondo 2019-10-23 12:32:18 UTC
Does it happen on X or on Wayland? Do I understand it correctly that the crash happens during the selection of the region and not for example upon start of the selection overlay?
Comment 2 Nate Graham 2021-12-13 21:16:02 UTC
Ping. In addition Spectacle's code has changed a lot since this crash was reported, and there haven't been any more reports in over two years. Are you still experiencing this issue in Spectacle 21.12?
Comment 3 Bug Janitor Service 2021-12-28 04:34:53 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 2022-01-12 04:36:07 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!