You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4062 Reporter:@yakobowski Status: closed (set by @damiendoligez on 2006-07-17T08:01:36Z) Resolution: fixed Priority: normal Severity: major Version: 3.09.2 Category: ~DO NOT USE (was: OCaml general) Duplicate of:#4039
Bug description
(my first real bug :-) )
Objective Caml version 3.09.2
let ch = open_out "essai" in close_out ch; close_out ch;;
Segmentation fault
Objective Caml version 3.10+dev8 (2006-06-26)
let ch = open_out "essai" in close_out ch; close_out ch;;
Segmentation fault
(This is an up-to-date cvs version, in which I've unmasked a function in
printf.mli. But I don't think the problem comes from this)
In the two cases above, if the segfault does not occur at once, calling
Gc.compact() and Gc.full_major() does. I've also gotten a signal 10 once.
Now comes the funny part :
Objective Caml version 3.10+dev1 (2005-10-26)
let ch = open_out "essai" in close_out ch; close_out ch;;
: unit = ()
Gc.compact();;
: unit = ()
Gc.full_major();;
: unit = ()
--
Boris
The text was updated successfully, but these errors were encountered:
Original bug ID: 4062
Reporter: @yakobowski
Status: closed (set by @damiendoligez on 2006-07-17T08:01:36Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.09.2
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #4039
Bug description
(my first real bug :-) )
let ch = open_out "essai" in close_out ch; close_out ch;;
Segmentation fault
let ch = open_out "essai" in close_out ch; close_out ch;;
Segmentation fault
(This is an up-to-date cvs version, in which I've unmasked a function in
printf.mli. But I don't think the problem comes from this)
In the two cases above, if the segfault does not occur at once, calling
Gc.compact() and Gc.full_major() does. I've also gotten a signal 10 once.
Now comes the funny part :
let ch = open_out "essai" in close_out ch; close_out ch;;
Gc.compact();;
Gc.full_major();;
--
Boris
The text was updated successfully, but these errors were encountered: