Ticket #706 (closed defect: fixed)
out-of-bounds errors with SLOT-VECTORs
|Reported by:||Arthur||Owned by:|
I have run into this kind of problem many times with my EasyGui efforts, and thought it must be my own fault. But now I've come across it using the Search Files dialog, which is nothing to do with me. This kind of thing pops up in the AltConsole? window:
Error: Array index 5 out of bounds for #<SLOT-VECTOR [CCL::SLOT-VECTOR ==> CCL::GVECTOR ==> T] #x136DC716> .
While executing: (:INTERNAL GUI::doSearch:?|), in process Initial(0).
Type :POP to abort, :R for a list of available restarts. Type :? for other options.
It is not reliably repeatable.
fwiw, I have suspected that it is due to some race condition whereby instances of Cocoa subclasses get information enough added to them for some objc method to be dispatched, but the extra Lisp slots appropriate for the class have not yet been added. This is just a hunch, maybe helpful and maybe way off the mark.