2025-05-09 17:33 AEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000300mercuryBugpublic2014-01-07 14:55
Reporterpbone 
Assigned Topbone 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000300: Compiler crashes during LCMC optimisation
DescriptionThe compiler crashes with the following exception during LCMC optimisation. I will generate a test case later. This affects version 13.05.1 and is also reported to affect 13.05
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000568

pbone (administrator)

Oh, the exception was:

Software Error: hlds.instmap: predicate `hlds.instmap.merge_instmapping_delta_2'/9: Unexpected: merge_instmapping_delta_2: error merging var 21

Which isn't helpful without a test.

~0000570

pbone (administrator)

I can cause the compiler to crash using bug300.m and the following command:

mmc --java --optimize-constructor-last-call bug300

~0000571

pbone (administrator)

I've found the problem, LCMC wasn't processing from ground term scopes properly. I'll test this properly and post my changes for review shortly.

~0000593

pbone (administrator)

This has been fixed.
+Notes

-Issue History
Date Modified Username Field Change
2013-09-27 12:52 pbone New Issue
2013-09-27 12:52 pbone Status new => assigned
2013-09-27 12:52 pbone Assigned To => pbone
2013-09-27 12:58 pbone Note Added: 0000568
2013-09-30 20:15 pbone File Added: bug300.m
2013-09-30 20:19 pbone Note Added: 0000570
2013-09-30 20:54 pbone Note Added: 0000571
2014-01-07 14:55 pbone Note Added: 0000593
2014-01-07 14:55 pbone Status assigned => closed
2014-01-07 14:55 pbone Resolution open => fixed
+Issue History