[Bug 6158] New: Crash during library unloading with RTLD_GLOBAL

bugzilla at busybox.net bugzilla at busybox.net
Wed Apr 3 16:23:40 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6158

           Summary: Crash during library unloading with RTLD_GLOBAL
           Product: uClibc
           Version: 0.9.33.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Shared Library Support
        AssignedTo: unassigned at uclibc.org
        ReportedBy: mitza at ociweb.com
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


Created attachment 4832
  --> https://bugs.busybox.net/attachment.cgi?id=4832
patch to libdl.c, update _dl_loaded_modules->symbol_scope->r_list during
unloading

After enabling RTLD_GLOBAL, we found a case where running destructors in
dlclose caused a crash during what should have been a successful dynamic symbol
lookup.  The attached patch fixes the crash.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list