Red Hat Bugzilla – Bug 85270
dlsym is not thread safe
Last modified: 2016-11-24 10:19:39 EST
Description of problem:
Using dlsym in different threads at the same time can and will corrupt the stack
and cause a problem to crash if the dlsym() lookup failed.
Version-Release number of selected component (if applicable):
Run attached program. Test code by Hui Huang from Sun.
Steps to Reproduce:
1. run the program, perhaps multiple times
no crash, no output
Created attachment 90392 [details]
Test program showing the crash
Test program written by Hui Huang.
Created attachment 90393 [details]
Patch to fix the problem
Patc relative to official CVS sources as of 2002-02-26T20:20:00-0800.
Waiting for fix to show up in rawhide.
Fixed in 2.3.2-5.
Fix confirmed in latest packages.