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

[#106] Bad error message for ml-build when the target directory is missing

Date:
2012-09-23 19:01
Priority:
3
State:
Open
Submitted by:
Bug Submitter (webuser)
Assigned to:
Matthias Blume (blume)
Machine Architecture:
None
Operating System:
Generic Unix
Component:
CM
Resolution:
None
Severity:
Minor
OS Version:
any
SML/NJ Version:
110.74
Keywords:
ml-build SysErr
URL:
Transcript (of reproduction):
jhr@loki ml-build sources.cm Main.main .heap/out Standard ML of New Jersey v110.74 [built: Tue Jan 31 16:23:10 2012] [scanning sources.cm] [parsing (sources.cm):main.sml] [creating directory .cm/SKEL] [library $SMLNJ-BASIS/basis.cm is stable] [compiling (sources.cm):main.sml] [creating directory .cm/GUID] [creating directory .cm/x86-unix] [code: 188, env: 199 bytes] [scanning 6875-export.cm] [scanning (6875-export.cm):sources.cm] [parsing (6875-export.cm):6875-export.sml] [compiling (6875-export.cm):6875-export.sml] [code: 438, data: 38, env: 40 bytes] /usr/local/smlnj-110.74/bin/.run/run.x86-darwin: Fatal error -- Uncaught exception SysErr with unknown raised at export-fun.c
Source (for reproduction):
(* main.sml *) structure Main = struct fun main _ = OS.Process.success end (* sources.cm *) Library structure Main is $/basis.cm main.sml
Summary:
Bad error message for ml-build when the target directory is missing

Detailed description
ml-build fails with a poor error message when it is
unable to write out the heap image because of a missing
directory.

This error was originally reported to me by Alley Stoughton
in 2006, but got lost in my mailbox.
Additional comments:
Note that the .heap directory does not exist.


Submitted via web form by John Reppy jhr@cs.uchicago.edu

Comments:

No Comments Have Been Posted

Attached Files:

Changes

Field Old Value Date By
assigned_tonone2012-09-23 19:06jhr