The next question is which versions of Perl, threads and Event are you using?
I just ran your script under AS811/5.8.6 with threads v1.05 and Event v1.09 and it completed without a segfault, and just a warning for a leaked scalar?
C:\test>619259.pl starting event loop in create_thread() before async() in create_thread() before join() in thread in create_thread() before return Scalars leaked: 1 C:\test>perl -v This is perl, v5.8.6 built for MSWin32-x86-multi-thread (with 3 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall Binary build 811 provided by ActiveState Corp. http://www.ActiveState. +com ActiveState is a division of Sophos. Built Dec 13 2004 09:52:01 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\test>perl -Mthreads -e"warn "$threads::VERSION" 1.05 at -e line 1. C:\test>perl -MEvent -e"warn "$Event::VERSION" 1.09 at -e line 1.
In reply to Re^3: Event module and threads/fork segfault on Win32
by BrowserUk
in thread Event module and threads/fork segfault on Win32
by gurbo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |