[Bug libc/10652] getaddrinfo causes segfault if multithreaded and linked statically

bobby at sharedrealm dot com sourceware-bugzilla@sourceware.org
Sat Mar 26 07:24:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=10652

--- Comment #14 from Robert G. Jakabosky <bobby at sharedrealm dot com> 2011-03-26 07:24:33 UTC ---
Created attachment 5326
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5326
Simple host program to dynamically load a module with dlopen().

Compile without -pthread:
gcc -ldl -Wall -o crash_main_no_pthread crash_main.c

Compile with -pthread:
gcc -ldl -Wall -o crash_main_pthread crash_main.c -pthread

By default the program will try to load a module named:
/tmp/crash_getaddrinfo.so

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list