[Openmcl-devel] what is INVALID-MEMORY-OPERATION ?

박성민 byulparan at gmail.com
Mon Jul 4 16:47:56 UTC 2011


sorry. my english is pool~

Welcome to Clozure Common Lisp Version 1.7-dev-r14860M-trunk  (DarwinX8664)!
? (ccl::foreign-symbol-address "gettimeofday")
#<A Foreign Pointer #x7FFF83EE3644>
? (require :objc-support)
:OBJC-SUPPORT
("OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS"
 "OBJC-RUNTIME" "BRIDGE" "OBJC-SUPPORT")
? (ccl::foreign-symbol-address "gettimeofday")
> Error: Invalid memory operation.
> While executing: CCL::%SAFE-GET-PTR, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 > 

1 > (ccl::foreign-symbol-address "pthread_create")
#<A Foreign Pointer #x7FFF83F18EE1>
1 > (ccl::foreign-symbol-address "pthread_join")
> Error: Invalid memory operation.
> While executing: CCL::%SAFE-GET-PTR, in process Listener(6).
> Type cmd-. to abort, cmd-\ for a list of available restarts.
> Type :? for other options.



after loading "objc-bridge" or in IDE   ...... many(.....not all) C function & pointer access has
error signal [ Invalid memory operation ]. 

before loading "objc-bridge" ......all fine.

in  DarwinX8632 version ...all fine. and 1.6-r14468M  (DarwinX8664)! ..all fine.

is it bug?? ... 





More information about the Openmcl-devel mailing list