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: 1037 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Chris Quinn
Version: 2.99 - 3.04
OS: linux RH6.2
Submission from: 212.42.169.63 (212.42.169.63)
The runtime function sweep_slice() in major_gc.c contains an Assertion at line
256 (v3.04) that if a block is neither white nor blue, then it is black.
With the following function I can cause this not to be the case:
value testbug(value unit)
{
minor_collection(); /* corresponds to Gc.gc_minor() */
failwith("spurious error");
return Val_unit;
}
external testbug: unit -> unit = "testbug"
(* generate some garbage ..... *)
....
let _ = testbug()
Left uncaught the exception causes the assertion to fail.
I don't know whether this is symptomatic of a wider problem; perhaps it is an
anomaly which only manifests itself in this unrealistic test situation!
I'd certainly like to know one way or the other!!
The text was updated successfully, but these errors were encountered:
The runtime function sweep_slice() in major_gc.c contains an Assertion at
line
256 (v3.04) that if a block is neither white nor blue, then it is black.
With the following function I can cause this not to be the case:
[...]
Left uncaught the exception causes the assertion to fail.
I can't seem to reproduce this bug. Could you send me a complete program
that exhibits the problem ?
Also, you're not supposed to call minor_collection directly (it is not
declared in the user-side .h files).
I can't seem to reproduce this bug. Could you send me a complete program
that exhibits the problem ?
I wish I'd kept the trivial piece of code that sufficed!
Unfortunately I only have large bits left and I have not
as yet recreated a fragment that demonstrates the problem.
I will get back to you as soon as I can!
Original bug ID: 1037
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Chris Quinn
Version: 2.99 - 3.04
OS: linux RH6.2
Submission from: 212.42.169.63 (212.42.169.63)
The runtime function sweep_slice() in major_gc.c contains an Assertion at line
256 (v3.04) that if a block is neither white nor blue, then it is black.
With the following function I can cause this not to be the case:
value testbug(value unit)
{
minor_collection(); /* corresponds to Gc.gc_minor() */
failwith("spurious error");
return Val_unit;
}
external testbug: unit -> unit = "testbug"
(* generate some garbage ..... *)
....
let _ = testbug()
Left uncaught the exception causes the assertion to fail.
I don't know whether this is symptomatic of a wider problem; perhaps it is an
anomaly which only manifests itself in this unrealistic test situation!
I'd certainly like to know one way or the other!!
The text was updated successfully, but these errors were encountered: