1 Mar 2007 04:20
[ clisp-Bugs-1659428 ] Invalid null pointer in a saved image
SourceForge.net <noreply <at> sourceforge.net>
2007-03-01 03:20:59 GMT
2007-03-01 03:20:59 GMT
Bugs item #1659428, was opened at 2007-02-13 17:38 Message generated for change (Settings changed) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1659428&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ffi Group: lisp error >Status: Closed Resolution: Invalid Priority: 5 Private: No Submitted By: Edgar Gonçalves (bramstocker) Assigned to: Sam Steingold (sds) Summary: Invalid null pointer in a saved image Initial Comment: When loading an image where a variable was set to a null foreign pointer, like: (defvar null-ptr (ffi:unsigned-foreign-address 0)) access to null-ptr returns an invalid foreign pointer, instead of valid (as it was before the image was saved and stopped). Here's a sample code that demonstrates this problem: ,----- | (asdf:operate 'asdf:load-op 'cffi) | (asdf:operate 'asdf:load-op 'cffi-uffi-compat) | (defvar my-null-ptr (ffi:unsigned-foreign-address 0)) | (format t "- Before loading image, null ptr is: ~A!~%" my-null-ptr) | (ext:saveinitmem "test.exe"(Continue reading)
RSS Feed