Cannot open any image with Gwenview/Showfoto/GIMP

For some reason, I am unable to open my pictures with the traditional apps like Gwenview5/4 and Showfoto (they crash), or even GIMP (/usr/lib64/gimp/2.0/plug-ins/file-png: fatal error: Segmentation fault).

This is the bug report generated for gwenview: https://bugs.kde.org/show_bug.cgi?id=367479

This reads like possible Qt/KF5 library version inconsistencies. Can you post your configured repos?

zypper lr -d

Shouldn’t affect GIMP though.

The reported gwenview crash seems to be related to exiv2 though which of course would affect all image viewers.

PS, it’s likely this:
https://exiv2.org/issues/1185

I remember a discussion on the opensuse@opensuse.org mailing list (or was it somewhere else?) about this (and somebody building an rpm with the fix), but cannot find it right now…

Strange - I’m not being impacted currently (openSUSE Leap 42.1)

Well, it may depend on the actual image files (e.g. the EXIF metadata they contain).
Though if I read https://exiv2.org/issues/1185 that seems to have been a version incompatibility.
So a list of the used repos might still make sense, and the output of:

rpm -qi libexiv2-14

The problem I remembered was a different crash though:
https://bugzilla.opensuse.org/show_bug.cgi?id=964344

List of repos:

linux-2xm4:/home/quentin # zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Se

rvice
—±------------------------------------±----------------------------------------±--------±----------±--------±---------±-------±------------------------------------------------------------------------------------±–

1 | KDE_Applications | KDE Applications | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Applications/openSUSE_Leap_42.1/ |

2 | KDE_Frameworks_5 | KDE Frameworks 5 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_42.1/ |

3 | Qt5 | Qt5 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_42.1/ |

4 | ftp.gwdg.de-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | Index of /pub/linux/packman/suse/openSUSE_Leap_42.1/ |

5 | geeko.ioda.net-amd-fglrx | AMD/ATI Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://geeko.ioda.net/mirror/amd-fglrx/openSUSE_Leap_42.1/ |

6 | google-chrome | google-chrome | Yes | (r ) Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |

7 | http-download.opensuse.org-609365ae | home:Sauerland | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_42.1/ |

8 | http-download.opensuse.org-d5766feb | home:awissu:NonFree | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/awissu:/NonFree/openSUSE_Leap_42.1/ |

9 | http-download.opensuse.org-ebb4be0b | home:buglloc | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/buglloc/openSUSE_Leap_42.1/ |

10 | http-opensuse-guide.org-bdabd857 | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/ |

11 | linuxdownload.adobe.com-linux | Adobe Flash Plugin | Yes | ( p) Yes | Yes | 99 | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/ |

12 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | Yes | 99 | yast2 | hd:///?device=/dev/disk/by-id/usb-USB_Flash_Disk_FBF1008180000304-0:0-part2 |

13 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |

14 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |

15 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |

16 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |

17 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |

18 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |

19 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |

20 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |

21 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/ |

Exif version installed:

linux-2xm4:/home/quentin # rpm -qi libexiv2-14
Name : libexiv2-14
Version : 0.25.git20160505
Release : 23.1
Architecture: x86_64
Install Date: Tue 31 May 2016 09:27:03 AM CEST
Group : System/Libraries
Size : 3581448
License : GPL-2.0+
Signature : RSA/SHA256, Thu 05 May 2016 02:26:07 PM CEST, Key ID 274389b3e45195d5
Source RPM : exiv2-0.25.git20160505-23.1.src.rpm
Build Date : Thu 05 May 2016 02:25:44 PM CEST
Build Host : cloud109
Relocations : (not relocatable)
Vendor : obs://build.opensuse.org/home:Sauerland
URL : http://www.exiv2.org/
Summary : Library to access image metadata
Description :
libexiv2 is a C++ library with a C compatibility interface to access
image metadata, esp from Exif tags.
Distribution: home:Sauerland / openSUSE_Leap_42.1

Now that I realize that exiv2 comes from home:Sauerland, I switched back to official packages and it works fine. Thanks for the hint.

However, I need to keep home:Sauerland for my wifi drivers (r8168), otherwise I would remove the repo (I have set it to priority 100 but I still think that superior package versions will upadte)

I thought something like this might be at play. Glad to have been of help.

generally drivers like that don’t update that often if at all. Keep the repo just disable and turn off refresh then check on it every few months if you think you must

Installing updates won’t switch packages to other repos by default.
The repo priorities are irrelevant here, just the package versions are irrelevant.
They only apply for installing new packages, or when you update/upgrade with “vendor change”, e.g. by running “zypper dup” which you should only use when upgrading from one distribution release to the next (“dup”=“Distribution UPgrade”).