[movitz-devel] Re: Emacs on the metal

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Sat Jun 11 10:08:02 UTC 2005


Shawn Betts <sabetts at vcn.bc.ca> writes:

> I found a weird bug, too. I can't seem to create a trivial function
> to reproduce it though. basically, I have:
>
> (defun foo ()
>   (let (a)
>     (labels ((do1 ()
> 		  ;; do stuff and then
> 		  (when <stuff>
> 		    (setf a <a struct>)))
> 	     (do2 ()
> 		  ;; recursively call do2, do stuff, and then call..
> 		  (do1)))
>       (do2)
>       a)))
>
> and (foo) returns NIL instead of <a struct>. I'll keep looking into
> it for now..

If you can find the function as it was when the compiler failed, I can
look into this.

> I also go a vector-push extending error in some cases when calling
> format

This should be fixed now, with the new adjustable arrays. Btw. I had
format set up a target string of starting size 

  (+ (length control-string)
     (* 8 (count #\~ control-string)))

and anyone has a view on whether this is reasonable then please speak
up.

Otherwise it turned out that my work a couple of weeks ago with
threading (and segmentation) did various things that would cause weird
bugs to occur during GC and interrupts. This should also be fixed now.

-- 
Frode Vatvedt Fjeld




More information about the movitz-devel mailing list