This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
lablgtk's example segfaults #609
Labels
ecosystem/broken
bugs witnessed running software compiled with Multicore OCaml
Comments
How do you compile this? I get:
It looks like |
Merging #600 would fix this.
…On Wed 14 Jul 2021 at 18:31, Thomas Leonard ***@***.***> wrote:
How do you compile this? I get:
In file included from ml_gpointer.c:31:
ml_gpointer.c: In function ‘ml_stable_copy’:
wrappers.h:38:33: error: ‘caml_young_end’ undeclared (first use in this function)
38 | (Is_block(v) && (value*)(v) < caml_young_end && (value*)(v) > caml_young_start)
| ^~~~~~~~~~~~~~
It looks like caml_young_end was removed in merge a141bc6
<a141bc6>
(GitHub's UI doesn't show it, but gitk does).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#609 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABDVAKCIHMKTUMST7Q6PM3TXW3WJANCNFSM47XDPN5A>
.
|
Sorry indeed i was using +domains + #600, i forgot to mention |
I guess this bit won't work too well with multicore, right? (* naked pointers *)
type optstring
let raw_null = snd (Obj.magic Nativeint.zero)
let optstring : string option -> optstring =
function
None -> raw_null
| Some x -> Obj.magic x https://github.com/garrigue/lablgtk/blob/lablgtk3/src/gpointer.ml#L35 |
This is most likely one of culprit, yes ^^" |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using the following patch to make lablgtk compile: garrigue/lablgtk#129
Trying to run
examples/about.exe
results in the following gdb backtrace:The text was updated successfully, but these errors were encountered: