[Bug 1201092] New: Almost any zypper command segfauls
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 Bug ID: 1201092 Summary: Almost any zypper command segfauls Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@suse.de Reporter: pmladek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I wanted to update mutt to the last version from the devel project zypper as -f https://download.opensuse.org/repositories/server:/mail/15.4/ server:mail Since then every zypper command fails with: root> zypper se less Refreshing service 'server:mail'. Problem retrieving the repository index file for service 'server:mail': File './repo/repoindex.xml' not found on medium 'https://download.opensuse.org/repositories/server:/mail/15.4/?cookies=0' Check if the URI is valid and accessible. Segmentation fault (core dumped) I tried to remove the repository but it failed: root> zypper rr server:mail Repository 'server:mail' not found by alias, number or URI. And the repository is not listed: root@alley:/var/log> zypper lr Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh ---+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+-------- 1 | google-chrome | google-chrome | Yes | (r ) Yes | Yes 2 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15.4-1 | Yes | (r ) Yes | Yes 3 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ---- 4 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes 5 | repo-debug | Debug Repository | No | ---- | ---- 6 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- 7 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- 8 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- 9 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes 10 | repo-oss | Main Repository | Yes | (r ) Yes | Yes 11 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ---- 12 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes 13 | repo-source | Source Repository | No | ---- | ---- 14 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes 15 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes The problem still persists. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c1 --- Comment #1 from Petr Mladek <pmladek@suse.com> --- Created attachment 859954 --> https://bugzilla.suse.com/attachment.cgi?id=859954&action=edit zypper.log.bz2 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c2 Benjamin Zeller <bzeller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bzeller@suse.com --- Comment #2 from Benjamin Zeller <bzeller@suse.com> --- (In reply to Petr Mladek from comment #0)
I wanted to update mutt to the last version from the devel project
zypper as -f https://download.opensuse.org/repositories/server:/mail/15.4/ server:mail
you are adding a service here, maybe that is the issue. I guess you wanted to use `zypper ar`
Since then every zypper command fails with:
root> zypper se less Refreshing service 'server:mail'. Problem retrieving the repository index file for service 'server:mail': File './repo/repoindex.xml' not found on medium 'https://download.opensuse.org/repositories/server:/mail/15.4/?cookies=0' Check if the URI is valid and accessible. Segmentation fault (core dumped)
Here it tries to refresh a service not a repo.
I tried to remove the repository but it failed:
root> zypper rr server:mail Repository 'server:mail' not found by alias, number or URI.
Here you switched to the repo command instead of the service:
zypper rr --help removerepo (rr) [OPTIONS] <ALIAS|#|URI>
Remove repository specified by alias, number or URI.
vs
zypper rs --help removeservice (rs) [OPTIONS] <ALIAS|#|URI>
Remove specified repository index service from the system.
Try using > zypper rs server:mail
And the repository is not listed:
root@alley:/var/log> zypper lr
Same here, you are using the repo command, not the service command. I will check next week why this is segfaulting, but try removing the service and add it as a repository instead:
zypper rs server:mail zypper ar -f https://download.opensuse.org/repositories/server:/mail/15.4/ server:mail zypper ref server:mail
-- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c3 Petr Mladek <pmladek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal --- Comment #3 from Petr Mladek <pmladek@suse.com> --- Grr, yeah, I have added the repo as service: "zypper as" intestead of "zypper ar". The problem is gone after removing it: root> zypper rs server\:mail Anyway, zypper should handle this a more reasonable way. And it should not segfault, definitely. Anyway, reducing the severity because it all started by my mistake. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c4 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #4 from Michael Andres <ma@suse.com> --- I suspect this is a duplicate (or variant) of bug#1194550. Actually a curl/OpenSSL issue zypper runs into. The zypper log itself show no issues. So the SEGV happens after zypper left main.cc. Reproducible for me only on 15.4. `coredumpctl -1 info` shows the crash below 'curl_easy_cleanup (libcurl.so.4 + 0x20b99)' called within '__run_exit_handlers'. All this hints to #1194550. I'll check whether zypper-1.14.53 already fixes this... -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #5 from Michael Andres <ma@suse.com> --- Very strange, but on 15.4 within the global_dtors we receive exceptions when calling curl_easy_cleanup. This is what led to the segv. Fixed in libzypp-17.30.4 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2022:3222-1: An update that has 5 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1199895,1200993,1201092,1201576,1201638 CVE References: JIRA References: Sources used: SUSE Linux Enterprise Server for SAP 15 (src): libzypp-17.31.0-150000.3.101.1, zypper-1.14.55-150000.3.75.1 SUSE Linux Enterprise Server 15-LTSS (src): libzypp-17.31.0-150000.3.101.1, zypper-1.14.55-150000.3.75.1 SUSE Linux Enterprise Installer 15 (src): libzypp-17.31.0-150000.3.101.1, zypper-1.14.55-150000.3.75.1 SUSE Linux Enterprise High Performance Computing 15-LTSS (src): libzypp-17.31.0-150000.3.101.1, zypper-1.14.55-150000.3.75.1 SUSE Linux Enterprise High Performance Computing 15-ESPOS (src): libzypp-17.31.0-150000.3.101.1, zypper-1.14.55-150000.3.75.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c10 --- Comment #10 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2022:3220-1: An update that has 5 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1199895,1200993,1201092,1201576,1201638 CVE References: JIRA References: Sources used: openSUSE Leap 15.4 (src): libzypp-17.31.0-150400.3.6.1, zypper-1.14.55-150400.3.6.1 SUSE Linux Enterprise Module for Basesystem 15-SP4 (src): libzypp-17.31.0-150400.3.6.1, zypper-1.14.55-150400.3.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c11 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2022:3221-1: An update that has 5 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1199895,1200993,1201092,1201576,1201638 CVE References: JIRA References: Sources used: SUSE Linux Enterprise Server for SAP 15-SP1 (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 SUSE Linux Enterprise Server 15-SP1-LTSS (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 SUSE Linux Enterprise Server 15-SP1-BCL (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 SUSE Linux Enterprise Installer 15-SP1 (src): libzypp-17.31.0-150100.3.84.1 SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 SUSE Enterprise Storage 6 (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 SUSE CaaS Platform 4.0 (src): libzypp-17.31.0-150100.3.84.1, zypper-1.14.55-150100.3.61.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1201092 https://bugzilla.suse.com/show_bug.cgi?id=1201092#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2022:3223-1: An update that has 5 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1199895,1200993,1201092,1201576,1201638 CVE References: JIRA References: Sources used: openSUSE Leap Micro 5.2 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 openSUSE Leap 15.3 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Manager Server 4.1 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Manager Retail Branch Server 4.1 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Manager Proxy 4.1 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Server for SAP 15-SP2 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Server 15-SP2-LTSS (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Server 15-SP2-BCL (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Module for Basesystem 15-SP3 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Micro 5.2 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Micro 5.1 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise Installer 15-SP2 (src): libzypp-17.31.0-150200.42.1 SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 SUSE Enterprise Storage 7 (src): libzypp-17.31.0-150200.42.1, zypper-1.14.55-150200.36.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com