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
From:
Chip Salzenberg
Date:
November 24, 2010 16:12
Subject:
"perl: utf8.c:1997: Perl_swash_fetch: Assertion `klen <=sizeof(PL_last_swash_key)' failed." [5.12.1]
Message ID:
AANLkTimSnu9945xGKyFuQYz8ssZzciiX821bg5X2UoDk@mail.gmail.com
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
principles.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About