Gwenview stack-trace

Hi, when I copy(ctrl+c) a picture within gwenview, it will crash.
journalctl is showing a stack-trace. What should I do with it? I do not understand this.

It worked before. The problem started sometime. Do not really know when.

Can anyone give me some insight?

Stacktrace is below:

Jul 28 21:35:26 user1-probook gwenview[6634]: org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type  "image/x-samsung-srw"
Jul 28 21:35:30 user1-probook systemd[956]: app-org.kde.gwenview@9760c933260547a48a201becb9e276af.service: Consumed 1.985s CPU time, 105.2M memory peak.
Jul 28 21:35:48 user1-probook systemd-coredump[6678]: Process 6322 (gwenview) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Jul 28 21:35:48 user1-probook systemd[1]: Created slice Slice /system/systemd-coredump.
Jul 28 21:35:48 user1-probook systemd[1]: Started Process Core Dump (PID 6678/UID 0).
Jul 28 21:35:52 user1-probook systemd[956]: app-org.kde.gwenview@cfd64ad5d95f41ef9a64e3af2d01f042.service: Main process exited, code=killed, status=9/KILL
Jul 28 21:35:52 user1-probook systemd[956]: app-org.kde.gwenview@cfd64ad5d95f41ef9a64e3af2d01f042.service: Failed with result 'signal'.
Jul 28 21:35:52 user1-probook systemd[956]: app-org.kde.gwenview@cfd64ad5d95f41ef9a64e3af2d01f042.service: Consumed 1min 47.310s CPU time, 2.3G memory peak.

