Steel Bank Common Lisp

bad assembly for CMPP[SD] and other x86 instructions with noise after the EA

Reported by Paul Khuong on 2011-07-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Medium
Unassigned

Bug Description

* (defun foo (x) (= #C(2.0 3.0) (the (complex single-float) x)))
FOO
* (foo #C(1.0 2.0))
CORRUPTION WARNING in SBCL pid 24208(tid 140737353934592):
Memory fault at 0 (pc=0x100304f85f, sp=0x7ffff6d67520)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
0] backtrace
0: (SB-SYS:MEMORY-FAULT-ERROR)
1: ("foreign function: call_into_lisp")
2: ("foreign function: post_signal_tramp")
3: (FOO :INVALID-VALUE-FOR-UNESCAPED-REGISTER-STORAGE)
4: (SB-INT:SIMPLE-EVAL-IN-LEXENV (FOO #C(1.0 2.0)) #<NULL-LEXENV>)
5: (EVAL (FOO #C(1.0 2.0)))

Reported by Eric Marsden on sbcl-devel

Paul Khuong (pvk) wrote :

Fixed in 9d2548c Correct RIP-relative offset for strange x86-64 instructions.

Changed in sbcl:
status: Confirmed → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers