hi, there!
On Fri, 2 Mar 2001, Lists Account wrote:
> I was coding some stuff under a 4.2 box of mine here earlier today and I
> seem to have hit a very strange bug, I was wondering if anyone could help
> me out here.
>
> I wrote a bunch of pthread enabled code, when I tried to run the program,
> after I compiled it with -pthread (I had to with the threading code in
> there), it segfaulted, so I ran it through gdb, and it was segfaulting on
> malloc(). So I dug around some more, and eventually I tried changing that
> single line to a c++ new() call, no more problems...
4.2-RELEASE has known problems with C++ and pthreads
please upgrade to latest -STABLE
/fjoe
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message