[Sbcl-devel] #.(SB-SYS:INT-SAP #X00000000) fell through ETYPECASE expression_[Scanned]

30 views
Skip to first unread message

Ingo Bormuth

unread,
Jul 30, 2008, 11:49:53 AM7/30/08
to sbcl-...@lists.sourceforge.net
current sbcl fails with

#.(SB-SYS:INT-SAP #X00000000) fell through ETYPECASE expression.
Wanted one of (CHARACTER SYMBOL INTEGER).

whenever a cffi call uses a null-pointer which is defined as:

(declaim (inline null-pointer))
(defun null-pointer ()
"Construct and return a null pointer."
(sb-sys:int-sap 0))

The same code works find in sbcp-1.0.17 and clisp-2.46
but fails in sbcl-1.0.18 and 19 and todays git.

I looked around for a while but couldn't find the
blueprint. Does this ring a bell for anybody in here?

Thanks, Ingo.

--
Ingo Bormuth, voicebox & telefax: +49-(0)-12125-10226517
PGP public key 86326EC9 at http://ibormuth.efil.de/contact


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sbcl-devel mailing list
Sbcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

Paul Khuong

unread,
Aug 1, 2008, 1:16:36 PM8/1/08
to ibor...@efil.de, sbcl-...@lists.sourceforge.net
On 30-Jul-08, at 11:49 AM, Ingo Bormuth wrote:
> current sbcl fails with
>
> #.(SB-SYS:INT-SAP #X00000000) fell through ETYPECASE expression.
> Wanted one of (CHARACTER SYMBOL INTEGER).


Thanks for the report. Fixed as of 1.0.19.14.

Paul Khuong

Ingo Bormuth

unread,
Aug 1, 2008, 5:38:01 PM8/1/08
to Paul Khuong, sbcl-...@lists.sourceforge.net
On Fri, 2008-08-01 at 13:16 -0400, Paul Khuong wrote:
> Thanks for the report. Fixed as of 1.0.19.14.

Thank you very much for the quick fix
which, by the way, works as expected here!

Ingo


--
Ingo Bormuth, voicebox & telefax: +49-(0)-12125-10226517
PGP public key 86326EC9 at http://ibormuth.efil.de/contact

Reply all
Reply to author
Forward
0 new messages