Open tavurth opened 7 years ago
However, examples run without issue after declaring:
SBCL:
(sb-int:with-float-traps-masked (:invalid)
(cl-glfw3-examples:basic-window-example))
I also encountered this problem in Debian using SBCL version 1.4.16:
michael@debian:~$ uname -a
Linux debian 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux
* (cl-glfw3-examples:events-example)
debugger invoked on a FLOATING-POINT-INVALID-OPERATION in thread
#<THREAD "main thread" RUNNING {10005D05B3}>:
arithmetic error FLOATING-POINT-INVALID-OPERATION signalled
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [STOP ] Stop the task.
1: [ABORT] Exit debugger, returning to top level.
((FLET SB-UNIX::RUN-HANDLER :IN SB-SYS:ENABLE-INTERRUPT) 8 #.(SB-SYS:INT-SAP #X7F1F0D7C6330) #.(SB-SYS:INT-SAP #X7F1F0D7C6200))
0]
I just tested this in FreeBSD 12 running SBCL 2.0.3; the example works without giving any floating point errors.
I also updated SBCL in Debian to 2.0.7, but I'm still getting the same error above.