[Bug 14662] New: POSIX dynamic loader asserts when launching a changed inferior process on Linux

http://llvm.org/bugs/show_bug.cgi?id=14662

             Bug #: 14662
           Summary: POSIX dynamic loader asserts when launching a changed
                    inferior process on Linux
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev@cs.uiuc.edu
        ReportedBy: andrew.kaylor@intel.com
    Classification: Unclassified

This failure is exercised by the functionalities/inferior-changed test. The
test launches an inferior process, which is expected to crash, then kills the
process, rebuilds it from different source code which will not crash and
attempts to relaunch the process. This fails with an assertion at
DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp line 139 [assert(m_current.state ==
eConsistent)].

The assertion indicates that the 'state' member of the 'Rendezvous' structure
has an unexpected value. The expected values are 'eConsistent' (0), 'eAdd' (1)
and 'eDelete' (2). The value encountered is 0x00601000. Other members of the
structure also appear to be incorrect. It may be that the ELF header
information used to locate this structure was read incorrectly.

This structure is supposed to be populated by the Linux runtime linker and is
used to detect loading and unloading of shared libraries.

Matt Kopec changed bug 14662

What Removed Added
Status NEW RESOLVED
CC matt.kopec@intel.com
Resolution FIXED

Comment # 2 on bug 14662 from Matt Kopec

FIxed in r176492.