Mercury Bugs - mercury
View Issue Details
0000058mercuryBugpublic2008-04-23 15:522008-06-11 14:57
Reporterwangp 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
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

Notes
(0000104)
wangp   
2008-06-11 14:57   
I couldn't reproduce this on saturn with rotd-2008-06-03.

Issue History
2008-04-23 15:52wangpNew Issue
2008-06-11 14:57wangpNote Added: 0000104
2008-06-11 14:57wangpStatusnew => closed
2008-06-11 14:57wangpResolutionopen => unable to reproduce