Bug 1462250

Summary: [abrt] rpm: __env_in_api(): rpm killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Philipp Gampe <bugzilla.redhat.com>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: ignatenko, kardos.lubos, mjw, packaging-team-maint, pmatilai, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7ef8c0c3674b453e3db9b160f14d15b8526de637
Whiteboard: abrt_hash:9e815d922e75c735f99c63e06d199b5bf314691d;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-23 10:27:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Philipp Gampe 2017-06-16 13:52:17 UTC
Description of problem:


Version-Release number of selected component:
rpm-4.13.0.1-1.fc25

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        rpm -q gpg-pubkey-7fac5991-4615767f gpg-pubkey-d38b4796-570c8cd3
crash_function: __env_in_api
executable:     /usr/bin/rpm
global_pid:     1413
kernel:         4.11.3-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 __env_in_api at ../../src/env/env_failchk.c:328
 #1 __env_failchk_int at ../../src/env/env_failchk.c:82
 #2 __env_failchk_pp at ../../src/env/env_failchk.c:58
 #3 db_init at backend/db3.c:504
 #4 db3_dbiOpen at backend/db3.c:841
 #5 pkgdbOpen at rpmdb.c:149
 #6 openDatabase at rpmdb.c:575
 #7 rpmdbOpen at rpmdb.c:605
 #8 rpmtsOpenDB at rpmts.c:96
 #9 rpmtsInitIterator at rpmts.c:177

Comment 1 Philipp Gampe 2017-06-16 13:52:25 UTC
Created attachment 1288368 [details]
File: backtrace

Comment 2 Philipp Gampe 2017-06-16 13:52:27 UTC
Created attachment 1288369 [details]
File: cgroup

Comment 3 Philipp Gampe 2017-06-16 13:52:29 UTC
Created attachment 1288370 [details]
File: core_backtrace

Comment 4 Philipp Gampe 2017-06-16 13:52:30 UTC
Created attachment 1288371 [details]
File: dso_list

Comment 5 Philipp Gampe 2017-06-16 13:52:32 UTC
Created attachment 1288372 [details]
File: environ

Comment 6 Philipp Gampe 2017-06-16 13:52:33 UTC
Created attachment 1288373 [details]
File: exploitable

Comment 7 Philipp Gampe 2017-06-16 13:52:35 UTC
Created attachment 1288374 [details]
File: limits

Comment 8 Philipp Gampe 2017-06-16 13:52:37 UTC
Created attachment 1288375 [details]
File: maps

Comment 9 Philipp Gampe 2017-06-16 13:52:39 UTC
Created attachment 1288376 [details]
File: mountinfo

Comment 10 Philipp Gampe 2017-06-16 13:52:40 UTC
Created attachment 1288377 [details]
File: namespaces

Comment 11 Philipp Gampe 2017-06-16 13:52:42 UTC
Created attachment 1288378 [details]
File: open_fds

Comment 12 Philipp Gampe 2017-06-16 13:52:43 UTC
Created attachment 1288379 [details]
File: proc_pid_status

Comment 13 Philipp Gampe 2017-06-16 13:52:45 UTC
Created attachment 1288380 [details]
File: var_log_messages

Comment 14 Panu Matilainen 2017-08-23 10:27:15 UTC
This is the libdb condvar episode (bug 1394862), since then fixed in errata but those who got some of the intermediate ended up with less than smooth ride :-/
For the long version instructions, see https://www.happyassassin.net/2017/06/09/psa-rpm-database-issues-after-update-to-libdb-5-3-28-21-on-fedora-24-and-fedora-25/