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:58:43 +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 #16 from Robert G. Jakabosky <bobby at sharedrealm dot com> 2011-03-26 07:58:37 UTC ---
Created attachment 5327
--> http://sourceware.org/bugzilla/attachment.cgi?id=5327
Valgrind output shows some invalid reads into freed memory before the program
crashes on a NULL pointer.
This problem seems to be caused by a race condition between the threads calling
getaddrinfo(). With a small number of threads it doesn't always happen.
Atleast the backtrace has always been the same.
--
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.