close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#16 closed defect (fixed)

Read-time hash-table issue

Reported by: sionescu Owned by: somebody
Priority: major Milestone:
Component: Core Version: 19d
Keywords: Cc:

Description

LOADing a fasl produced when compiling a file that contains just

(cl:defparameter *ht* #.(cl:make-hash-table))

yields this error:

Error in KERNEL::UNBOUND-SYMBOL-ERROR-HANDLER: the variable LISP::TABLE is unbound.

[Condition of type UNBOUND-VARIABLE]

Backtrace:

0: ("Creation Form for #<HASH-TABLE :TEST EQL :WEAK-P NIL :COUNT 0 {58F5A68D}>")[:TOP-LEVEL] 1: (LISP::FOP-FUNCALL) 2: (LISP::LOAD-GROUP #<Stream for file "/home/hechee/tmp/a.x86f">) 3: (LISP::FASLOAD #<Stream for file "/home/hechee/tmp/a.x86f">) 4: (LISP::INTERNAL-LOAD #P"/home/hechee/tmp/a.x86f" #P"/home/hechee/tmp/a.x86f" :ERROR :BINARY) 5: (LISP::INTERNAL-LOAD #P"/home/hechee/tmp/a.x86f" #P"/home/hechee/tmp/a.x86f" :ERROR NIL) 6: (LOAD #P"/home/hechee/tmp/a.x86f" :VERBOSE NIL :PRINT ...)

The error is reproducible on 19d and 19e-pre2

Change History (4)

comment:1 Changed 17 years ago by Raymond Toy

Resolution: fixed
Status: newclosed

Fixed. There was a missing comma in the function that creates the load-form.

The fix will be available in the 2008-05 snapshot. If this is a critical bug for 19e, let us know. It's too late to get the fix into 19e, but we can supply a 19e patch.

comment:2 Changed 17 years ago by sionescu

It's not critical, but I maintain the cmucl port for Gentoo and I'd like to have the patch applied in our ebuild.

comment:3 Changed 17 years ago by Raymond Toy

Ok. I'll create the patch for 19e soon. It will be announced on the mailing lists when it's done.

comment:4 Changed 17 years ago by Raymond Toy

Patch available now.

Look for http://common-lisp.net/project/cmucl/downloads/release/19e/patches/cmucl-19e-patch-001.tar.gz

As usual, this should be asdf-installable, but you can just download the tarfile, extract it, and use asdf to load the patch.

Note: See TracTickets for help on using tickets.