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
The segmentation fault happens when assigning to kk - when executing kk := (fun () -> continue k ()). Even when I assign value which doesn't contain k(eg. (fun () -> ())) there is still segmentation fault:
radekm
changed the title
Segmentation fault when performing effect in continuation in different thread
Segmentation fault when assigning function with continuation to reference in different thread
Jun 13, 2015
radekm
changed the title
Segmentation fault when assigning function with continuation to reference in different thread
Segmentation fault when assigning function to reference in different thread
Jun 13, 2015
The following program
always ends with segmentation fault. The output is usually
It seems that the problem occurs when performingWhat helps is replacingYield
afterUnix.sleep 1
.Domain.spawn (fun () -> !kk ())
by!kk ()
.The text was updated successfully, but these errors were encountered: