Bug 465750

Summary: App crashes AND kwin crashes if I open Oracle SQLDeveloper with an image copied in the clipboard
Product: [Applications] gwenview Reporter: Bruno A. Crespo <bruno>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: idontfeelcomfygivingyoumyemail
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bruno A. Crespo 2023-02-15 08:35:09 UTC
Application: gwenview (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.10-200.fc37.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora release 37 (Thirty Seven)"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
- Open an app that can copy PNG images to clipboard (like Gwenview or Spectacle)
- Copy an image to clipboard
- Open Oracle SQLDeveloper
- The app crashes

Sometimes kwin crashes every time I try SQLDeveloper until I clear the copied image from the clipboard, sometimes not.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fe86f0b1c14 in jas_stream_putc_func () from /lib64/libjasper.so.6
#5  0x00007fe86f0babe8 in jpc_putuint32 () from /lib64/libjasper.so.6
#6  0x00007fe86f0bc4c8 in jp2_box_put () from /lib64/libjasper.so.6
#7  0x00007fe86f0be68e in jp2_encode () from /lib64/libjasper.so.6
#8  0x00007fe84c2e361d in QJp2Handler::write(QImage const&) () from /usr/lib64/qt5/plugins/imageformats/libqjp2.so
#9  0x00007fe8743cb765 in QImageWriter::write(QImage const&) () from /lib64/libQt5Gui.so.5
#10 0x00007fe8743aeeb5 in QImage::save(QIODevice*, char const*, int) const () from /lib64/libQt5Gui.so.5
#11 0x00007fe874386ba0 in QInternalMimeData::renderDataHelper(QString const&, QMimeData const*) () from /lib64/libQt5Gui.so.5
#12 0x00007fe8610f7f98 in QXcbMime::mimeDataForAtom(QXcbConnection*, unsigned int, QMimeData*, QByteArray*, unsigned int*, int*) () from /lib64/libQt5XcbQpa.so.5
#13 0x00007fe8610eae93 in QXcbClipboard::sendSelection(QMimeData*, unsigned int, unsigned int, unsigned int) () from /lib64/libQt5XcbQpa.so.5
#14 0x00007fe8610eb4de in QXcbClipboard::handleSelectionRequest(xcb_selection_request_event_t*) () from /lib64/libQt5XcbQpa.so.5
#15 0x00007fe8610eee46 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib64/libQt5XcbQpa.so.5
#16 0x00007fe8610f02c6 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#17 0x00007fe861116907 in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#18 0x00007fe871d19cbf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#19 0x00007fe871d6f598 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#20 0x00007fe871d16f40 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#21 0x00007fe873eee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#22 0x00007fe873e9bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#23 0x00007fe873ea4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#24 0x0000561660636afb in main ()
[Inferior 1 (process 33794) detached]

Reported using DrKonqi
Comment 1 A Linux User 2025-08-19 16:46:38 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version).
Comment 2 Bug Janitor Service 2025-09-03 03:48:05 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-09-18 03:48:35 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.