Segmentation fault on zypper and other system tools

Hi everyone,

I’m fairly new to OpenSUSE Tumbleweed but a seasoned Linux user.

Without (knowingly) updating any software but after a hard reset/poweroff (related to a black screen after standby/sleep) my installation now seems to be in a bad state.

Multiple zypper commands will result in Segmentation faults, including install/info/update. zypper refresh runs without problems, but that at the time of writing everything is up-to-date. The situation may be different if any repos actually needed updating.

I’ve tried to run rpm --rebuilddb but that didn’t help.

While I contemplated reinstalling rpms related to zypper manually I found out that the find utility also exits with a segmentation fault in some cases:

$ sudo find / -name 'libzypp-17.14.0-1.1.x86_64*'
Segmentation fault

I’m unsure how to get my system out of this state. I tried to debug using gdb but I’m missing a lot of debug information related to the different libraries and I cannot (or do not know how to) install the relevant debug information without a functioning zypper.

Below is a list of my repositories:


$ zypper lr -d
# | Alias                            | Name                            | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             | Service
--+----------------------------------+---------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------+--------
1 | code                             | Visual Studio Code              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://packages.microsoft.com/yumrepos/vscode                                  |        
2 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/                           |        
3 | download.opensuse.org-oss        | Main Repository (OSS)           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/                               |        
4 | download.opensuse.org-tumbleweed | Main Update Repository          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/                                 |        
5 | packman-essentials               | packman-essentials              | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials   |        
6 | repo-debug                       | openSUSE-Tumbleweed-Debug       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/tumbleweed/repo/oss/                         |        
7 | repo-source                      | openSUSE-Tumbleweed-Source      | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/                        |        
8 | server_database                  | Databases (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_Tumbleweed/ |        
9 | snappy                           | snappy                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed   |        

Oh well.

I had tried to restart the computer already but now after a complete shutdown / power off everything now seems to work as it should.

Guess we’ll never know :wink:

Yes, strange.

I was thinking of something hardware. I hope it will not return in the future.