On Thu, Nov 25, 2010 at 07:47:39PM -0800, Chip Salzenberg wrote: > I've uncovered the string that's causing this problem. When the > attached string has the utf8 bit enabled and a regex is applied, Perl > dies with the above exception. Fortunately, utf8::valid() returns > false, so I have an easy way of avoiding this particular crash. But > it's still a Perl bug that should be fixed - assertion failures should > not result from applying a regex, even to an invalid utf8 string. It's not clear that *that* is the perl bug. At what point is perl allowed to start trusting its internal data structures? Isn't the bug that perl let someone create an invalid data structure? Nicholas ClarkThread Previous | Thread Next