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

            Bug ID: 512088
           Summary: Gwenview reproducably crashes due to xcf files
    Classification: Applications
           Product: gwenview
      Version First 25.08.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

Gwenview reproducably crashes due to xcf files. You don't even need to open
them up, they just need to be in the same folder:

Thread 7 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1015]
0x0000007ff5623b84 in QByteArray::replace(QByteArrayView, QByteArrayView) ()
   from /lib/libQt6Core.so.6
(gdb) bt
#0  0x0000007ff5623b84 in QByteArray::replace(QByteArrayView, QByteArrayView)
    () at /lib/libQt6Core.so.6
#1  0x0000007fe166ce44 in ??? ()
    at /usr/lib/qt6/plugins/imageformats/kimg_xcf.so
#2  0x0000007fe1675c80 in ??? ()
    at /usr/lib/qt6/plugins/imageformats/kimg_xcf.so
#3  0x0000007fe1675da4 in ??? ()
    at /usr/lib/qt6/plugins/imageformats/kimg_xcf.so
#4  0x0000007ff5b7dea8 in ??? () at /lib/libQt6Gui.so.6
#5  0x0000007ff5b7e55c in QImageReader::read() () at /lib/libQt6Gui.so.6
#6  0x0000007ff7da5808 in ??? () at /lib/libgwenviewlib.so.5
#7  0x0000007ff7da3574 in ??? () at /lib/libgwenviewlib.so.5
#8  0x0000007ff7da6208 in ??? () at /lib/libgwenviewlib.so.5
#9  0x0000007ff5701da8 in ??? () at /lib/libQt6Core.so.6
#10 0x0000007ff56f9db4 in ??? () at /lib/libQt6Core.so.6
#11 0x0000007ff7f9f900 in start (p=0x7fe0fff790)
    at src/thread/pthread_create.c:207
#12 0x0000007ff7f9dcf8 in __clone () at src/thread/aarch64/clone.s:29

STEPS TO REPRODUCE

1. Open .jpg file in a folder where there is also .xcf file, the .xcf may need
to be the "next" file according to whatever sorting gwenview uses

OBSERVED RESULT

Crash

EXPECTED RESULT

No crash

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: pmOS Edge
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3

ADDITIONAL INFORMATION

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

Reply via email to