This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10652] getaddrinfo causes segfault if multithreaded and linked statically
- From: "bobby at sharedrealm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sat, 26 Mar 2011 07:24:41 +0000
- Subject: [Bug libc/10652] getaddrinfo causes segfault if multithreaded and linked statically
- Auto-submitted: auto-generated
- References: <bug-10652-131@http.sourceware.org/bugzilla/>
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.