Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamlnat crashes if a library is loaded and then an unknown symbol is entered #5126

Closed
vicuna opened this issue Aug 14, 2010 · 1 comment
Closed
Assignees

Comments

@vicuna
Copy link

vicuna commented Aug 14, 2010

Original bug ID: 5126
Reporter: kxenator
Assigned to: @alainfrisch
Status: resolved (set by @alainfrisch on 2012-09-06T17:14:25Z)
Resolution: suspended
Priority: normal
Severity: crash
Version: 3.12.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty

Bug description

After the start of ocamlnat if I enter an unknown symbol, everything
is OK:

foobar;;

Characters 0-6:
foobar;;
^^^^^^
Error: Unbound value foobar

Buf if I load some library, for example by the following code:

#load "nums.cmxa";;

include Num;;

a fatal error occurs and ocamlnat exits if I enter an unknown symbol:

foobar;;

Fatal error: exception Sys_error("caml_startup: No such file or
directory")
kxenator@linux:~>
For known symbols it works:

string_of_num (power_num (Int 10) (Int 10));;

  • : string = "10000000000"
@vicuna
Copy link
Author

vicuna commented Sep 6, 2012

Comment author: @alainfrisch

ocamlnat is not officially supported, and no core developer is motivated to work on it these days. We can integrate a contributed patch, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants