Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Kim Karlsson
February 21, 2005, 8:18 pm
rate this thread
I am using Perl 5.8.0, using Red Hat 9 with a 2.6.9 kernel on a dual-Xeon
and I shared object I need to use. This shared object has a working thread
which calls a callback when it has finished working.
I have written an extension (following the instructions (the one with the
in Perl to access this shared object.
The problem I have is that if the thread calls the callback (to a Perl
sub), I get a segmentation fault. If the callback is called before the
thread starts executing, it all works fine. If I use a C program to setup
the callback and have the thread call the callback, it all works. Thus it
seems there is something going wrong with Perl.
The odd thing is that it crashes -before- it enters the private C function
that calls the Perl sub.
Are there any knows issues with Perl and external threads that I don't
know about, or does anyone know what I can do ?
- » proposal for new module -- Math::TriangularNumbers
- — Next thread in » PERL Modules Announcements