Glibc - Deadlock in atfork handler which calls dlclose in Red Hat Enterprise Linux 8

Solution Verified - Updated -

Issue

  • Programs get stuck in a deadlock during glibc calls and are failing to operate.
  • If a thread calls pthread_atfork from an atfork handler, it is creating a deadlock.

Environment

  • Red Hat Enterprise Linux 8
  • glibc-2.28-101.el8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content