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
Running directly from DrRacket produces no useful output, but if I compile it and run it I get a stack trace:
invalid memory reference. Some debugging context lost
context...:
.../private/arrow-higher-order.rkt:379:33
.../private/mrcanvas.rkt:128:4: with-gl-context method in canvas%
.../Sources/crash.rkt:18:4: on-paint method in my-canvas%
.../private/more-scheme.rkt:148:2: call-with-break-parameterization
.../unsafe/atomic.rkt:73:13
.../common/canvas-mixin.rkt:144:4: do-on-paint method in canvas-mixin
.../common/queue.rkt:436:6
.../common/queue.rkt:487:32
.../common/queue.rkt:639:3
internal error: attempt to deschedule the current thread in atomic mode
context...:
.../common/queue.rkt:639:3
I went in and modified mrcanvas.rkt to see where the error is coming from. It crashes when binding the let statement during the call to the get-gl-context method.
(send wx get-dc):#(struct:wrapper-object:dc% ...)
invalid memory reference. Some debugging context lost
context...:
.../private/arrow-higher-order.rkt:379:33
.../private/mrcanvas.rkt:128:4: with-gl-context method in canvas%
.../Sources/crash.rkt:18:4: on-paint method in my-canvas%
.../private/more-scheme.rkt:148:2: call-with-break-parameterization
.../unsafe/atomic.rkt:73:13
.../common/canvas-mixin.rkt:144:4: do-on-paint method in canvas-mixin
.../common/queue.rkt:436:6
.../common/queue.rkt:487:32
.../common/queue.rkt:639:3
internal error: attempt to deschedule the current thread in atomic mode
context...:
.../common/queue.rkt:639:3
Strangely enough, the program does not crash under Ubuntu when I run it as root. I wonder if it's some kind of X or Wayland permission issue, but why would it affect Racket specifically?
The text was updated successfully, but these errors were encountered:
This minimum OpenGL example causes a crash on Linux, Ubuntu and Gentoo:
Running directly from DrRacket produces no useful output, but if I compile it and run it I get a stack trace:
I went in and modified mrcanvas.rkt to see where the error is coming from. It crashes when binding the let statement during the call to the get-gl-context method.
This produces the output:
Strangely enough, the program does not crash under Ubuntu when I run it as root. I wonder if it's some kind of X or Wayland permission issue, but why would it affect Racket specifically?
The text was updated successfully, but these errors were encountered: