https://bugs.kde.org/show_bug.cgi?id=517691

            Bug ID: 517691
           Summary: Spectacle's "Capture Rectangular Region" segfaults
                    after exit
    Classification: Applications
           Product: Spectacle
      Version First 6.6.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Application: spectacle (6.6.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.2
Frameworks Version: 6.24.0
Operating System: Linux 6.19.7-200.fc43.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora Linux 43 (KDE Plasma Desktop Edition)"
DrKonqi: 6.6.2 [CoredumpBackend]

-- Information about the crash:
The crash occurs consistently when exiting the "Capture Rectangular Region"
mode by pressing either 'Escape' (to cancel) or 'Enter' (to save/copy).
Note: The report says X11, but I am actually running a Wayland session.
Spectacle might be falling back to XWayland incorrectly

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault


warning: Can't open file anon_inode:i915.gem during file-backed mapping note
processing
[New LWP 20675]
[New LWP 20676]
[New LWP 20677]
[New LWP 20678]
[New LWP 20681]
[New LWP 20680]
[New LWP 20688]

This GDB supports auto-downloading debuginfo from the following URLs:
  <ima:enforcing>
  <https://debuginfod.fedoraproject.org/>
  <ima:ignore>
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/spectacle --dbus'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7cedc813cc in __pthread_kill_implementation () from
/lib64/libc.so.6
[Current thread is 1 (Thread 0x7f7cd9948a80 (LWP 20675))]
Using eu-unstrip to resolve modules.
add symbol table from file "/lib64/libc.so.6"
add symbol table from file "/lib64/libKF6Crash.so.6"
add symbol table from file "/lib64/libQt6Widgets.so.6"
add symbol table from file "/usr/bin/spectacle"
add symbol table from file "/lib64/libQt6Core.so.6"
add symbol table from file "/lib64/libglib-2.0.so.0"
add symbol table from file "/lib64/libQt6DBus.so.6"
add symbol table from file "/lib64/libQt6WaylandClient.so.6"
add symbol table from file "/lib64/libgallium-25.3.6.so"
[Current thread is 7 (Thread 0x7f7cabfff6c0 (LWP 20688))]

Thread 7 (Thread 0x7f7cabfff6c0 (LWP 20688)):
#0  0x00007f7cedc879a2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f7cedc7bc3c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f7cedc7bc84 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f7cedcf5706 in ppoll () from /lib64/libc.so.6
#4  0x00007f7ce82fa360 in g_main_context_iterate_unlocked.isra () from
/lib64/libglib-2.0.so.0
#5  0x00007f7ce82fa423 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f7cee620ded in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt6Core.so.6
#7  0x00007f7cee30ab23 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt6Core.so.6
#8  0x00007f7cee42dd06 in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f7cee4d3c6e in QThreadPrivate::start(void*) () from
/lib64/libQt6Core.so.6
#10 0x00007f7cedc7f464 in start_thread () from /lib64/libc.so.6
#11 0x00007f7cedd025ec in __clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f7cc9b576c0 (LWP 20680)):
#0  0x00007f7cedc879a2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f7cedc7bc3c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f7cedc7c2ac in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f7cedc7e97e in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#4  0x00007f7cb93c46ed in cnd_wait () from /lib64/libgallium-25.3.6.so
#5  0x00007f7cb937a17c in util_queue_thread_func () from
/lib64/libgallium-25.3.6.so
#6  0x00007f7cb93c461c in impl_thrd_routine () from /lib64/libgallium-25.3.6.so
#7  0x00007f7cedc7f464 in start_thread () from /lib64/libc.so.6
#8  0x00007f7cedd025ec in __clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f7cc93566c0 (LWP 20681)):
#0  0x00007f7cedc879a2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f7cedc7bc3c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f7cedc7c2ac in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f7cedc7e97e in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#4  0x00007f7cb93c46ed in cnd_wait () from /lib64/libgallium-25.3.6.so
#5  0x00007f7cb937a17c in util_queue_thread_func () from
/lib64/libgallium-25.3.6.so
#6  0x00007f7cb93c461c in impl_thrd_routine () from /lib64/libgallium-25.3.6.so
#7  0x00007f7cedc7f464 in start_thread () from /lib64/libc.so.6
#8  0x00007f7cedd025ec in __clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7cca5fd6c0 (LWP 20678)):
#0  0x00007f7cedc879a2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f7cedc7bc3c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f7cedc7bc84 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f7cedcf51de in poll () from /lib64/libc.so.6
#4  0x00007f7cf14fbf12 in QtWaylandClient::EventThread::run() () from
/lib64/libQt6WaylandClient.so.6
#5  0x00007f7cee4d3c6e in QThreadPrivate::start(void*) () from
/lib64/libQt6Core.so.6
#6  0x00007f7cedc7f464 in start_thread () from /lib64/libc.so.6
#7  0x00007f7cedd025ec in __clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f7ccadfe6c0 (LWP 20677)):
#0  0x00007f7cedc879a2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f7cedc7bc3c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f7cedc7c2ac in __futex_abstimed_wait_common () from /lib64/libc.so.6
#3  0x00007f7cedc7e97e in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#4  0x00007f7cee4dc534 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from
/lib64/libQt6Core.so.6
#5  0x00007f7cf14fbeb0 in QtWaylandClient::EventThread::run() () from
/lib64/libQt6WaylandClient.so.6
#6  0x00007f7cee4d3c6e in QThreadPrivate::start(void*) () from
/lib64/libQt6Core.so.6
#7  0x00007f7cedc7f464 in start_thread () from /lib64/libc.so.6
#8  0x00007f7cedd025ec in __clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7ccb5ff6c0 (LWP 20676)):
#0  0x00007f7cedc879a2 in __syscall_cancel_arch () from /lib64/libc.so.6
#1  0x00007f7cedc7bc3c in __internal_syscall_cancel () from /lib64/libc.so.6
#2  0x00007f7cedc7bc84 in __syscall_cancel () from /lib64/libc.so.6
#3  0x00007f7cedcf5706 in ppoll () from /lib64/libc.so.6
#4  0x00007f7ce82fa360 in g_main_context_iterate_unlocked.isra () from
/lib64/libglib-2.0.so.0
#5  0x00007f7ce82fa423 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#6  0x00007f7cee620ded in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt6Core.so.6
#7  0x00007f7cee30ab23 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt6Core.so.6
#8  0x00007f7cee42dd06 in QThread::exec() () from /lib64/libQt6Core.so.6
#9  0x00007f7cf0147ae1 in QDBusConnectionManager::run() () from
/lib64/libQt6DBus.so.6
#10 0x00007f7cee4d3c6e in QThreadPrivate::start(void*) () from
/lib64/libQt6Core.so.6
#11 0x00007f7cedc7f464 in start_thread () from /lib64/libc.so.6
#12 0x00007f7cedd025ec in __clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7cd9948a80 (LWP 20675)):
[KCrash Handler]
#4  0x00007f7cf0c8aee9 in QWidget::hide() () from /lib64/libQt6Widgets.so.6
#5  0x00007f7cf0d108e0 in QWidgetAction::releaseWidget(QWidget*) () from
/lib64/libQt6Widgets.so.6
#6  0x00007f7cf0e4fb2c in QMenu::~QMenu() () from /lib64/libQt6Widgets.so.6
#7  0x000055b23299afab in SpectacleMenu::~SpectacleMenu (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Gui/SpectacleMenu.h:14
#8  OptionsMenu::~OptionsMenu (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Gui/OptionsMenu.h:19
#9  OptionsMenu::~OptionsMenu (this=<optimized out>, this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Gui/OptionsMenu.h:19
#10 0x00007f7cee36929a in void doActivate<false>(QObject*, int, void**) () from
/lib64/libQt6Core.so.6
#11 0x00007f7cee35fc27 in QObject::destroyed(QObject*) () from
/lib64/libQt6Core.so.6
#12 0x00007f7cee36591b in QObject::~QObject() () from /lib64/libQt6Core.so.6
#13 0x000055b2329e1295 in SpectacleCore::~SpectacleCore (this=<optimized out>,
this=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/SpectacleCore.cpp:794
#14 0x00007f7cee360a12 in QObjectPrivate::deleteChildren() () from
/lib64/libQt6Core.so.6
#15 0x00007f7cee365957 in QObject::~QObject() () from /lib64/libQt6Core.so.6
#16 0x000055b23295697d in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/spectacle-6.6.2-1.fc43.x86_64/src/Main.cpp:141

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to