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

Fatal error in ocamlc with empty compilation unit name #7008

vicuna opened this issue Oct 6, 2015 · 1 comment


None yet
1 participant
Copy link

commented Oct 6, 2015

Original bug ID: 7008
Reporter: ckunz
Status: closed (set by @damiendoligez on 2015-10-19T13:02:00Z)
Resolution: fixed
Priority: normal
Severity: trivial
Version: 4.02.1
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)
Tags: junior_job
Monitored by: @gasche @hcarty

Bug description

Invoking the ocamlc compiler with filename ".ml" as parameter fails with a fatal error:

Fatal error: exception Invalid_argument("index out of bounds")
(Program not linked with -g, cannot print stack backtrace)

Steps to reproduce

touch .ml
ocamlc .ml


This comment has been minimized.

Copy link

commented Oct 19, 2015

Comment author: @damiendoligez

fixed in rev 16523

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.