gui
gui copied to clipboard
Conflict with glfw3 and label (SIGSEGV MAPERR inside GMP)
The following results in SIGSEGV MAPERR si_code 1 fault on addr 0x10.
Changing the "B" label to an empty string or removing (send the-dialog show #t) prevents this crash.
glfw3 comes from the package repository and works fine on its own. So I'm wondering what causes this problem.
gdb: 0x00007ffff7a2d47c in scheme_gmp_tls_unload ()
from /usr/lib/libracket3m-7.0.so
#lang racket/gui
(require glfw3)
(glfwInit)
(define the-dialog
(new dialog% [label "A"]))
(new message%
[label "B"]
[parent the-dialog])
(send the-dialog show #t)