zypper dup "double free or corruption" "core dumped"

Hello!

After my last update I cannot update my system anymore. At first i thought a package is corrupt and waited for an update. But I tried now to update and it crashes during metadata loading. This is what I get:


[FONT=monospace]~$ sudo zypper -vv dup  
Verbosity: 3 
Initialising Target 
Checking whether to refresh metadata for Main Repository (NON-OSS) 
Checking whether to refresh metadata for Main Repository (OSS) 
Checking whether to refresh metadata for Main Update Repository 
Checking whether to refresh metadata for Base:System 
Checking whether to refresh metadata for home:mguessan:davmail 
Checking whether to refresh metadata for X11:RemoteDesktop:x2go 
Checking whether to refresh metadata for openSUSE:Tumbleweed 
Checking whether to refresh metadata for games 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml ..............[done] 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/media.1/media ....................[not found] 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml.asc...........[done] 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml.key...........[done] 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml ..............[done (3,0 KiB/s)] 
  Repository:       games 
  Key Fingerprint:  AEF1 EE83 0A27 90AB ABC2 CDA2 8F91 B0E6 C862 B42C 
  Key Name:         games OBS Project <games@build.opensuse.org> 
  Key Algorithm:    DSA 1024 
  Key Created:      Fr 27 Nov 2020 07:56:34 
  Key Expires:      So 05 Feb 2023 07:56:34 
  Rpm Name:         gpg-pubkey-c862b42c-5fc0a322 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/395e840a7bdd56874d68db623aaabc082ecf31d12eb05a55bce993fa424900c3-app-icons.tar.gz .................................................[done] 
Retrieving: https://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/395e840a7bdd56874d68db623aaabc082ecf31d12eb05a55bce993fa424900c3-appdata-icons.tar.gz ------------------------------------- (2,6 KiB/s)]
double free or corruption (!prev) 
Aborted 
**~**$ 
[/FONT]
[FONT=monospace] 

[/FONT]Sadly, for unknown reasons at this update no snapshot was created (I use KDE and normally I use the CLI to update, but I could have used the KDE updater to update OS?!).

If the core dump helps, where can I find it?

Help is appreciated!! Many thanks in advance!

Greetings, samgam

This is long standing issue which so far is believed to be libcurl problem when using SSL. Do you observe the crash if you use plain http instead of https?

Hello arvidjaar,

many thanks for your fast reply. I changed all URLs in the .repo files to http:// but I get the same issue:


**/etc/zypp/repos.d #** zypper -vv dup 
Verbosity: 3 
Initializing Target 
Checking whether to refresh metadata for Main Repository (NON-OSS) 
Checking whether to refresh metadata for Main Repository (OSS) 
Checking whether to refresh metadata for Main Update Repository 
Checking whether to refresh metadata for Base:System 
Checking whether to refresh metadata for home:mguessan:davmail 
Checking whether to refresh metadata for X11:RemoteDesktop:x2go 
Checking whether to refresh metadata for openSUSE:Tumbleweed 
Checking whether to refresh metadata for games 
Retrieving: http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml .........................................................................................................................[done] 
Retrieving: http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/media.1/media ..........................................................................................................................[not found] 
Retrieving: http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml.asc .....................................................................................................................[done] 
Retrieving: http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml.key .....................................................................................................................[done] 
Retrieving: http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/repomd.xml .........................................................................................................................[done] 
  Repository:       games 
  Key Fingerprint:  AEF1 EE83 0A27 90AB ABC2 CDA2 8F91 B0E6 C862 B42C 
  Key Name:         games OBS Project <games@build.opensuse.org> 
  Key Algorithm:    DSA 1024 
  Key Created:      Fri Nov 27 07:56:34 2020 
  Key Expires:      Sun Feb  5 07:56:34 2023 
  Rpm Name:         gpg-pubkey-c862b42c-5fc0a322 
Retrieving: http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/repodata/395e840a7bdd56874d68db623aaabc082ecf31d12eb05a55bce993fa424900c3-app-icons.tar.gz ----------------------------------------------[starting]
double free or corruption (!prev) 
Aborted (core dumped) 
**/etc/zypp/repos.d #**

Before my holidays the update of my repo list works fine and it crashed during the download of the packages. First I thought it has something to do with xz library, but it seems to make no sense with the above output.

Here is issue I meant. Arguably fixed. Still you can try workaround suggested here.
Bugzilla reference: https://bugzilla.suse.com/show_bug.cgi?id=1185579

If you observe the same stack trace, you may consider reopening it.

Hi!

Many thanks for your links. I followed the steps in https://bugzilla.suse.com/show_bug.cgi?id=1185579#c13 and installed the actual libcurl4 and curl versions via rpm. The actual running zypper dup seems to work now.

Best regards, Samgam