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 2175017 - deadlock while reading amd maps
Summary: deadlock while reading amd maps
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: autofs
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ian Kent
QA Contact: Kun Wang
URL:
Whiteboard:
Depends On:
Blocks: 2177998 2179753
TreeView+ depends on / blocked
 
Reported: 2023-03-02 21:29 UTC by Frank Sorenson
Modified: 2023-09-29 04:25 UTC (History)
7 users (show)

Fixed In Version: autofs-5.1.4-102.el8_8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2177998 2179753 (view as bug list)
Environment:
Last Closed: 2023-05-31 02:40:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-150534 0 None None None 2023-03-02 21:31:39 UTC

Description Frank Sorenson 2023-03-02 21:29:44 UTC
Created attachment 1947589 [details]
core file of deadlocked automount process

Description of problem:

A deadlock can occur while reading amd maps, leading to hung automount process.



Version-Release number of selected component (if applicable):

autofs-5.1.4-88



How reproducible:

Unknown


Steps to Reproduce:

the 'reproducer' in bz2139504 can sometimes hit this deadlock


Actual results:

deadlock leads to unresponsive automount process

Expected results:

no deadlock



Additional info:

core file attached

Comment 3 Ian Kent 2023-03-03 08:07:17 UTC
(In reply to Frank Sorenson from comment #0)
> Created attachment 1947589 [details]
> core file of deadlocked automount process
> 
> Description of problem:
> 
> A deadlock can occur while reading amd maps, leading to hung automount
> process.
> 
> 
> 
> Version-Release number of selected component (if applicable):
> 
> autofs-5.1.4-88
> 
> 
> 
> How reproducible:
> 
> Unknown
> 
> 
> Steps to Reproduce:
> 
> the 'reproducer' in bz2139504 can sometimes hit this deadlock

I think the reproducer may be encountering this problem more than you realise.

The way I discovered it was running the reproducer and terminating the test
before error conditions started occurring then waiting for the mounts to expire.
Fairly often I would see the mounts one level below the top level not able to
expire away, something I've started seeing for a while now, and looking at back
traces showed there was actually a deadlock occurring. Something I have missed
completely while working on this problem so far.

Ian

Comment 9 Ian Kent 2023-03-12 23:32:51 UTC
I have a scratch build at
https://brew-task-repos.engineering.redhat.com/repos/scratch/ikent/autofs/5.1.4/101.el8/

It's just patch cleanups, mostly descriptions/spelling.
Please use this for testing.

Comment 10 Ian Kent 2023-03-12 23:36:04 UTC
Kun,

Could you test this please, as in comment #5 we need that for the
exception review before this Thursday.

Comment 50 Red Hat Bugzilla 2023-09-29 04:25:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.