Mercury Bugs - mercury
View Issue Details
0000067mercuryBugpublic2008-07-08 16:142010-07-15 16:56
Reporterwangp 
Assigned Towangp 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000067: mprof doesn't like duplicate names
Descriptionmprof aborts on duplicate names in Prof.Decl. I get the following trying to profile the compiler. Manually differentiating the duplicate mercury__do_call_closure_* names allows mprof to proceed.

% mprof
Uncaught Mercury exception:
Software Error: map.det_insert: key already present
        Key Type: string
        Key Value: "mercury__do_call_closure_3"
        Value Type: int
Stack dump not available in this grade.
Additional InformationSample data attached.
TagsNo tags attached.
Attached Filesbz2 Prof.tar.bz2 (311,649) 2008-07-08 16:14
https://bugs.mercurylang.org/file_download.php?file_id=51&type=bug

There are no notes attached to this issue.

Issue History
2008-07-08 16:14wangpNew Issue
2008-07-08 16:14wangpFile Added: Prof.tar.bz2
2010-07-15 16:56wangpStatusnew => resolved
2010-07-15 16:56wangpResolutionopen => fixed
2010-07-15 16:56wangpAssigned To => wangp