[Bug 1179416] New: [Build 20201129] openQA test fails in await_install: rpm segfault
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=
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c1
--- Comment #1 from Michael Schr�der
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c2
--- Comment #2 from Dominique Leuenberger
Hmm, but what has changed?
That's the most odd thing. * the issue only shows in one single upgrade test (kde/live upgrade from 42.3); but on that one, reproducible * Snapshot 1126 passed, 1127 failed. There was only a docker revert between 1126 and 1127 (firewall issues, docker was accepted too soon). -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c4
--- Comment #4 from Michael Schr�der
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c5
--- Comment #5 from Michael Schr�der
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c7
--- Comment #7 from Fabian Vogt
(In reply to Michael Schr�der from comment #5)
Hmm, or maybe it's something else. The fix makes things better, so I'll submit anyway...
https://openqa.opensuse.org/tests/1540523 - seems not to have made a change for the openQA test. rpm still segfaults (interestingly enough, always on the same package)
This one is actually reproducible, it still breaks on retries. Core was generated by `rpm --root /mnt --dbpath /var/lib/rpm -U --percent --noglob --force --nodeps --'. Program terminated with signal SIGSEGV, Segmentation fault. #0 fpHashFunction (fp=0x55a7edf80d00) at fprint.c:274 274 hash ^= ((unsigned)fp->entry->dev); Missing separate debuginfos, use: zypper install glibc-debuginfo-2.32-3.1.x86_64 libacl1-debuginfo-2.2.53-4.1.x86_64 libbz2-1-debuginfo-1.0.8-2.20.x86_64 libcap2-debuginfo-2.43-1.1.x86_64 libgcrypt20-debuginfo-1.8.7-1.1.x86_64 libgpg-error0-debuginfo-1.39-1.1.x86_64 liblua5_3-5-debuginfo-5.3.6-1.1.x86_64 liblzma5-debuginfo-5.2.5-1.16.x86_64 libpcre1-debuginfo-8.44-1.19.x86_64 libpopt0-debuginfo-1.18-2.1.x86_64 libselinux1-debuginfo-3.1-2.1.x86_64 libz1-debuginfo-1.2.11-18.1.x86_64 libzstd1-debuginfo-1.4.5-2.4.x86_64 (gdb) bt #0 fpHashFunction (fp=0x55a7edf80d00) at fprint.c:274 #1 0x00007fd0bf6416ee in rpmFpHashGetEntry (tableKey=0x0, dataCount=<synthetic pointer>, data=<synthetic pointer>, key=<optimized out>, ht=0x55a7edfc5660) at ../lib/rpmhash.C:253 #2 fpCacheGetByFp (cache=0x55a7edf9d8a0, cache=0x55a7edf9d8a0, numRecs=<synthetic pointer>, recs=<synthetic pointer>, ix=<optimized out>, fp=<optimized out>) at fprint.c:449 #3 checkInstalledFiles (fpc=0x55a7edf9d8a0, fileCount=<optimized out>, ts=0x55a7edf7f8b0) at transaction.c:1160 #4 rpmtsPrepare (ts=<optimized out>) at transaction.c:1554 #5 rpmtsRun (ts=<optimized out>, okProbs=<optimized out>, ignoreSet=<optimized out>) at transaction.c:1815 #6 0x00007fd0bf637ae9 in rpmcliTransaction (ts=ts@entry=0x55a7edf7f8b0, ia=ia@entry=0x55a7ec060340 <rpmIArgs>, numPackages=1) at rpminstall.c:291 #7 0x00007fd0bf638e7e in rpmInstall (ts=ts@entry=0x55a7edf7f8b0, ia=<optimized out>, fileArgv=<optimized out>) at rpminstall.c:632 #8 0x000055a7ec05d961 in main (argc=12, argv=<optimized out>) at rpm.c:265 (gdb) p fp->entry $40 = (const struct fprintCacheEntry_s *) 0x0 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c8
--- Comment #8 from Fabian Vogt
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c9
--- Comment #9 from Fabian Vogt
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c10
--- Comment #10 from Michael Schr�der
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c11
--- Comment #11 from Dominique Leuenberger
I fixed a bug that could cause access to freed memory two days ago, maybe that was the culprit.
In case you refer to: 5+- fix potential access of freed mem in ndb's glue code [bnc#1179416] 6+ * new patch: ndbglue.diff ==> that fails to build -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c12
--- Comment #12 from Michael Schr�der
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c13
--- Comment #13 from Fabian Vogt
(In reply to Michael Schr�der from comment #10)
I fixed a bug that could cause access to freed memory two days ago, maybe that was the culprit.
In case you refer to: 5+- fix potential access of freed mem in ndb's glue code [bnc#1179416] 6+ * new patch: ndbglue.diff
==> that fails to build
Just tried: With rpm-4.16.0-15.1 from Base:System/rpm/openSUSE_Factory it still fails the same way. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c14
Michael Schr�der
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c15
--- Comment #15 from Fabian Vogt
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c17
--- Comment #17 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c18
--- Comment #18 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c20
--- Comment #20 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1179416
https://bugzilla.suse.com/show_bug.cgi?id=1179416#c21
--- Comment #21 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@suse.com