I haven't gotten to my win32 machine yet, but been looking abit on the core dump. I
haven't tried newer perls on win32 so there might be a chance that some patch affects
things.
Wierd thing is we are freeing a interpreter, we should be cloning one, very wierd. Is
this a reliably core dump or happens at different times?
> Building Perl@11564 on Windows 2000 with Visual Studio 6 SP5 and
> compiling threads-0.03 gets a core dump on test.pl.
>
> C:\perl11564\bin\perl.exe -Iblib\arch -Iblib\lib test.pl
> 1..12
> ok 1
> ok 2 # skip The ignores are here to keep test numbers correct
> ok 3
> ok 3 # skip Ignore
> ok 4
> ok 4 # skip Ignore
> ok 5
> ok 5 # skip Ignore
> ok 6
> ok 7 # skip Ignore
> ok 7
> ok 8
> ok 9 # skip thread trees are unsafe under win32
> ok 10 # skip Ignore
>
> Here's a stack trace:
>
> VMem::Free(void * 0x0ef91a68) line 390 + 3 bytes
> CPerlHost::Free(void * 0x0ef91a68) line 66 + 34 bytes
> PerlMemFree(IPerlMem * 0x0ef910c4, void * 0x0ef91a68) line 276
> Perl_safesysfree(void * 0x0ef91a68) line 145 + 26 bytes
> perl_clone_using(interpreter * 0x0ddff004, unsigned long 4, IPerlMem *
> 0x0ef910c4, IPerlMem * 0x0ef910e0, IPerlMem * 0x0ef910fc, IPerlEnv *
> 0x0ef91118, IPerlStdIO * 0x0ef91150, IPerlLIO * 0x0ef911ec, IPerlDir *
> 0x0ef91254, IPerlSock * 0x0ef91280, IPerlProc * 0x0ef91330) line 10299 +
> 9 bytes
> perl_clone_host(interpreter * 0x0ddff004, unsigned long 4) line 416 +
> 103 bytes
> perl_clone(interpreter * 0x0ddff004, unsigned long 4) line 9562 + 13
> bytes
> thread_create(char * 0x0de0a62c, sv * 0x00000000, sv * 0x00000000) line
> 120 + 11 bytes
> XS_threads_create(interpreter * 0x0ddff004, cv * 0x0de479d0) line 320 +
> 32 bytes
> Perl_pp_entersub(interpreter * 0x0ddff004) line 2713 + 16 bytes
> Perl_runops_debug(interpreter * 0x0ddff004) line 53 + 13 bytes
> S_call_body(interpreter * 0x0ddff004, op * 0x0ef7ff38, int 0) line 1917
> + 13 bytes
> Perl_call_sv(interpreter * 0x0ddff004, sv * 0x0ddfdfb4, long 2) line
> 1796 + 15 bytes
> thread_run(void * 0x01ba6fe0) line 55 + 20 bytes
> KERNEL32! 77e8758a()
>
>