Jul 28 21:36:10 user1-probook systemd-coredump[6679]: Process 6322 (gwenview) of user 1000 dumped core.
                                                       
                                                       Stack trace of thread 6322:
                                                       #0  0x00007f0e5409b3b7 n/a (libz.so.1 + 0x33b7)
                                                       #1  0x00007f0e5409fabf n/a (libz.so.1 + 0x7abf)
                                                       #2  0x00007f0e540a0e1d deflate (libz.so.1 + 0x8e1d)
                                                       #3  0x00007f0e55331a67 n/a (libpng16.so.16 + 0x28a67)
                                                       #4  0x00007f0e553325a8 png_write_row (libpng16.so.16 + 0x295a8)
                                                       #5  0x00007f0e55334a92 png_write_image (libpng16.so.16 + 0x2ba92)
                                                       #6  0x00007f0e5502819d n/a (libQt6Gui.so.6 + 0x62819d)
                                                       #7  0x00007f0e55028845 n/a (libQt6Gui.so.6 + 0x628845)
                                                       #8  0x00007f0e54b5f223 n/a (libQt6Gui.so.6 + 0x15f223)
                                                       #9  0x00007f0e54bc1880 _ZN17QInternalMimeData16renderDataHelperERK7QStringPK9QMimeData (libQt6Gui.so.6 + 0x1c1880)
                                                       #10 0x00007f0e4d1bbfc3 n/a (libQt6XcbQpa.so.6 + 0x62fc3)
                                                       #11 0x00007f0e4d1878a3 n/a (libQt6XcbQpa.so.6 + 0x2e8a3)
                                                       #12 0x00007f0e4d18f878 _ZN14QXcbConnection14handleXcbEventEP19xcb_generic_event_t (libQt6XcbQpa.so.6 + 0x36878)
                                                       #13 0x00007f0e4d192c12 _ZN14QXcbConnection16processXcbEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6XcbQpa.so.6 + 0x39c12)
                                                       #14 0x00007f0e4d1b30bf n/a (libQt6XcbQpa.so.6 + 0x5a0bf)
                                                       #15 0x00007f0e51ab787d n/a (libglib-2.0.so.0 + 0x5e87d)
                                                       #16 0x00007f0e51ab8cd7 n/a (libglib-2.0.so.0 + 0x5fcd7)
                                                       #17 0x00007f0e51ab8ee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
                                                       #18 0x00007f0e5463c5e2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x43c5e2)
                                                       #19 0x00007f0e543744b6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1744b6)
                                                       #20 0x00007f0e5436c7c1 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x16c7c1)
                                                       #21 0x000055ca74353cf1 n/a (/usr/bin/gwenview + 0x36cf1)
                                                       #22 0x00007f0e53c376b5 n/a (libc.so.6 + 0x276b5)
                                                       #23 0x00007f0e53c37769 __libc_start_main (libc.so.6 + 0x27769)
                                                       #24 0x000055ca74354745 n/a (/usr/bin/gwenview + 0x37745)
                                                       
                                                       Stack trace of thread 6323:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca2024 n/a (libc.so.6 + 0x92024)
                                                       #3  0x00007f0e53d1c5a6 ppoll (libc.so.6 + 0x10c5a6)
                                                       #4  0x00007f0e51ab8e04 n/a (libglib-2.0.so.0 + 0x5fe04)
                                                       #5  0x00007f0e51ab8ee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
                                                       #6  0x00007f0e5463c5e2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x43c5e2)
                                                       #7  0x00007f0e543744b6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1744b6)
                                                       #8  0x00007f0e544873c6 _ZN7QThread4execEv (libQt6Core.so.6 + 0x2873c6)
                                                       #9  0x00007f0e5537adae n/a (libQt6DBus.so.6 + 0x37dae)
                                                       #10 0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #11 0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #12 0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6325:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
                                                       #4  0x00007f0e44f5fd1e n/a (libgallium-25.1.6-arch1.1.so + 0x55fd1e)
                                                       #5  0x00007f0e44f1a2fd n/a (libgallium-25.1.6-arch1.1.so + 0x51a2fd)
                                                       #6  0x00007f0e44f5fc4d n/a (libgallium-25.1.6-arch1.1.so + 0x55fc4d)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6324:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca2024 n/a (libc.so.6 + 0x92024)
                                                       #3  0x00007f0e53d1c05e __poll (libc.so.6 + 0x10c05e)
                                                       #4  0x00007f0e5159720b n/a (libxcb.so.1 + 0xd20b)
                                                       #5  0x00007f0e51598f3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
                                                       #6  0x00007f0e4d1af6e9 n/a (libQt6XcbQpa.so.6 + 0x566e9)
                                                       #7  0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #8  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #9  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6326:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
                                                       #4  0x00007f0e44f5fd1e n/a (libgallium-25.1.6-arch1.1.so + 0x55fd1e)
                                                       #5  0x00007f0e44f1a2fd n/a (libgallium-25.1.6-arch1.1.so + 0x51a2fd)
                                                       #6  0x00007f0e44f5fc4d n/a (libgallium-25.1.6-arch1.1.so + 0x55fc4d)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6350:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4d1e pthread_cond_wait (libc.so.6 + 0x94d1e)
                                                       #4  0x00007f0e5452ddb0 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x32ddb0)
                                                       #5  0x00007f0e56d20542 n/a (libgwenviewlib.so.5 + 0x120542)
                                                       #6  0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6535:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4f28 pthread_cond_timedwait (libc.so.6 + 0x94f28)
                                                       #4  0x00007f0e5452dd25 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x32dd25)
                                                       #5  0x00007f0e54527c40 n/a (libQt6Core.so.6 + 0x327c40)
                                                       #6  0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6533:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4f28 pthread_cond_timedwait (libc.so.6 + 0x94f28)
                                                       #4  0x00007f0e5452dd25 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x32dd25)
                                                       #5  0x00007f0e54527c40 n/a (libQt6Core.so.6 + 0x327c40)
                                                       #6  0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6344:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca2024 n/a (libc.so.6 + 0x92024)
                                                       #3  0x00007f0e53d1c5a6 ppoll (libc.so.6 + 0x10c5a6)
                                                       #4  0x00007f0e54515473 _Z12qt_safe_pollP6pollfdm14QDeadlineTimer (libQt6Core.so.6 + 0x315473)
                                                       #5  0x00007f0e52c8c0c3 n/a (libQt6Network.so.6 + 0x1440c3)
                                                       #6  0x00007f0e52c09611 n/a (libQt6Network.so.6 + 0xc1611)
                                                       #7  0x00007f0e52bff4df _ZN15QAbstractSocket16waitForReadyReadEi (libQt6Network.so.6 + 0xb74df)
                                                       #8  0x00007f0e566092b8 n/a (libKF6KIOCore.so.6 + 0x422b8)
                                                       #9  0x00007f0e5664c609 n/a (libKF6KIOCore.so.6 + 0x85609)
                                                       #10 0x00007f0e566ea147 n/a (libKF6KIOCore.so.6 + 0x123147)
                                                       #11 0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #12 0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #13 0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6532:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4f28 pthread_cond_timedwait (libc.so.6 + 0x94f28)
                                                       #4  0x00007f0e5452dd25 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x32dd25)
                                                       #5  0x00007f0e54527c40 n/a (libQt6Core.so.6 + 0x327c40)
                                                       #6  0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       
                                                       Stack trace of thread 6534:
                                                       #0  0x00007f0e53cade22 n/a (libc.so.6 + 0x9de22)
                                                       #1  0x00007f0e53ca1fda n/a (libc.so.6 + 0x91fda)
                                                       #2  0x00007f0e53ca264c n/a (libc.so.6 + 0x9264c)
                                                       #3  0x00007f0e53ca4f28 pthread_cond_timedwait (libc.so.6 + 0x94f28)
                                                       #4  0x00007f0e5452dd25 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x32dd25)
                                                       #5  0x00007f0e54527c40 n/a (libQt6Core.so.6 + 0x327c40)
                                                       #6  0x00007f0e5451ee69 n/a (libQt6Core.so.6 + 0x31ee69)
                                                       #7  0x00007f0e53ca57eb n/a (libc.so.6 + 0x957eb)
                                                       #8  0x00007f0e53d2918c n/a (libc.so.6 + 0x11918c)
                                                       ELF object binary architecture: AMD x86-64
Jul 28 21:36:10 user1-probook systemd[1]: systemd-coredump@0-6678-0.service: Deactivated successfully.
Jul 28 21:36:10 user1-probook systemd[1]: systemd-coredump@0-6678-0.service: Consumed 21.481s CPU time, 1.9G memory peak.

Looks like Gwenview tried to open an .srw raw image and didn’t recognise the MIME type:

...gwenview.lib: Unresolved raw mime type  "image/x-samsung-srw"

For SRW files, you need libopenraw, libraw. Alternatively, you could convert the images using something like darktable or rawtherapee into something more universal like .png or .jpg.

You could also file a bug report, or simply raise the issue on KDE’s own forum. if this isn’t accepted as a Manjaro issue. I’d say it’s a Gwenview issue, not dealing with it in a civilised manner.

there are no .srw files. Just jpg from my digital camera or smartphone. I do not know why this is logged. But I will try and install the missing package.

If install does not solve it, I will try my luck with KDE Forum or Bug Report.
Thanks for the tips.

well, according to the log output … there are


Linux normally determines the file type not by the files .extension

Just because someone decided to put an .jpg extension on it
Linux is not going to just go along with it.

What is important is what the file actually is.


Maybe it does. …

A bug report to KDE won’t get you very far.

You could (somehow) open the image.
Or could you not?

It depends on the application. Many GUI applications do only look at the filename suffix — as an example, all of the office suites do.

But generally speaking, UNIX — it’s not limited to GNU/Linux only — reads the so-called magic bytes of the file and compares them to a database of known file type signatures. :wink:

That is what I was referring to.

Perhaps he takes an innocent picture with that device.
Just a picture of anything, nothing needs to be in it.
Just a “blank”.

and uploads it to here

Where does that .srw extension come from?

And how does it translate?

1 Like

Smartphone cameras will often mislabel RAW image files as JPEGs. You might want to check your camera settings to see if there is an option to save the images as true JPEG files, rather than RAW or Samsung-specific images.

.srw files are a Samsung proprietary format which contains all of the image information as recorded by the actual camera chip.

Even though .srw files are a proprietary format, Gwenview may be still able to decode & open them using a RAW viewing library. However, this does not necessarily mean that Gwenview will also be able to copy those RAW files using Ctrl+C.

Maybe, when the picture is open in Gwenview, re-save it as a JPEG file. That may convert the file from the Samsung proprietary .srw RAW format to a genuine JPEG format. After you have re-saved the image, see if you can then copy it in Gwenview using Ctrl+C.

1 Like

hey, thanks for your ideas.

There are no raws. My camera will create raw and jpg, but here I use the jpgs. My phone is a Pixel6, this should not use samsung raw. Also I can open, edit and save with gwenview

Found this regarding error message:

No. They mean that definitions of these MIME types which are supported by Gwenview are not present on the system. Briefly looking at the Gwenview source, the only effect will be on the dialogue where you can filter by MIME types (missing MIME types will not be offered). It should not have any impact on opening these files. Dp you have any evidence that Gwenview fails to open such file?
Source: Unresolved mime type (KDE) - #5 by arvidjaar - Applications - openSUSE Forums

Back to topic, crashing gwenview:
It will also crash without a stack trace.
But not with all pictures from my archive. This would indicate that there is a problem with the pictures. But I use my phone and camera since long time and this issue was not always there. And the pictures are fine. No fragments or anything visibly broken.

Anybody any ideas how to debug this?

What would be better? Any tip is appreciated.

1 Like