Think about Loose Coupling | |
PerlMonks |
Re: random crashes, memory corruption, warnings from Encodeby Athanasius (Archbishop) |
on Jan 14, 2013 at 08:44 UTC ( [id://1013168]=note: print w/replies, xml ) | Need Help?? |
Hello bulk88, I don’t have an answer for you, but I’ve found something that might possibly help. If I run your code as-is, I get a similar crash. Same if I change sub xs_edistance to:
However, if the subroutine arguments are copied:
the tests still fail, but there is no crash. Update: Should have mentioned, I’m running Strawberry Perl v5.16.0 built for MSWin32-x86-multi-thread-64int on 32-bit Vista; with Encode v2.47 (the latest version). Hope that helps,
In Section
Seekers of Perl Wisdom
|
|