At 11:45 AM 9/26/00 -0700, James Scott Boorn wrote:
>I suspect I am not linking properly.  The symptom is that malloc/free
>does not seem to behave in a thread safe manner.  In a XS module the
>code uses the pthread library to create a couple of threads, in the
>threads lots of mallocs and frees are performed.  The code will fail
>from Segmentation fault.

There are lots of things besides malloc that'll make perl segfault and die 
when threaded. :)

You may want to make sure that you've got the latest pthread library for 
linux, since every new release of it fixes more bugs.


                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to