Bug 1466011

Summary: dnf crashed during last update
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: dnfAssignee: rpm-software-management
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-12 11:19:40 UTC Type: Bug
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
screenshot none

Description Mikhail 2017-06-28 17:09:52 UTC
Created attachment 1292682 [details]
screenshot

Description of problem:
dnf crashed during last update

$ coredumpctl gdb 14855
           PID: 14855 (dnf)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Wed 2017-06-28 20:44:46 +05 (1h 22min ago)
  Command Line: /usr/libexec/system-python /usr/bin/dnf reinstall kernel-core
    Executable: /usr/libexec/system-python
 Control Group: /user.slice/user-1000.slice/user/gnome-terminal-server.service
          Unit: user
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (mikhail)
       Boot ID: dcf29f8de484478098cb2f1542d7f7bb
    Machine ID: edc1cc95c19c4261af3af0c053b20c2e
      Hostname: localhost.localdomain
       Storage: /var/lib/systemd/coredump/core.dnf.0.dcf29f8de484478098cb2f1542d7f7bb.14855.1498664686000000.lz4 (inaccessible)
       Message: Process 14855 (dnf) of user 0 dumped core.
                
                Stack trace of thread 14855:
                #0  0x00007efe6b0ad893 __env_failchk_int (libdb-5.3.so)
                #1  0x00007efe6b0ae438 __env_failchk_pp (libdb-5.3.so)
                #2  0x00007efe6b9bdc2f db3_dbiOpen (librpm.so.7)
                #3  0x00007efe6b9c452e pkgdbOpen (librpm.so.7)
                #4  0x00007efe6b9c4de0 openDatabase (librpm.so.7)
                #5  0x00007efe6b9ef8d5 rpmtsOpenDB (librpm.so.7)
                #6  0x00007efe691fccf8 rpmts_Match (_rpm.cpython-36m-x86_64-linux-gnu.so)
                #7  0x00007efe7d7821f6 PyCFunction_Call (libpython3.6m.so.1.0)
                #8  0x00007efe7d7c10bb _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #9  0x00007efe7d718021 _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                #10 0x00007efe7d74bde1 fast_function (libpython3.6m.so.1.0)
                #11 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #12 0x00007efe7d7bb5da _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #13 0x00007efe7d74bbba fast_function (libpython3.6m.so.1.0)
                #14 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #15 0x00007efe7d7bb5da _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #16 0x00007efe7d718021 _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                #17 0x00007efe7d74bde1 fast_function (libpython3.6m.so.1.0)
                #18 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #19 0x00007efe7d7bb5da _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #20 0x00007efe7d718021 _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                #21 0x00007efe7d74bde1 fast_function (libpython3.6m.so.1.0)
                #22 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #23 0x00007efe7d7bb5da _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #24 0x00007efe7d74bbba fast_function (libpython3.6m.so.1.0)
                #25 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #26 0x00007efe7d7bb5da _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #27 0x00007efe7d718021 _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                #28 0x00007efe7d74bde1 fast_function (libpython3.6m.so.1.0)
                #29 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #30 0x00007efe7d7bb5da _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #31 0x00007efe7d718021 _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                #32 0x00007efe7d74bde1 fast_function (libpython3.6m.so.1.0)
                #33 0x00007efe7d78943e call_function (libpython3.6m.so.1.0)
                #34 0x00007efe7d7bc567 _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                #35 0x00007efe7d796138 PyEval_EvalCodeEx (libpython3.6m.so.1.0)
                #36 0x00007efe7d796eab PyEval_EvalCode (libpython3.6m.so.1.0)
                #37 0x00007efe7d81f1a2 run_mod (libpython3.6m.so.1.0)
                #38 0x00007efe7d81fdfd PyRun_FileExFlags (libpython3.6m.so.1.0)
                #39 0x00007efe7d8217f7 PyRun_SimpleFileExFlags (libpython3.6m.so.1.0)
                #40 0x00007efe7d822803 Py_Main (libpython3.6m.so.1.0)
                #41 0x000055992fb07cf5 main (system-python)
                #42 0x00007efe7c9124da __libc_start_main (libc.so.6)
                #43 0x000055992fb07e6a _start (system-python)

Comment 1 Igor Gnatenko 2017-07-12 11:19:40 UTC
# rpm --rebuilddb

is your friend ;)

if will not help, try to

# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

If doesn't help, we can't do anything.