# New Ticket Created by  Will Coleda 
# Please include the string:  [perl #34661]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34661 >


Tripped over this while implementing unicode support for Tcl:

.sub main @MAIN
  $S0 = unicode:"\"]\nif I3 == "
.end

Generates:

encodings/utf8.c:277: failed assertion `i->bytepos < PObj_buflen(s) - 4'
Abort trap

This bug is pretty fragile. Removing the "\n" or the "if ", the program 
compiles fine. (Changing the \n to an n, however, does keep the error.)

Two things: 

1) The error itself.

2) The fact that the diagnostic shows up in encodings/utf8.c, rather than being 
caught and showing up on line 2 of my PIR code.




Reply via email to