|
From: Craig L. <cr...@ne...> - 2004-07-09 22:45:11
|
Oh, I hadn't noticed there was a thread here, too. Just for completeness, here's what I sent a little while ago to Dan, Tim, and the Squeak list. -------- Original Message -------- Subject: [FIX] simulator regression-testing, 2004-07-09 Date: Fri, 09 Jul 2004 15:16:44 -0700 From: Craig Latta <cr...@ne...> Organization: the NetJam project To: Dan Ingalls <Da...@Sq...>,tim Rowledge <ti...@su...> Newsgroups: gmane.comp.lang.smalltalk.squeak.general References: <B85...@ia...> <40E...@ne...> <601...@ia...> <40E...@ne...> <p05210605bd128cd87a05@[10.0.1.3]><40E...@ne...> <p05210608bd148420a934@[10.0.1.3]> Hi all-- I tried simulating a current snapshot (3.7b.5969) with several versions of the VMMaker package, in both MVC and Morphic. VMMaker 3.7b5 and 3.7b4 don't work because of bugs with the primitive function-pointer stuff that Tim added in April (apparently these changes were never tested under simulation?). VMMaker 3.7b2 yields a bizarre situation with Interpreter>>positive32BitValueOf: getting run when the top of the stack is a ReadStream instead of a number. VMMaker 3.6g2 and 3.7a2 are missing InterpreterSimulator>>primitiveGetAttribute, InterpreterSimulatorLSB>>halfWordAt: (but not InterpreterSimulatorMSB>>halfWordAt:, which is weird), and SequenceableCollection>>copyGrownBy:. VMMaker 3.7b1 has InterpreterSimulator>>primitiveGetAttribute, but is missing the other two things that VMMaker 3.6g2 and 3.7a2 are missing. After patching it (patch attached), it seems to start. The open issues first encountered are: - When simulating MVC, there's no simulation for FloatArrayPlugin, and hilarity ensues when the simulator tries to store an actual Float in the object memory bitmap. - When simulating Morphic, when trying to dispatch for "primitiveBrowserPluginReady", control goes to Interpreter>>findObsoleteNamedPrimitive:length: (instead of an override in InterpreterSimulator, as I would expect). The Slang code there attempts one of its famous "at: 0" expressions, then bang. I guess the simulation for that stuff has never been written. I've mostly been simulating 3.2 and 2.2 snapshots myself, with very pedestrian plugins or no plugins at all, so I hadn't encountered those issues. And I could have sworn the items in the attached patch had been in VMMaker for some time, sorry for assuming incorrectly in my previous message. Anyway, we seem to be in decent shape; the things that don't work seem to be things that have never worked. :) Happy hacking... I probably wouldn't get to the open issues myself for some time. I'm currently occupied with much weirder Squat stuff. But as usual, I would reprioritize if someone paid me. :) thanks, -C -- Craig Latta improvisational musical informaticist cr...@ne... www.netjam.org [|] Proceed for Truth! |