gui icon indicating copy to clipboard operation
gui copied to clipboard

Conflict with glfw3 and label (SIGSEGV MAPERR inside GMP)

Open kstrafe opened this issue 7 years ago • 0 comments

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)

kstrafe avatar Nov 02 '18 07:11 kstrafe