Mercury Bugs - mercury
View Issue Details
0000202mercuryBugpublic2011-07-04 01:402011-07-11 14:20
Reporterjuliensf 
Assigned Tojuliensf 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000202: Test failures in profdeep grades
DescriptionThe following test cases are failing on goliath in the asm_fast.gc.profdeep grade:

FAILED TEST hard_coded/impl_def_literal in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/special_char in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_class in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_codepoint in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_first_char in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_presuffix in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_set_char in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_strip in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/string_sub_string_search in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/test_pretty_printer in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/unicode_test in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/utf8_io in grade asm_fast.gc.profdeep
FAILED TEST hard_coded/words_separator in grade asm_fast.gc.profdeep


Additional InformationThis is due to the following abort in the compiler when writing out the .c file:

Software Error: string.unsafe_index: illegal sequence
Stack dump not available in this grade.

In particular, it occurs when writing out the module strings for a module.
(At a guess, we aren't handling UTF-8 encoded strings correctly here.)
TagsNo tags attached.
Attached Files

Notes
(0000336)
juliensf   
2011-07-11 14:20   
Fix committed by Peter Wang.

Issue History
2011-07-04 01:40juliensfNew Issue
2011-07-11 14:20juliensfNote Added: 0000336
2011-07-11 14:20juliensfStatusnew => resolved
2011-07-11 14:20juliensfResolutionopen => fixed
2011-07-11 14:20juliensfAssigned To => juliensf