id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
550	t/pmc/codestring.t failing	whiteknight		"I thought there was a ticket for this already, but on closer inspection I don't see one. I'm getting test failures in t/pmc/codestring.t. The code failing in question is:

{{{
$I0 = code.'charname_to_ord'('<no such symbol>')
is($I0, -1, '<no such symbol>')
}}}

So it's obviously something ICU-related. Backtrace shows that we're getting a SIGBUS error in Parrot_CodeString_nci_charname_to_ord. Here's the backtrace I get from GDB:

{{{
Program received signal SIGBUS, Bus error.
0x00007fde0d94e54c in u_charFromName_3_8 () from /usr/lib/libicuuc.so.38
(gdb) frame
#0  0x00007fde0d94e54c in u_charFromName_3_8 () from /usr/lib/libicuuc.so.38
(gdb) bt
#0  0x00007fde0d94e54c in u_charFromName_3_8 () from /usr/lib/libicuuc.so.38
#1  0x00007fde0e2a8099 in Parrot_CodeString_nci_charname_to_ord (
    interp=0x7f4080, pmc=0x9035c0) at ./src/pmc/codestring.pmc:247
#2  0x00007fde0e240f08 in Parrot_NCI_invoke (interp=0x7f4080, pmc=0x9035c0, 
    next=0x9a73c0) at ./src/pmc/nci.pmc:329
#3  0x00007fde0e094573 in Parrot_callmethodcc_p_sc (cur_opcode=0x9a73a8, 
    interp=0x7f4080) at src/ops/object.ops:80
#4  0x00007fde0e167b45 in runops_slow_core (interp=0x7f4080, pc=0x9a73a8)
    at src/runops_cores.c:461
#5  0x00007fde0e10f265 in runops_int (interp=0x7f4080, offset=0)
    at src/interpreter.c:982
#6  0x00007fde0e10fd6a in runops (interp=0x7f4080, offs=0)
    at src/call/ops.c:107
#7  0x00007fde0e110179 in runops_args (interp=0x7f4080, sub=0x8feb20, 
    obj=0x87d4f0, meth_unused=0x0, sig=0x7fde0e382e1b ""vP"", ap=0x7fff16939a70)
    at src/call/ops.c:255
#8  0x00007fde0e11154c in Parrot_runops_fromc_args (interp=0x7f4080, 
    sub=0x8feb20, sig=0x7fde0e382e1b ""vP"") at src/call/ops.c:324
#9  0x00007fde0e0eac6e in Parrot_runcode (interp=0x7f4080, argc=1, 
    argv=0x7fff16939d70) at src/embed.c:1012
#10 0x00007fde0e3576f4 in imcc_run_pbc (interp=0x7f4080, obj_file=0, 
    output_file=0x0, argc=1, argv=0x7fff16939d70) at compilers/imcc/main.c:800
#11 0x00007fde0e358391 in imcc_run (interp=0x7f4080, 
    sourcefile=0x7fff1693b6e0 ""t/pmc/codestring.t"", argc=1, 
    argv=0x7fff16939d70) at compilers/imcc/main.c:1091
#12 0x0000000000400bc4 in main (argc=1, argv=0x7fff16939d70) at src/main.c:61
}}}

"	bug	closed	normal		core	trunk	high	invalid	codestring pmc icu				linux
