sb-sprof self-test fails with FLOATING-POINT-INEXACT error on darwin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
after building with lichtblau's recent changes (commit 2b29a7c2b236cfa
; SYS:CONTRIB;
; compilation finished in 0:00:00.938
* /Users/
unhandled FLOATING-
arithmetic error FLOATING-
0: (SB-DEBUG:
#<CLOSURE (LAMBDA # :IN BACKTRACE) {1002C934FB}>
:START
0
:COUNT
128)
1: (BACKTRACE 128 #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDERR* {1000174843}>)
2: (SB-DEBUG:
#<FLOATING-
#<unavailable argument>)
3: (SB-DEBUG::RUN-HOOK
*INVOKE-
#<FLOATING-
4: (INVOKE-DEBUGGER #<FLOATING-
5: (ERROR FLOATING-
6: (SB-VM:
#<unavailable argument>
#.(
#<unavailable argument>)
7: ((FLET #:WITHOUT-
8: ((FLET SB-THREAD::EXEC :IN SB-SYS:
9: ((FLET #:WITHOUT-
10: (SB-SYS:
#<CLOSURE (FLET SB-UNIX:
{11FE1EB}>)
11: (SB-SYS:
#<CLOSURE (FLET SB-UNIX:
12: ((FLET SB-UNIX:
8
#.
#.
13: ("foreign function: call_into_lisp")
14: ("foreign function: funcall3")
15: ("foreign function: interrupt_
16: ("foreign function: interrupt_
17: ("foreign function: _sigtramp")
to reproduce: make.sh
sbcl version: "1.1.2.35-2b29a7c"
(sly@orcia)
Darwin orcia 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 12:13:47 PDT 2012; root:xnu-
*features*
(:QUICKLISP :ASDF2 :ASDF :ASDF-UNICODE :ALIEN-CALLBACKS :ANSI-CL :BSD
:C-STACK-
:COMPLEX-
:GENCGC :IEEE-FLOATING-
:LITTLE-ENDIAN :MACH-EXCEPTION
:MULTIPLY-
:OS-PROVIDES-
:RAW-INSTANCE-
:SB-SOURCE-
:STACK-
:STACK-
:STACK-
:UNWIND-
tags: | added: sb-sprof |
First of all, mea culpa that I've pushed a test (and enabled it) as part of a different commit. The sprof stuff should have come first as a separate change.
As to the failure mode though:
If you copy&paste the (defun consing-test ...) into test.lisp, you should get a stand-alone test case that is basically independent of the SBCL version. Does that test.lisp, if compiled and loaded, also fail in an older SBCL on Darwin, e.g. 1.1.2?