Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#224] Word64.fromLargeInt fails

Date:
2019-07-08 11:54
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
Other
Component:
Compiler
Resolution:
Fixed
Severity:
Major
OS Version:
Win7(SP1)/x86-64
SML/NJ Version:
110.91
Keywords:
URL:
Transcript (of reproduction):
- Word64.fromLargeInt 1; unexpected exception (bug?) in SML/NJ: Representation [Representation] raised at: Basis/Implementation/Unsafe/target32-object.sml:201.17-201.31 ../compiler/MiscUtil/print/ppobj.sml:373.24 ../compiler/MiscUtil/print/ppobj.sml:373.24 ../compiler/MiscUtil/print/ppobj.sml:373.24 ../compiler/TopLevel/interact/evalloop.sml:45.54
Source (for reproduction):
Word64.fromLargeInt 1
Summary:
Word64.fromLargeInt fails

Detailed description
Word64.fromLargeInt fails. In REPL prints exception; as part of compiled project yields wrong value.
Additional comments:
Issue exists since 110.90

Submitted via web form by Daniel Siderits <daniel.siderits@logicdata.net>

Comments:

Message  ↓
Date: 2019-07-09 16:09
Sender: John Reppy

Fixed for 110.92. The problem was an incorrect record kind in infcnv.sml for the packed pair of 32-bit words; it should be RK_RAWBLOCK.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2019-07-09 16:09jhr
close_dateNone2019-07-09 16:09jhr
ResolutionNone2019-07-09 16:09jhr
assigned_tonone2019-07-08 13:58jhr
detailsWord64.fromLargeInt fails. In REPL prints exception; as part of compiled project yields wrong value. Additional comments: Issue exists since 110.90 Submitted via web form by Daniel Siderits <daniel.siderits@logicdata.net> 2019-07-08 13:58jhr
Transcript (of reproduction)- Word64.fromLargeInt 1; unexpected exception (bug?) in SML/NJ: Representation [Representation] raised at: Basis/Implementation/Unsafe/target32-object.sml:201.17-201.31 ../compiler/MiscUtil/print/ppobj.sml:373.24 ../compiler/MiscUtil/print/ppobj.sml:373.24 ../compiler/MiscUtil/print/ppobj.sml:373.24 ../compiler/TopLevel/interact/evalloop.sml:45.542019-07-08 13:58jhr