Skip to content

Stack overflows while type checking programs with long chains of constructors #5368

@vicuna

Description

@vicuna

Original bug ID: 5368
Reporter: till
Assigned to: @garrigue
Status: closed (set by @gasche on 2011-12-13T09:35:19Z)
Resolution: not fixable
Priority: normal
Severity: crash
Version: 3.12.1
Category: ~DO NOT USE (was: OCaml general)

Bug description

Here's a quick script to generate a program with 100000 elements; on my current machine the compiler segfaults while trying to type check it:

cat > big_list.ml <<EOF
let big x = [
$(yes "true;" | head -n 100000)
]
EOF

(This bug was triggered on auto-generated code)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions