Mercury Bugs - mercury
View Issue Details
0000386mercuryBugpublic2015-06-29 01:372015-07-01 01:36
Reporterjuliensf 
Assigned Tojuliensf 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000386: rotd-2015-03-24 and following broken
Descriptionrotd-2015-03-24 and the following rotds break when installing from the source distribution.
During the install_grades step, compiling library/array.m to C results in:

Uncaught Mercury exception:
Software Error: map.lookup: key not found
        Key Type: term.var(parse_tree.prog_data.prog_var_type)
        Key Value: var(32)
        Value Type: ll_backend.var_locn.var_state

TagsNo tags attached.
Attached Files

Notes
(0000826)
juliensf   
2015-06-29 01:41   
This has been confirmed on x86_64 Linux (gcc 4.7 and 4.9) and x86_64 Darwin (gcc 4.9).
It occurs with both --no-smart-indexing and --smart-indexing.
(0000827)
juliensf   
2015-06-29 11:05   
Also, on x86_64 Darwin while building array.c in none.gc (Apple clang 600.0.56).
(0000828)
juliensf   
2015-06-29 11:46   
On i686 Darwin systems things are fine.
(0000829)
juliensf   
2015-06-29 15:25   
The problem was introduced in commit 6e3e60f.
https://github.com/Mercury-Language/mercury/commit/6e3e60fae083d9c216dfa4249fae0f3fee33ebd6
(0000830)
juliensf   
2015-07-01 01:36   
Fix in commit b915b25.

Issue History
2015-06-29 01:37juliensfNew Issue
2015-06-29 01:41juliensfNote Added: 0000826
2015-06-29 11:05juliensfNote Added: 0000827
2015-06-29 11:46juliensfNote Added: 0000828
2015-06-29 15:25juliensfNote Added: 0000829
2015-07-01 01:36juliensfNote Added: 0000830
2015-07-01 01:36juliensfStatusnew => resolved
2015-07-01 01:36juliensfResolutionopen => fixed
2015-07-01 01:36juliensfAssigned To => juliensf