2024-11-23 19:14 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000058mercuryBugpublic2008-06-11 14:57
Reporterwangp 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
Product Version 
Target VersionFixed in Version 
Summary0000058: some bug compiling extras/xml
DescriptionI have not narrowed it down further but the sample program in extras/xml crashes if you build it with these lines in the Mmakefile:

EXTRA_MCFLAGS = --transitive-intermodule-optimisation
MCFLAGS-xml.parse = -O3


% (cd samples && ../tryit newsarticles.xml)

*** Mercury runtime: caught segmentation violation ***
cause: address not mapped to object
address involved: 0x76
This may have been caused by a stack overflow, due to unbounded recursion.
exiting from signal handler


If it helps, --no-optimise-reassign on xml.parse.m causes the bug to go away.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000104

wangp (developer)

I couldn't reproduce this on saturn with rotd-2008-06-03.
+Notes

-Issue History
Date Modified Username Field Change
2008-04-23 15:52 wangp New Issue
2008-06-11 14:57 wangp Note Added: 0000104
2008-06-11 14:57 wangp Status new => closed
2008-06-11 14:57 wangp Resolution open => unable to reproduce
+Issue History