This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/10652] getaddrinfo causes segfault if multithreaded and linked statically
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 03 Jan 2013 12:13:25 +0000
- Subject: [Bug stdio/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
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at suse dot de
--- Comment #17 from Andreas Jaeger <aj at suse dot de> 2013-01-03 12:13:25 UTC ---
(In reply to comment #12)
> 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.
A comment on this case is at:
http://sourceware.org/ml/libc-alpha/2012-10/msg00361.html
my advise for now is to link your application against libpthread until somebody
really digs into this and figures out what is supposed to work and how.
--
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.