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

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


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

Robert G. Jakabosky <bobby at sharedrealm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bobby at sharedrealm dot
                   |                            |com

--- Comment #12 from Robert G. Jakabosky <bobby at sharedrealm dot com> 2011-03-26 07:09:49 UTC ---
The same crash happens if the host program is not compiled with "-pthread" and
dynamically loads a module which is linked to libpthread.so and calls
getaddrinfo() from multiple threads.

I will attache two example C files that show case this problem.

-- 
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