# New Ticket Created by Dan Sugalski # Please include the string: [perl #31706] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31706 >
Something in parrot's letting strstart and bufstart get out of sync for some strings, which leads to a core dump. Snips from running gdb on the core: #1 0x08090fb4 in string_to_cstring (interpreter=0x829bd00, s=0x83c0584) at src/string.c:2768 2768 memcpy(p, s->strstart, s->bufused); (gdb) p s->strstart $2 = (void *) 0x404ab560 (gdb) p (char *)s->strstart $3 = 0x404ab560 <Address 0x404ab560 out of bounds> (gdb) p *s $4 = {obj = {u = {_b = {_bufstart = 0x84b6700, _buflen = 15}, _ptrs = {_struct_val = 0x84b6700, _pmc_val = 0xf}, _i = {_int_val = 139159296, _int_val2 = 15}, _num_val = 3.1898690691932138e-313, _string_val = 0x84b6700}, flags = 299264, _pobj_version = 0}, bufused = 12, strstart = 0x404ab560, strlen = 12, representation = enum_stringrep_one, hashval = 0} (gdb) p (char *)s.obj.u._b._bufstart $7 = 0x84b6700 ' ' <repeats 12 times> -- Dan --------------------------------------it's like this------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk