https://bugzilla.novell.com/show_bug.cgi?id=784211 https://bugzilla.novell.com/show_bug.cgi?id=784211#c0 Summary: getaddrinfo() segfaults in a thread in a dlopen'd library if the main program is not linked against libpthread Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gber@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=508704) --> (http://bugzilla.novell.com/attachment.cgi?id=508704) backtrace User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 getaddrinfo() segfaults when called from a thread in a dlopen'd library if main program is not linked against libpthread, when linking the main program against libpthread or preloading it the probelm disappears. I ran into this when using the curl multi interface through the tcl curl bindings, our tcl interpreter is built without thread support and dlopens the TclCurl library which is in turn linked against libcurl which uses pthreads for the multi interface. After looking into this I've created a minimal test case that I've attached together with a backtrace here. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.