cURL / Mailing Lists / curl-library / Single Mail


RE: Problems on FreeBSD

From: Lucas Adamski <>
Date: Fri, 7 Sep 2001 09:42:17 -0700

Oh well, ok. So I'm throwing in the towel and going back to Solaris x86. What a pain! Thanks a lot for the help though.
Hopefully someday FBSD will be ready!

-----Original Message-----
From: Daniel Stenberg []
Sent: Friday, September 07, 2001 2:14 AM
To: Lucas Adamski
Cc: Libcurl
Subject: RE: Problems on FreeBSD

On Fri, 7 Sep 2001, Lucas Adamski wrote:

> I ran it under gdb, and got the following:
> Program received signal SIGSEGV, Segmentation fault. 0x28079685 in
> Transfer (c_conn=0x8075400) at transfer.c:162

That's about the same insane info (there's no code on that source line) that
we got from Oleg Bartunov when he did his attempts on FreeBSD. Archived here:

Guys, I'm afraid FreeBSD is not a good OS selection to run multi-threaded
applications on. At least not with the pthread stuff. I did some googling on
the subject, and I found this informative message thread (dated May 2001)
from comp.unix.programmer that show a general consensus in the subject:

It basically says you should use the 'linuxthreads' port or face the
concequences. It mentions the absense of threadsafe functions like
gethostbyname_r(), which of course is deadly for a library such as libcurl.

I could be completely wrong of course.

    Daniel Stenberg -- curl groks URLs --
Received on 2001-09-09