ETOOMUCHC

Posted on 2005-03-21 in Lisp
» 0 comments

Spot the bug! (From the SBCL debugger internals)

;; pointer
(and (logand val 1)
     ;; Check that the pointer is valid XXX Could do a better
     ;; job FIXME: eg by calling out to an is_valid_pointer
     ;; routine in the C runtime support code
     )

The bug caused the generation of invalid lispobjs under some very rare circumstances (and only on 64-bit SBCL), leading to failing GC assertions much further down the road. Even after isolating the problem to one function (which took a while) I couldn't spot the actual bug without adding copious amounts of debug output. ETOOMUCHC.

Next » Amsterdam (2005-04-26)
Previous » Behold! Immediate single floats! (2005-02-16)

Comments

Name
Message

As an antispam measure, you need to write a super-secret password below. Today's password is "xyzzy" (without the quotes).

Password

Formatting guidelines for comments: No tags, two newlines can be used for separating paragraphs, http://... is automatically turned into a link.