Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1687453

Summary: segfaults during "dnf module list"
Product: Red Hat Enterprise Linux 7 Reporter: Remi Collet <rcollet>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: dmach
Target Milestone: rcKeywords: Extras
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: 2019-03-18 12:17:23 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:

Description Remi Collet 2019-03-11 14:03:44 UTC
Description of problem:
Segfault.

Version-Release number of selected component (if applicable):
dnf-4.0.9.2-1.el7_6.noarch


How reproducible:
Always

Steps to Reproduce:
1. dnf module list
2.
3.

Actual results:


Last metadata expiration check: 0:00:27 ago on Mon Mar 11 15:00:30 2019.
Detection of Platform Module failed: Missing PLATFORM_ID in /etc/os-release
*** Error in `/usr/bin/python2': double free or corruption (fasttop): 0x00000000028397c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81679)[0x7efdd9088679]
/usr/lib64/python2.7/site-packages/libdnf/_smartcols.so(+0x108c4)[0x7efdc90698c4]
/lib64/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7efdd9d44ab3]
/lib64/libpython2.7.so.1.0(PyObject_CallFunctionObjArgs+0xbc)[0x7efdd9d453ac]
/usr/lib64/python2.7/site-packages/libdnf/_smartcols.so(+0xb6d0)[0x7efdc90646d0]
/lib64/libpython2.7.so.1.0(+0x811ff)[0x7efdd9d7a1ff]
/lib64/libpython2.7.so.1.0(+0x9dc94)[0x7efdd9d96c94]
/lib64/libpython2.7.so.1.0(+0x6f3f2)[0x7efdd9d683f2]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x67d9)[0x7efdd9ddd729]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x67bd)[0x7efdd9ddd70d]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x663c)[0x7efdd9ddd58c]
/lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7ed)[0x7efdd9de008d]
/lib64/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7efdd9de0192]
/lib64/libpython2.7.so.1.0(+0x1005cf)[0x7efdd9df95cf]
/lib64/libpython2.7.so.1.0(PyRun_FileExFlags+0x7e)[0x7efdd9dfa79e]
/lib64/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xe9)[0x7efdd9dfba29]
/lib64/libpython2.7.so.1.0(Py_Main+0xc9f)[0x7efdd9e0cbdf]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7efdd9029505]
/usr/bin/python2[0x40066e]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:01 16994344                           /usr/bin/python2.7
00600000-00601000 r--p 00000000 fd:01 16994344                           /usr/bin/python2.7
00601000-00602000 rw-p 00001000 fd:01 16994344                           /usr/bin/python2.7
0191c000-04081000 rw-p 00000000 00:00 0                                  [heap]
7efdc0000000-7efdc0021000 rw-p 00000000 00:00 0 
7efdc0021000-7efdc4000000 ---p 00000000 00:00 0 
7efdc656a000-7efdc65aa000 rw-p 00000000 00:00 0 
7efdc692a000-7efdc696a000 rw-p 00000000 00:00 0 
7efdc702a000-7efdc702b000 ---p 00000000 00:00 0 
7efdc702b000-7efdc782b000 rw-p 00000000 00:00 0 
7efdc782b000-7efdc7cac000 rw-p 00000000 00:00 0 
7efdc7e3a000-7efdc7ea7000 rw-p 00000000 00:00 0 
7efdc7f79000-7efdc7f7f000 r-xp 00000000 fd:01 25363689                   /usr/lib64/libnss_dns-2.17.so
7efdc7f7f000-7efdc817e000 ---p 00006000 fd:01 25363689                   /usr/lib64/libnss_dns-2.17.so
7efdc817e000-7efdc817f000 r--p 00005000 fd:01 25363689                   /usr/lib64/libnss_dns-2.17.so
7efdc817f000-7efdc8180000 rw-p 00006000 fd:01 25363689                   /usr/lib64/libnss_dns-2.17.so
7efdc8180000-7efdc8200000 rw-p 00000000 00:00 0 
7efdc8200000-7efdc8211000 r-xp 00000000 fd:01 25860846                   /usr/lib64/python2.7/lib-dynload/_sqlite3.so
7efdc8211000-7efdc8411000 ---p 00011000 fd:01 25860846                   /usr/lib64/python2.7/lib-dynload/_sqlite3.so
7efdc8411000-7efdc8412000 r--p 00011000 fd:01 25860846                   /usr/lib64/python2.7/lib-dynload/_sqlite3.so
7efdc8412000-7efdc8414000 rw-p 00012000 fd:01 25860846                   /usr/lib64/python2.7/lib-dynload/_sqlite3.so
7efdc8414000-7efdc8514000 rw-p 00000000 00:00 0 
7efdc8514000-7efdc8518000 r-xp 00000000 fd:01 25907326                   /usr/lib64/python2.7/lib-dynload/termios.so
7efdc8518000-7efdc8717000 ---p 00004000 fd:01 25907326                   /usr/lib64/python2.7/lib-dynload/termios.so
7efdc8717000-7efdc8718000 r--p 00003000 fd:01 25907326                   /usr/lib64/python2.7/lib-dynload/termios.so
7efdc8718000-7efdc871a000 rw-p 00004000 fd:01 25907326                   /usr/lib64/python2.7/lib-dynload/termios.so
7efdc871a000-7efdc873f000 r-xp 00000000 fd:01 25363752                   /usr/lib64/libtinfo.so.5.9
7efdc873f000-7efdc893f000 ---p 00025000 fd:01 25363752                   /usr/lib64/libtinfo.so.5.9
7efdc893f000-7efdc8943000 r--p 00025000 fd:01 25363752                   /usr/lib64/libtinfo.so.5.9
7efdc8943000-7efdc8944000 rw-p 00029000 fd:01 25363752                   /usr/lib64/libtinfo.so.5.9
7efdc8944000-7efdc897b000 r-xp 00000000 fd:01 25363740                   /usr/lib64/libncursesw.so.5.9
7efdc897b000-7efdc8b7a000 ---p 00037000 fd:01 25363740                   /usr/lib64/libncursesw.so.5.9
7efdc8b7a000-7efdc8b7b000 r--p 00036000 fd:01 25363740                   /usr/lib64/libncursesw.so.5.9
7efdc8b7b000-7efdc8b7c000 rw-p 00037000 fd:01 25363740                   /usr/lib64/libncursesw.so.5.9
7efdc8b7c000-7efdc8b8e000 r-xp 00000000 fd:01 25755545                   /usr/lib64/python2.7/lib-dynload/_curses.so
7efdc8b8e000-7efdc8d8d000 ---p 00012000 fd:01 25755545                   /usr/lib64/python2.7/lib-dynload/_curses.so
7efdc8d8d000-7efdc8d8e000 r--p 00011000 fd:01 25755545                   /usr/lib64/python2.7/lib-dynload/_curses.so
7efdc8d8e000-7efdc8d90000 rw-p 00012000 fd:01 25755545                   /usr/lib64/python2.7/lib-dynload/_curses.so
7efdc8d90000-7efdc8e50000 rw-p 00000000 00:00 0 
7efdc8e50000-7efdc8e58000 r-xp 00000000 fd:01 25860768                   /usr/lib64/python2.7/lib-dynload/_json.so
7efdc8e58000-7efdc9057000 ---p 00008000 fd:01 25860768                   /usr/lib64/python2.7/lib-dynload/_json.so
7efdc9057000-7efdc9058000 r--p 00007000 fd:01 25860768                   /usr/lib64/python2.7/lib-dynload/_json.so
7efdc9058000-7efdc9059000 rw-p 00008000 fd:01 25860768                   /usr/lib64/python2.7/lib-dynload/_json.so
7efdc9059000-7efdc908b000 r-xp 00000000 fd:01 25398042                   /usr/lib64/python2.7/site-packages/libdnf/_smartcols.so
7efdc908b000-7efdc928b000 ---p 00032000 fd:01 25398042                   /usr/lib64/python2.7/site-packages/libdnf/_smartcols.so
7efdc928b000-7efdc928c000 r--p 00032000 fd:01 25398042                   /usr/lib64/python2.7/site-packages/libdnf/_smartcols.so
7efdc928c000-7efdc928f000 rw-p 00033000 fd:01 25398042                   /usr/lib64/python2.7/site-packages/libdnf/_smartcols.so
7efdc928f000-7efdc930f000 rw-p 00000000 00:00 0 
7efdc930f000-7efdc9333000 r-xp 00000000 fd:01 443856                     /usr/lib64/python2.7/site-packages/hawkey/_hawkeymodule.so
7efdc9333000-7efdc9533000 ---p 00024000 fd:01 443856                     /usr/lib64/python2.7/site-packages/hawkey/_hawkeymodule.so
7efdc9533000-7efdc9534000 r--p 00024000 fd:01 443856                     /usr/lib64/python2.7/site-packages/hawkey/_hawkeymodule.so
7efdc9534000-7efdc9539000 rw-p 00025000 fd:01 443856                     /usr/lib64/python2.7/site-packages/hawkey/_hawkeymodule.so
7efdc9539000-7efdc9579000 rw-p 00000000 00:00 0 
7efdc9579000-7efdc9586000 r-xp 00000000 fd:01 607320                     /usr/lib64/python2.7/site-packages/lzma.so
7efdc9586000-7efdc9785000 ---p 0000d000 fd:01 607320                     /usr/lib64/python2.7/site-packages/lzma.so
7efdc9785000-7efdc9786000 r--p 0000c000 fd:01 607320                     /usr/lib64/python2.7/site-packages/lzma.so
7efdc9786000-7efdc9789000 rw-p 0000d000 fd:01 607320                     /usr/lib64/python2.7/site-packages/lzma.so
7efdc9789000-7efdc978d000 r-xp 00000000 fd:01 25907677                   /usr/lib64/python2.7/lib-dynload/zlibmodule.so
7efdc978d000-7efdc998c000 ---p 00004000 fd:01 25907677                   /usr/lib64/python2.7/lib-dynload/zlibmodule.so
7efdc998c000-7efdc998d000 r--p 00003000 fd:01 25907677                   /usr/lib64/python2.7/lib-dynload/zlibmodule.so
7efdc998d000-7efdc998f000 rw-p 00004000 fd:01 25907677                   /usr/lib64/python2.7/lib-dynload/zlibmodule.so
7efdc998f000-7efdc999f000 r-xp 00000000 fd:01 25908163                 Abandon (core dumped)

Comment 2 Daniel Mach 2019-03-18 12:17:23 UTC
I believe it's a duplicate of bug#1667942.
The root cause is incorrectly configured util-linux build, which provides smartcols.

*** This bug has been marked as a duplicate of bug 1667942 ***