https://bugzilla.suse.com/show_bug.cgi?id=1179416
Bug ID: 1179416
Summary: [Build 20201129] openQA test fails in await_install:
rpm segfault
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
URL: https://openqa.opensuse.org/tests/1489079/modules/awai
t_install/steps/185
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: mls@suse.com
Reporter: fvogt@suse.com
QA Contact: qa-bugs@suse.de
CC: dimstar@opensuse.org
Found By: openQA
Blocker: Yes
Created attachment 843979
--> https://bugzilla.suse.com/attachment.cgi?id=843979&action=edit
Coredump of rpm (4.15.1-8.1)
rpm crashes when upgrading the "hostname" package of a 42.3 system. Clicking on
retry works.
(gdb) bt
#0 __bswap_32 (__bsx=) at /usr/include/bits/byteswap.h:52
#1 hdrblobInit (uh=0x0, uc=0, regionTag=0, exact_size=0, blob=0x7fff4b73fd30,
emsg=0x7fff4b73fde0) at header.c:1979
#2 0x00007f6c0a6e9a27 in headerCheck (ts=0x55f90c49e510, uh=0x0, uc=0,
msg=0x7fff4b73fde0) at package.c:209
#3 0x00007f6c0a7184a2 in miFreeHeader.isra.0 (mi=mi@entry=0x55f90c51fe50,
dbi=0x55f90c4be5f0) at rpmdb.c:981
#4 0x00007f6c0a6db367 in rpmdbFreeIterator (mi=0x55f90c51fe50) at rpmdb.c:1032
#5 0x00007f6c0a6f34f1 in markReplacedFiles (psm=0x55f90c49f190,
psm=0x55f90c49f190) at psm.c:547
#6 rpmPackageInstall (psm=0x55f90c49f190, ts=0x55f90c49e510) at psm.c:729
#7 rpmpsmRun (ts=0x55f90c49e510, te=0x55f90c4bb7a0, goal=<optimized out>) at
psm.c:849
#8 0x00007f6c0a7010dd in rpmpsmRun (goal=PKG_INSTALL, te=0x55f90c4bb7a0,
ts=0x55f90c49e510) at psm.c:838
#9 rpmteProcess (te=0x55f90c4bb7a0, goal=PKG_INSTALL, num=<optimized out>) at
rpmte.c:805
#10 0x00007f6c0a7068d9 in rpmtsProcess (ts=0x55f90c49e510) at
transaction.c:1546
#11 rpmtsRun (ts=<optimized out>, okProbs=<optimized out>, ignoreSet=<optimized
out>) at transaction.c:1758
#12 0x00007f6c0a6fa609 in rpmcliTransaction (ts=ts@entry=0x55f90c49e510,
ia=ia@entry=0x55f90bce1340 <rpmIArgs>, numPackages=1) at rpminstall.c:291
#13 0x00007f6c0a6fb99e in rpmInstall (ts=0x55f90c49e510, ia=<optimized out>,
fileArgv=<optimized out>) at rpminstall.c:632
#14 0x000055f90bcde961 in main (argc=12, argv=<optimized out>) at rpm.c:265
So it appears like exportHeader returns nullptr.
## Observation
openQA test in scenario
opensuse-Tumbleweed-KDE-Live-x86_64-kde_live_upgrade_leap_42.3@64bit-2G fails
in
[await_install](https://openqa.opensuse.org/tests/1489079/modules/await_install/steps/185)
## Test suite description
Uses the live installer on the kde live media for upgrading the system.
## Reproducible
Fails since (at least) Build
[20201127](https://openqa.opensuse.org/tests/1487496)
## Expected result
Last good: [20201126](https://openqa.opensuse.org/tests/1486344) (or more
recent)
## Further details
Always latest result in this scenario:
[latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=KDE-Live&machine=64bit-2G&test=kde_live_upgrade_leap_42.3&version=Tumbleweed)
--
You are receiving this mail because:
You are on the CC list for the bug.