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 1782190

Summary: ndctl segfault in libndctl.so.6.16.0
Product: Red Hat Enterprise Linux 8 Reporter: Zhang Yi <yizhan>
Component: ndctlAssignee: Jeff Moyer <jmoyer>
Status: CLOSED WONTFIX QA Contact: Zhang Yi <yizhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.2Flags: pm-rhel: mirror+
Target Milestone: rc   
Target Release: 8.3   
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: 2021-06-11 07:30:47 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 Zhang Yi 2019-12-11 11:32:44 UTC
Description of problem:
ndctl segfault in libndctl.so.6.16.0

Version-Release number of selected component (if applicable):
ndctl-67-2.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. from https://bugzilla.redhat.com/show_bug.cgi?id=1492049#c5
2.
3.

Actual results:


Expected results:


Additional info:

[root@intel-purley-aep-02 ~]# uname -r
4.18.0-161.el8.x86_64
[root@intel-purley-aep-02 ~]# rpm -qa ndctl
ndctl-67-2.el8.x86_64

[root@intel-purley-aep-02 ~]# dmesg
[13379.397351] pmem0.2: detected capacity change from 0 to 12884901888
[13379.402433] Dev pmem0.2: unable to read RDB block 0
[13379.407314]  pmem0.2: unable to read partition table
[13379.407317] pmem0.2: partition table beyond EOD, truncated
[13379.952121] pmem0.4: detected capacity change from 0 to 12884901888
[13379.955993] Dev pmem0.4: unable to read RDB block 0
[13379.960877]  pmem0.4: unable to read partition table
[13379.960881] pmem0.4: partition table beyond EOD, truncated
[13380.480061] pmem0.1: detected capacity change from 0 to 12884901888
[13380.483814] Dev pmem0.1: unable to read RDB block 0
[13380.488693]  pmem0.1: unable to read partition table
[13380.488696] pmem0.1: partition table beyond EOD, truncated
[13381.038103] pmem0: detected capacity change from 0 to 12884901888
[13445.976353] nd_pmem btt0.1: No existing arenas
[13446.994497] pmem0s: detected capacity change from 0 to 798082375680
[13616.874390] pmem0: detected capacity change from 0 to 798863917056
[13617.189099] pmem0: detected capacity change from 0 to 798863917056
[13627.274929] nd_pmem btt0.0: No existing arenas
[13635.296751] pmem0s: detected capacity change from 0 to 792670854144
[13635.296969] ndctl[23853]: segfault at 8 ip 00007f956dad3e64 sp 00007ffd670d5928 error 4 in libndctl.so.6.16.0[7f956dabc000+22000]
[13635.296974] Code: 84 00 00 00 00 00 f3 0f 1e fa f3 0f 6f 47 64 0f 11 06 c3 0f 1f 00 f3 0f 1e fa 48 8b 47 40 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa <48> 8b 47 08 48 8b 40 08 c3 0f 1f 00 f3 0f 1e fa 48 83 ec 08 e8 03
[13638.372187] ndctl[23840]: segfault at 8 ip 00007f7d199fce64 sp 00007ffc300e5128 error 4 in libndctl.so.6.16.0[7f7d199e5000+22000]
[13638.372192] Code: 84 00 00 00 00 00 f3 0f 1e fa f3 0f 6f 47 64 0f 11 06 c3 0f 1f 00 f3 0f 1e fa 48 8b 47 40 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa <48> 8b 47 08 48 8b 40 08 c3 0f 1f 00 f3 0f 1e fa 48 83 ec 08 e8 03
[13638.638830] ndctl[23880]: segfault at 8 ip 00007f0f0294ce64 sp 00007fffe8a953e8 error 4 in libndctl.so.6.16.0[7f0f02935000+22000]
[13638.638835] Code: 84 00 00 00 00 00 f3 0f 1e fa f3 0f 6f 47 64 0f 11 06 c3 0f 1f 00 f3 0f 1e fa 48 8b 47 40 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa <48> 8b 47 08 48 8b 40 08 c3 0f 1f 00 f3 0f 1e fa 48 83 ec 08 e8 03
[13641.624578] ndctl[23828]: segfault at 8 ip 00007fc3e0e1ae64 sp 00007ffc620baaa8 error 4 in libndctl.so.6.16.0[7fc3e0e03000+22000]
[13641.624583] Code: 84 00 00 00 00 00 f3 0f 1e fa f3 0f 6f 47 64 0f 11 06 c3 0f 1f 00 f3 0f 1e fa 48 8b 47 40 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa <48> 8b 47 08 48 8b 40 08 c3 0f 1f 00 f3 0f 1e fa 48 83 ec 08 e8 03
[13642.304873] nd_pmem btt0.1: No existing arenas
[13644.460073] pmem0s: detected capacity change from 0 to 792670854144
[13650.537295] ndctl[23942]: segfault at 8 ip 00007f97bf59ae64 sp 00007ffe5bb22bf8 error 4 in libndctl.so.6.16.0[7f97bf583000+22000]
[13650.537300] Code: 84 00 00 00 00 00 f3 0f 1e fa f3 0f 6f 47 64 0f 11 06 c3 0f 1f 00 f3 0f 1e fa 48 8b 47 40 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa <48> 8b 47 08 48 8b 40 08 c3 0f 1f 00 f3 0f 1e fa 48 83 ec 08 e8 03
[13651.646754] nd_pmem btt0.0: No existing arenas
[13658.814930] pmem0s: detected capacity change from 0 to 705203696640
[13661.126329] ndctl[24006]: segfault at 8 ip 00007f473de45e64 sp 00007ffc236d0028 error 4 in libndctl.so.6.16.0[7f473de2e000+22000]
[13661.126335] Code: 84 00 00 00 00 00 f3 0f 1e fa f3 0f 6f 47 64 0f 11 06 c3 0f 1f 00 f3 0f 1e fa 48 8b 47 40 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa <48> 8b 47 08 48 8b 40 08 c3 0f 1f 00 f3 0f 1e fa 48 83 ec 08 e8 03

Comment 3 RHEL Program Management 2021-06-11 07:30:47 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.