From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16128 invoked by alias); 3 Jan 2013 12:14:07 -0000 Received: (qmail 15802 invoked by uid 48); 3 Jan 2013 12:13:28 -0000 From: "aj at suse dot de" To: glibc-bugs@sourceware.org Subject: [Bug stdio/10652] getaddrinfo causes segfault if multithreaded and linked statically Date: Thu, 03 Jan 2013 12:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aj at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00006.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=10652 Andreas Jaeger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj at suse dot de --- Comment #17 from Andreas Jaeger 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.