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

Initialization of recursive module containing alias causes Segmentation fault #6578

Closed
vicuna opened this issue Sep 24, 2014 · 1 comment
Closed
Assignees
Milestone

Comments

@vicuna
Copy link

@vicuna vicuna commented Sep 24, 2014

Original bug ID: 6578
Reporter: @garrigue
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2016-12-07T10:34:53Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.0
Target version: 4.02.1+dev
Fixed in version: 4.02.1+dev
Category: standard library
Monitored by: @hcarty

Bug description

The following program causes a segmentation fault.

module M : sig val f : 'a -> 'a end
module rec R : sig module M = M end = struct module M = M end

@vicuna
Copy link
Author

@vicuna vicuna commented Sep 24, 2014

Comment author: @garrigue

Fixed in branch 4.02, revision 15325.
CamlinternalMod was doing too much work
(i.e. copying a lambda_unit, the wrong way)

@vicuna vicuna closed this as completed Dec 7, 2016
@vicuna vicuna added the stdlib label Mar 14, 2019
@vicuna vicuna added this to the 4.02.1 milestone Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
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