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

[#76] blastWrite crashes

Date:
2011-08-04 06:03
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
Other
Component:
SML/NJ Library
Resolution:
None
Severity:
Major
OS Version:
Windows 7
SML/NJ Version:
110.71
Keywords:
Unsafe operations
URL:
Transcript (of reproduction):
Source (for reproduction):
val y0 = {a=1,b=2.0,c=(5.3,4.5)}: {a:int, b:real, c:real*real}; val z = Unsafe.blastWrite y0; val y = Unsafe.blastRead z: {a:int, b:real, c:real*real};
Summary:
blastWrite crashes

Detailed description
I encounter a crash of the SML/NJ environment, if I try to
call Unsafe.blastRead to read a byte stream marshalled by
Unsafe.blastWrite.

Both Windows and Linux yeild the problem.
Windows: A pop-up menu appears.

Linux: I get the following messages:
Fatal error -- bogus fault not in ML: sig = 11, code = 0x46cafc, pc = 0x46cafc)
Submitted via web form by Masaya Saito saitohm@ism.ac.jp

Comments:

Message  ↓
Date: 2011-11-25 19:51
Sender: John Reppy

Fixed for 110.74.
[2011-11-25]

Date: 2011-11-25 18:29
Sender: John Reppy

Committed a fix for the segmentation fault, but the underlying problem with blastWrite remains.
[2011-11-25]

Attached Files:

Changes

Field Old Value Date By
status_idOpen2011-11-25 19:51jhr
assigned_tolarsberg2011-11-25 19:51jhr
close_date2011-11-25 19:512011-11-25 19:51jhr
assigned_tonone2011-08-09 20:32larsberg