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

Bus error using doubly-linked, circular list with lazy evaluation #4141

Closed
vicuna opened this Issue Oct 25, 2006 · 2 comments

Comments

Projects
None yet
2 participants
@vicuna
Copy link
Collaborator

vicuna commented Oct 25, 2006

Original bug ID: 4141
Reporter: dbueno
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2006-11-17T15:35:23Z)
Resolution: fixed
Priority: normal
Severity: crash
Version: 3.09.3
Fixed in version: 3.09.4+dev / +rc
Category: ~DO NOT USE (was: OCaml general)
Related to: #5819
Monitored by: dbueno "Hendrik Tews"

Bug description

I get a "Bus error" when running a unit test on a doubly-linked
circular list (of length 2). I have 8 fields in a record which includes two left & right
pointers (not ref types).

I am running a PowerMac G5 2.5GHz (uname -a: Darwin ford.local 8.8.0
Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006;
root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc) and
ocaml 3.09.3.

Interestingly, if I remove a field (such as the mark field), the test
case succeeds.

File attachments

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Oct 25, 2006

Comment author: dbueno

Richard Jones confirmed a seg fault on OCaml 3.09.1, Linux/AMD64, on caml-list on 25 Oct, 2006.

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Oct 25, 2006

Comment author: dbueno

I should have given instructions on how to compile. Here they are:

ocamlc.opt -w FUE -I . -g -c ll_test.ml
ocamlc.opt -o ll_test -w FUE -I . -g ll_test.cmo

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.