develooper Front page | perl.perl5.porters | Postings from November 2010

"perl: utf8.c:1997: Perl_swash_fetch: Assertion `klen <=sizeof(PL_last_swash_key)' failed." [5.12.1]

Thread Next
Chip Salzenberg
November 24, 2010 16:12
"perl: utf8.c:1997: Perl_swash_fetch: Assertion `klen <=sizeof(PL_last_swash_key)' failed." [5.12.1]
Message ID:
I'm experimenting with some text scanning code against a very large corpus,
and I've got Perl 5.12.1 dying on this assertion failure:

   perl: utf8.c:1997: Perl_swash_fetch: Assertion `klen <=
sizeof(PL_last_swash_key)' failed.

I'm not at all familar with what swashes even are, let alone what they
precisely do; I know they're related to Unicode attributes, that's about it.
 Any clues out there?  I'm scanning through so many pages with such a highly
distributed program that I will have some difficulty identifying the
specific files that trigger it, but perhaps this can be fixed from first

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About