Bug 470217 - Screen Capture utilities crash after copying to clipboard
Summary: Screen Capture utilities crash after copying to clipboard
Status: RESOLVED DUPLICATE of bug 455362
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 22.12.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-24 15:18 UTC by Alex Ivantsov
Modified: 2023-05-24 18:58 UTC (History)
2 users (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 Alex Ivantsov 2023-05-24 15:18:36 UTC
Application: spectacle (22.12.3)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.15-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Anytime a screen capture utility is used, either the capture utility (Spectacle or Flameshot) crashes and sometimes ends up crashing the entire KDE desktop. A full system reboot is required because sometimes even restarting services isn't suficient.

Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.15-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: LENOVO
Product Name: 81TE
System Version: Lenovo Yoga C940-15IRH

This happens every time when using either Wayland or Xorg, but is more prevelant and deadly when using xorg. I use the anciant IcedTea (Java Webstart) application to open java webstart files in order to use Connectwise Screenconnect to log in to and administer Windows machines for my job. I wish there was a better way, but Screenconnect doesn't have an app for linux. IcedTea is the only way to interactively log in to a remote machine at the moment. If I need to take a screenshot of something, the combination of these applicaitons crashes the system. I wish I could take a bug report of when the entire desktop crashes, but I can't because the bug capture utility ends up crashing with it!

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f604808bc14 in jas_stream_putc_func () from /lib64/libjasper.so.6
#5  0x00007f6048094be8 in jpc_putuint32 () from /lib64/libjasper.so.6
#6  0x00007f60480964c8 in jp2_box_put () from /lib64/libjasper.so.6
#7  0x00007f604809868e in jp2_encode () from /lib64/libjasper.so.6
#8  0x00007f6043f7761d in QJp2Handler::write(QImage const&) () from /usr/lib64/qt5/plugins/imageformats/libqjp2.so
#9  0x00007f608d3cb7b5 in QImageWriter::write(QImage const&) () from /lib64/libQt5Gui.so.5
#10 0x00007f608d3aef05 in QImage::save(QIODevice*, char const*, int) const () from /lib64/libQt5Gui.so.5
#11 0x00007f608e8c5b12 in DataControlSource::zwlr_data_control_source_v1_send(QString const&, int) () from /lib64/libKF5GuiAddons.so.5
#12 0x00007f608e8bd93c in QtWayland::zwlr_data_control_source_v1::handle_send(void*, zwlr_data_control_source_v1*, char const*, int) () from /lib64/libKF5GuiAddons.so.5
#13 0x00007f608b33aa06 in ffi_call_unix64 () from /lib64/libffi.so.8
#14 0x00007f608b33749d in ffi_call_int.lto_priv () from /lib64/libffi.so.8
#15 0x00007f608b33a083 in ffi_call () from /lib64/libffi.so.8
#16 0x00007f608d18fe53 in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
#17 0x00007f608d1905f3 in dispatch_event.isra () from /lib64/libwayland-client.so.0
#18 0x00007f608d1907bc in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
#19 0x00007f608b9647c5 in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt5WaylandClient.so.5
#20 0x00007f608cec8294 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007f608dbaed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f608ce9d648 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#23 0x00007f608cea09b4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#24 0x00007f608ceeec67 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#25 0x00007f608ad18c7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007f608ad6f118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#27 0x00007f608ad15f00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007f608ceee75a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#29 0x00007f608ce9c09a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#30 0x00007f608cea4162 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#31 0x000055a6862fe384 in main ()
[Inferior 1 (process 752920) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-05-24 18:58:22 UTC

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