sem_timedwait() called from 32 bit shared library does not wake (blocks forever) in RHEL7

Solution Verified - Updated -

Issue

  • Executable and shared library(ies) linked to different versions of a symbol.
  • Underlinked object linked to unversioned symbol(s).
  • Properly linked object linked to the correct (versioned) symbols.
  • Normally the problem happens with libpthread symbols, but might also happen with librt symbols.
  • Commonly happen with a dlopen()'end library.

Environment

  • Red Hat Enterprise Linux (RHEL) 7.3 or newer
  • glibc-2.17-149.el7.i686 or newer

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