defvar and reboots

Shawn Betts <[email protected]> Sun, 29 May 2005 16:37:46 +0000
Newsgroups gmane.lisp.movitz.devel
Message-ID <[email protected]>
Hello,

I've found that in some cases defvar and defparameter cause movitz to
reboot upon loading. initializing the variable with nil a number seems
to work fine, but a cons or a function call causes a reboot. The
following causes a reboot:

(defvar *commands* (make-hash-table)
  "A hash table of commands")

I'm going to try to dig into it a bit, but I have a feeling it'll get
over my head pretty fast.

Is this a known problem? Is it easy to fix? :)

So far I've been able to rearrange my code to avoid the problem but my
code is such that this case is a bit difficult to get around.

-Shawn