Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
June 2010
- 97 participants
- 1142 messages
Re: [Pharo-project] Xtreme Pharo hacker needed :)
by Stéphane Ducasse
Hi eliot
this was used quite a lot for a lot of infrastructure. For example, persephone put ast that gets recompile on the fly.
so this is a nice MOP entry point.
Stef
On Jun 28, 2010, at 1:46 AM, Eliot Miranda wrote:
>
>
> 2010/6/27 Henrik Sperre Johansen <henrik.s.johansen(a)veloxit.no>
> On 27.06.2010 20:20, laurent laffont wrote:
>>
>> On Sun, Jun 27, 2010 at 7:11 PM, Alexandre Bergel <alexandre(a)bergel.eu> wrote:
>> > The problem is that I don't really know if the method I've changed has been actually "hit" by the tests. I just see that tests has been run. I don't know if my method has been called when running the tests.
>> >
>> > So I want to detect this.
>> >
>> > One way of doing this seems to use MethodContext>>runSimulated:contextAtEachStep:. I've found this looking at MessageTally. Is it the best solution ?
>>
>> If you know exactly which compiled method you are interested in, I would wrap it using a plain object that answers to #run:with:in:
>> This is a feature supported which is supported for quite some time by the VM.
>> Info on http://www.iam.unibe.ch/~scg/Archive/Papers/Bergel06bRDLPrototyping.pdf , Section 2.2
>>
>> Thank you, it's cool to learn so sexy stuff :) Should be in Pharo book.
>>
>> Laurent
> Note: The Cog VM crashes on TestObjectsAsMethods.
>
> Yes. I never tried to get this to work. How important is this to people?
>
> best
> Eliot
>
>
> Cheers,
> Henry
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
June 28, 2010
Re: [Pharo-project] [squeak-dev] Re: Xtreme Pharo hacker needed :)
by Lukas Renggli
>> Note: The Cog VM crashes on TestObjectsAsMethods.
>
> Yes. Â I never tried to get this to work. Â How important is this to people?
It is quite important. Most prominently it is used in the test runner
to calculate test coverage. Also the Method Wrappers of the
refactoring engine use it and various research projects (Persephone,
Reflectivity, ...) use it.
Lukas
--
Lukas Renggli
www.lukas-renggli.ch
June 28, 2010
Re: [Pharo-project] [Vm-dev] Squeak 4.1 VM crash
by Eliot Miranda
Hi Rob, Hi All,
this is a case of Cog's not yet supporting objects as methods.
TestCoverage uses the objects as methods support and this hasn't been
implemented in Cog because we've not used it at Teleplace. For the
moment... don't do that ;)
cheers
Eliot
On Sun, Jun 27, 2010 at 5:24 PM, Rob Withers <reefedjib(a)yahoo.com> wrote:
>
> Eliot,
>
> Sorry, I mixed the Squeak VM case with the Cog VM case and left out the
> image I used for the Cog VM. This is happening in both. Ignoring the
> Squeak VM...
>
>
> Cog VM:
> I build the Cog Vm today from VMMaker-oscog.17.mcz. This is from your
> tarball plus I did a svn check-out. I used your image from the image
> directory from the tarball. I ran it in Cog VM and saved it. I loaded
> Cryptography-cmm.13.mcz loaded from
> http://www.squeaksource.com/Cryptography repository and saved it. Then I
> ran tests. (I believe your image came with
> NecessaryImageChangesForCogToWork.1.cs already loaded)
>
>
> 1. Select a test case from Cryptography-Tests
> 2. Click 'run coverage'
> 3. select Cryptography package
> 4. BOOM!
>
> AND
>
>
> 1. Select StackInterpreterTests from VMMaker-Tests
> 2. Click 'run coverage'
> 3. select VMMaker package
> 4. BOOM!
>
> AND
>
>
> 1. Select UPackageTestCase from Universes-Tests
> 2. Click 'run coverage'
> 3. select Universes package
> 4. BOOM!
>
> HTH,
> Rob
>
>
>
> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
> *Sent:* Sunday, June 27, 2010 8:20 PM
> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>
> ------------------------------
>
>
>
> On Sun, Jun 27, 2010 at 5:07 PM, Rob Withers <reefedjib(a)yahoo.com> wrote:
>
>>
>> Hi Eliot,
>>
>> Squeak V4.1:
>> This is happening in base Squeak V4.1, that I downloaded from squeak.org,
>> I believe.
>>
>
> OK, you at least need to file-in NecessaryImageChangesForCogToWork.1.cs,
> i.e.
> http://www.squeakvm.org/svn/squeak/branches/Cog/image/NecessaryImageChanges…
>
> cheers,
> Eliot
>
> It is using the stock Squeak4.1.image with Cryptography-cmm.13.mcz loaded
>> from http://www.squeaksource.com/Cryptography repository.
>>
>> 1. Select a test case from Cryptography-Tests
>> 2. Click 'run coverage'
>> 3. select Cryptography package
>> 4. BOOM!
>>
>> Cog VM:
>> I build the Cog Vm today from VMMaker-oscog.17.mcz. This is from your
>> tarball plus I did a svn check-out. It is with Cryptography-cmm.13.mcz
>> loaded from http://www.squeaksource.com/Cryptography repository.
>>
>>
>> 1. Select a test case from Cryptography-Tests
>> 2. Click 'run coverage'
>> 3. select Cryptography package
>> 4. BOOM!
>>
>> AND
>>
>>
>> 1. Select StackInterpreterTests from VMMaker-Tests
>> 2. Click 'run coverage'
>> 3. select VMMaker package
>> 4. BOOM!
>>
>> AND
>>
>>
>> 1. Select UPackageTestCase from Universes-Tests
>> 2. Click 'run coverage'
>> 3. select Universes package
>> 4. BOOM!
>>
>> I hope this helps,
>> Rob
>>
>>
>>
>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>> *Sent:* Sunday, June 27, 2010 7:44 PM
>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>
>> ------------------------------
>>
>> Hi Rob,
>>
>> is this in base 4.1 with Cog patches or in an updated image or what
>> exactly? Also what's the minimum set of tests I need to select to see the
>> crash?
>>
>> TIA
>> Eliot
>>
>> On Sun, Jun 27, 2010 at 12:36 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>
>>>
>>> Thanks again, Eliot.
>>>
>>> The whole point of this was to test the crash scenario I have been able
>>> to reproduce in Squeak v4.1 and Cog.v17. It is still happening. It is
>>> specifically when running test coverage in the TestRunner tool. It is not
>>> just Crypto, it is happening with VMMaker-Tests as well. Here is the last
>>> crash.dmp I got from Cog.
>>>
>>> Regards,
>>> Rob
>>>
>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>> *Sent:* Sunday, June 27, 2010 1:15 PM
>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>
>>> ------------------------------
>>>
>>> OK, then (I presume) either add . to your path or change the makefile to
>>> specify ./eitheror.exe
>>>
>>> On Sun, Jun 27, 2010 at 6:43 AM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>
>>>>
>>>> Eliot,
>>>>
>>>> Same issue. I have an eitheror.exe in my cygwinbuild directory. Here
>>>> is the stdout output:
>>>>
>>>> Robert@Quotar /cygdrive/c/Cog/cygwinbuild
>>>> $ make init
>>>> Makefile:281: warning: overriding commands for target `Croquet.res'
>>>> Makefile:263: warning: ignoring old commands for target `Croquet.res'
>>>> make: Nothing to be done for `init'.
>>>>
>>>> Robert@Quotar /cygdrive/c/Cog/cygwinbuild
>>>> $ make ./eitheror.exe
>>>> Makefile:281: warning: overriding commands for target `Croquet.res'
>>>> Makefile:263: warning: ignoring old commands for target `Croquet.res'
>>>> make: `eitheror.exe' is up to date.
>>>>
>>>> Robert@Quotar /cygdrive/c/Cog/cygwinbuild
>>>> $ make eitheror.exe
>>>> Makefile:281: warning: overriding commands for target `Croquet.res'
>>>> Makefile:263: warning: ignoring old commands for target `Croquet.res'
>>>> make: `eitheror.exe' is up to date.
>>>>
>>>> Robert@Quotar /cygdrive/c/Cog/cygwinbuild
>>>> $ make
>>>> Makefile:281: warning: overriding commands for target `Croquet.res'
>>>> Makefile:263: warning: ignoring old commands for target `Croquet.res'
>>>> ---------------- Makefile settings ------------------
>>>> VPATH=../src/vm ../platforms/win32/vm ../platforms/Cross/vm
>>>> INCLUDES=-I. -I../src/vm -I../platforms/win32/vm -I../platforms/Cross/vm
>>>> -I../pl
>>>> atforms/win32/third-party/dx9sdk/Include
>>>> CFLAGS=-isystem/usr/include/mingw -I/usr/include/w32api -msse2 -ggdb2
>>>> -mwindows
>>>> -mno-cygwin -mwin32 -mno-rtd -mms-bitfields
>>>> -mno-accumulate-outgoing-args -D_MT
>>>> -O2 -march=pentium4 -momit-leaf-frame-pointer -funroll-loops
>>>> -fno-builtin-printf
>>>> -fno-builtin-putchar -fno-builtin-fprintf
>>>> INTERNAL_PLUGINS=ADPCMCodecPlugin AsynchFilePlugin B3DAcceleratorPlugin
>>>> B2DPlugi
>>>> n BitBltPlugin BMPReadWriterPlugin CroquetPlugin ZipPlugin DropPlugin
>>>> DSAPrims F
>>>> FTPlugin FilePlugin FloatArrayPlugin FloatMathPlugin HostWindowPlugin
>>>> IA32ABI Jo
>>>> ystickTabletPlugin JPEGReaderPlugin JPEGReadWriter2Plugin Klatt
>>>> LargeIntegers Lo
>>>> calePlugin Matrix2x3Plugin MIDIPlugin MiscPrimitivePlugin Mpeg3Plugin
>>>> RePlugin S
>>>> ecurityPlugin SerialPlugin SocketPlugin SoundCodecPrims
>>>> SoundGenerationPlugin St
>>>> arSqueakPlugin SurfacePlugin UUIDPlugin
>>>> EXTERNAL_PLUGINS=SqueakFFIPrims Win32OSProcessPlugin
>>>> LIBS=./build/vm/ADPCMCodecPlugin.lib ./build/vm/AsynchFilePlugin.lib
>>>> ./build/vm/
>>>> B3DAcceleratorPlugin.lib ./build/vm/B2DPlugin.lib
>>>> ./build/vm/BitBltPlugin.lib ./
>>>> build/vm/BMPReadWriterPlugin.lib ./build/vm/CroquetPlugin.lib
>>>> ./build/vm/ZipPlug
>>>> in.lib ./build/vm/DropPlugin.lib ./build/vm/DSAPrims.lib
>>>> ./build/vm/FFTPlugin.li
>>>> b ./build/vm/FilePlugin.lib ./build/vm/FloatArrayPlugin.lib
>>>> ./build/vm/FloatMath
>>>> Plugin.lib ./build/vm/HostWindowPlugin.lib ./build/vm/IA32ABI.lib
>>>> ./build/vm/Joy
>>>> stickTabletPlugin.lib ./build/vm/JPEGReaderPlugin.lib
>>>> ./build/vm/JPEGReadWriter2
>>>> Plugin.lib ./build/vm/Klatt.lib ./build/vm/LargeIntegers.lib
>>>> ./build/vm/LocalePl
>>>> ugin.lib ./build/vm/Matrix2x3Plugin.lib ./build/vm/MIDIPlugin.lib
>>>> ./build/vm/Mis
>>>> cPrimitivePlugin.lib ./build/vm/Mpeg3Plugin.lib ./build/vm/RePlugin.lib
>>>> ./build/
>>>> vm/SecurityPlugin.lib ./build/vm/SerialPlugin.lib
>>>> ./build/vm/SocketPlugin.lib ./
>>>> build/vm/SoundCodecPrims.lib ./build/vm/SoundGenerationPlugin.lib
>>>> ./build/vm/Sta
>>>> rSqueakPlugin.lib ./build/vm/SurfacePlugin.lib ./build/vm/UUIDPlugin.lib
>>>> DLLS=./build/vm/SqueakFFIPrims.dll ./build/vm/Win32OSProcessPlugin.dll
>>>> -----------------------------------------------------
>>>> make: eitheror.exe: Command not found
>>>> mkdir: cannot create directory `./build/ADPCMCodecPlugin': File exists
>>>> make: [build/vm/ADPCMCodecPlugin.lib] Error 1 (ignored)
>>>> make -C ./build/ADPCMCodecPlugin \
>>>> -f../../ \
>>>> PLATDIR=../../../platforms SRCDIR=../../../src
>>>> BASEDIR=../../. \
>>>>
>>>> LIBNAME=ADPCMCodecPlugin XDEFS=-DSQUEAK_BUILTIN_PLUGIN \
>>>> ../.././build/vm/ADPCMCodecPlugin.lib
>>>> make[1]: Entering directory
>>>> `/cygdrive/c/Cog/cygwinbuild/build/ADPCMCodecPlugin'
>>>>
>>>> make[1]: *** ../../: Is a directory. Stop.
>>>> make[1]: Leaving directory
>>>> `/cygdrive/c/Cog/cygwinbuild/build/ADPCMCodecPlugin'
>>>> make: *** [build/vm/ADPCMCodecPlugin.lib] Error 2
>>>>
>>>> Rob
>>>>
>>>>
>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>> *Sent:* Sunday, June 27, 2010 8:57 AM
>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>
>>>> ------------------------------
>>>>
>>>> Hi Rob,
>>>>
>>>> eitheror.exe is made by the makefile. You could try any of
>>>>
>>>> make eitheror.exe
>>>> make ./eitheror.exe
>>>> make init
>>>>
>>>> or
>>>>
>>>> rm -rf build
>>>> make
>>>>
>>>> HTH
>>>> Eliot
>>>>
>>>> On Sat, Jun 26, 2010 at 9:44 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>>
>>>>>
>>>>> Hey Eliot,
>>>>>
>>>>> Cool. I got it and made more progress. Thanks! Here is the latest
>>>>> errors:
>>>>>
>>>>> gcc -o build/vm/sqVirtualMachine.o -isystem/usr/include/mingw
>>>>> -I/usr/include/w32
>>>>> api -msse2 -ggdb2 -mwindows -mno-cygwin -mwin32 -mno-rtd -mms-bitfields
>>>>> -mno-acc
>>>>> umulate-outgoing-args -D_MT -O2 -march=pentium4
>>>>> -momit-leaf-frame-pointer -funro
>>>>> ll-loops -fno-builtin-printf -fno-builtin-putchar -fno-builtin-fprintf
>>>>> -I. -I../
>>>>> src/vm -I../platforms/win32/vm -I../platforms/Cross/vm
>>>>> -I../platforms/win32/thir
>>>>> d-party/dx9sdk/Include -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -DWIN32
>>>>> -DWIN32_FI
>>>>> LE_SUPPORT -DNO_ISNAN -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG
>>>>> -DLSB_FIRST -D
>>>>> VM_NAME=\"Croquet\" -DX86 -DCROQUET -c
>>>>> ../platforms/Cross/vm/sqVirtualMachine.c
>>>>>
>>>>> make: eitheror.exe: Command not found
>>>>> mkdir: cannot create directory `./build/ADPCMCodecPlugin': File exists
>>>>> make: [build/vm/ADPCMCodecPlugin.lib] Error 1 (ignored)
>>>>> make -C ./build/ADPCMCodecPlugin \
>>>>> -f../../ \
>>>>> PLATDIR=../../../platforms SRCDIR=../../../src
>>>>> BASEDIR=../../. \
>>>>>
>>>>> LIBNAME=ADPCMCodecPlugin XDEFS=-DSQUEAK_BUILTIN_PLUGIN
>>>>> \
>>>>> ../.././build/vm/ADPCMCodecPlugin.lib
>>>>> make[1]: Entering directory
>>>>> `/cygdrive/c/Cog/cygwinbuild/build/ADPCMCodecPlugin'
>>>>>
>>>>> make[1]: *** ../../: Is a directory. Stop.
>>>>> make[1]: Leaving directory
>>>>> `/cygdrive/c/Cog/cygwinbuild/build/ADPCMCodecPlugin'
>>>>> make: *** [build/vm/ADPCMCodecPlugin.lib] Error 2
>>>>>
>>>>> Cheers,
>>>>> Rob
>>>>>
>>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>>> *Sent:* Sunday, June 27, 2010 12:29 AM
>>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>>
>>>>> ------------------------------
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Jun 26, 2010 at 8:23 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>>>
>>>>>>
>>>>>> Eliot,
>>>>>>
>>>>>> I am totally lost and quite annoyed at Microsoft at the moment.
>>>>>>
>>>>>> I have dx7sdk, which I believe came from the WinTools (MingW) for
>>>>>> building squeak on windows. This is "installed" on C:\dx7sdk. I do not
>>>>>> believe there are any references to it in the environment variables. It is
>>>>>> just 2 directories of files: include and lib. Somehow the MingW tools knew
>>>>>> about it when building squeak on windows.
>>>>>>
>>>>>
>>>>> OK, but the Teleplace/Cog build on cygwin doesn't use c:\dx7sdk. It
>>>>> uses platforms/win32/third-party/dx9sdk. I've just added that to the Cog
>>>>> branch and if you update it should appear and the make should work. Here's
>>>>> the command that failed before:
>>>>>
>>>>> gcc -o build/vm/gcc3x-cointerp.o -isystem/usr/include/mingw
>>>>> -I/usr/include/w32api -msse2 -ggdb2 -mwindows -mno-cygwin -mwin32
>>>>> -mno-rtd -mms-bitfields -mno-accumulate-outgoing-args -D_MT -O2
>>>>> -march=pentium4 -momit-leaf-frame-pointer -funroll-loops -fno-builtin-printf
>>>>> -fno-builtin-putchar -fno-builtin-fprintf -I. -I../src/vm
>>>>> -I../platforms/win32/vm -I../platforms/Cross/vm
>>>>> -I../platforms/win32/third-party/dx9sdk/Include -D_WIN32_WINNT=0x0501
>>>>> -DWINVER=0x0501 -DWIN32 -DWIN32_FILE_SUPPORT -DNO_ISNAN -DNO_SERVICE
>>>>> -DNO_STD_FILE_SUPPORT -DNDEBUG -DLSB_FIRST -DVM_NAME=\"Croquet\"
>>>>> -DX86 -DCROQUET -c ../src/vm/gcc3x-cointerp.c
>>>>>
>>>>> Notice the -I../platforms/Cross/vm
>>>>> -I../platforms/win32/third-party/dx9sdk/Include
>>>>>
>>>>> It was my mistake that I omitted this from the tarball and the Cog
>>>>> branch. Apologies. But is is there now. So update (or if you haven't
>>>>> already check-out http://www.squeakvm.org/svn/squeak/branches/Cog) and
>>>>> you should make more progress.
>>>>>
>>>>> HTH
>>>>> Eliot
>>>>>
>>>>>
>>>>>> Cygwin knows nothing about these files. Now that I am doing a 'make'
>>>>>> with cygwin, I think I need to somehow tell it about the includes and the
>>>>>> libs.
>>>>>>
>>>>>> I tried updating Cog with 'svn' but it just grabbed the HowToBuild.
>>>>>> No other changes. I am unclear what you mean: "Turns out @ Teleplace
>>>>>> we include the dx9sdk. So I've added this to the Cog branch. You should
>>>>>> just need to update and build".
>>>>>>
>>>>>> I thought to grab dx9sdk thinking is was already setup for this in
>>>>>> Cog. I tried to find it, and even attempted to d/l a Delphi dx9sdk, which
>>>>>> looked all wrong. I ended up going to the borg and d/led their zip. It
>>>>>> was 225MB!!! It dropped like a big hairy turd on my hard drive and I
>>>>>> unzipped it and ran setup, thinking that maybe that will setup some
>>>>>> environment variables of interest.
>>>>>>
>>>>>> Went back to a new cygwin bash shell and tried make. Same result.
>>>>>>
>>>>>> What should I do?
>>>>>>
>>>>>> Thanks,
>>>>>> Rob
>>>>>>
>>>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>>>> *Sent:* Saturday, June 26, 2010 10:49 PM
>>>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>>>
>>>>>> ------------------------------
>>>>>>
>>>>>> Hi Rob,
>>>>>>
>>>>>> that'll teach me to check-in without doing a test build. Turns
>>>>>> out @ Teleplace we include the dx9sdk. So I've added this to the Cog
>>>>>> branch. You should just need to update and build.
>>>>>>
>>>>>> cheers
>>>>>> Eliot
>>>>>>
>>>>>> On Sat, Jun 26, 2010 at 7:20 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>>>>
>>>>>>>
>>>>>>> Hey Eliot,
>>>>>>>
>>>>>>> I have this in C:\dx7sdk. Do I need to include its path or something
>>>>>>> in cygwin or the gcc call?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Rob
>>>>>>>
>>>>>>> ----
>>>>>>> The Modern Whig Party of Virginia - http://vawhigs.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>>>>> *Sent:* Saturday, June 26, 2010 10:18 PM
>>>>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>>>>
>>>>>>> ------------------------------
>>>>>>>
>>>>>>> Hi Rob,
>>>>>>>
>>>>>>> you need to install the dx7 sdk, e.g. from
>>>>>>> http://www.brothersoft.com/games/directx-7.html. Build instructions
>>>>>>> updated accordingly.
>>>>>>>
>>>>>>> cheers
>>>>>>> Eliot
>>>>>>>
>>>>>>> On Sat, Jun 26, 2010 at 7:02 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hey Eliot,
>>>>>>>>
>>>>>>>> A little progress, followed by another issue. I did have gnutools
>>>>>>>> installed. Removed it and fixed the PATH. Tried make. Unknown. It turns
>>>>>>>> out cygwin does NOT install make and gcc by default. Went through the setup
>>>>>>>> and hand selected make and gcc to be installed.
>>>>>>>>
>>>>>>>> Now I can make. It started churning files. I got this error:
>>>>>>>>
>>>>>>>> gcc -o build/vm/sqWin32DirectInput.o -isystem/usr/include/mingw
>>>>>>>> -I/usr/include/w
>>>>>>>> 32api -msse2 -ggdb2 -mwindows -mno-cygwin -mwin32 -mno-rtd
>>>>>>>> -mms-bitfields -mno-a
>>>>>>>> ccumulate-outgoing-args -D_MT -O2 -march=pentium4
>>>>>>>> -momit-leaf-frame-pointer -fun
>>>>>>>> roll-loops -fno-builtin-printf -fno-builtin-putchar
>>>>>>>> -fno-builtin-fprintf -I. -I.
>>>>>>>> ./src/vm -I../platforms/win32/vm -I../platforms/Cross/vm
>>>>>>>> -I../platforms/win32/th
>>>>>>>> ird-party/dx9sdk/Include -D_WIN32_WINNT=0x0501 -DWINVER=0x0501
>>>>>>>> -DWIN32 -DWIN32_
>>>>>>>> FILE_SUPPORT -DNO_ISNAN -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG
>>>>>>>> -DLSB_FIRST
>>>>>>>> -DVM_NAME=\"Croquet\" -DX86 -DCROQUET -c
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInp
>>>>>>>> ut.c
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:31:1: warning:
>>>>>>>> "HMONITOR_DECLARED" re
>>>>>>>> defined
>>>>>>>> In file included from
>>>>>>>> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32
>>>>>>>> api/windows.h:48,
>>>>>>>> from ../platforms/win32/vm/sqWin32DirectInput.c:27:
>>>>>>>> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/windef.h:283:1:
>>>>>>>> wa
>>>>>>>> rning: this is the location of the previous definition
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:35:20: dinput.h: No such
>>>>>>>> file or dire
>>>>>>>> ctory
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:45: error: parse error
>>>>>>>> before '*' tok
>>>>>>>> en
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:45: warning: data
>>>>>>>> definition has no t
>>>>>>>> ype or storage class
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:46: error: parse error
>>>>>>>> before '*' tok
>>>>>>>> en
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:46: warning: data
>>>>>>>> definition has no t
>>>>>>>> ype or storage class
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c: In function
>>>>>>>> `InitDirectInput':
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:57: error: `DIPROPDWORD'
>>>>>>>> undeclared (
>>>>>>>> first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:57: error: (Each
>>>>>>>> undeclared identifie
>>>>>>>> r is reported only once
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:57: error: for each
>>>>>>>> function it appea
>>>>>>>> rs in.)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:57: error: parse error
>>>>>>>> before "propWo
>>>>>>>> rd"
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:64: error: request for
>>>>>>>> member `lpVtbl
>>>>>>>> ' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:64: error:
>>>>>>>> `GUID_SysMouse' undeclared
>>>>>>>> (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:68: error: request for
>>>>>>>> member `lpVtbl
>>>>>>>> ' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:68: error: `c_dfDIMouse'
>>>>>>>> undeclared (
>>>>>>>> first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:72: error: request for
>>>>>>>> member `lpVtbl
>>>>>>>> ' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:74: error:
>>>>>>>> `DISCL_NONEXCLUSIVE' undec
>>>>>>>> lared (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:75: error:
>>>>>>>> `DISCL_BACKGROUND' undecla
>>>>>>>> red (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:79: error: `propWord'
>>>>>>>> undeclared (fir
>>>>>>>> st use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:80: error: `DIPROPHEADER'
>>>>>>>> undeclared
>>>>>>>> (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:82: error: `DIPH_DEVICE'
>>>>>>>> undeclared (
>>>>>>>> first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:85: error: request for
>>>>>>>> member `lpVtbl
>>>>>>>> ' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:85: error:
>>>>>>>> `DIPROP_BUFFERSIZE' undecl
>>>>>>>> ared (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:89: error: request for
>>>>>>>> member `lpVtbl
>>>>>>>> ' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c: In function
>>>>>>>> `FreeDirectInput':
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:97: error: request for
>>>>>>>> member `lpVtbl
>>>>>>>> ' in something not a structure or union
>>>>>>>> $
>>>>>>>> ' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:102: error: request for
>>>>>>>> member `lpVtb
>>>>>>>> l' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c: In function
>>>>>>>> `DumpBufferedMouseTrail'
>>>>>>>> :
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:110: error:
>>>>>>>> `DIDEVICEOBJECTDATA' unde
>>>>>>>> clared (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:110: error: parse error
>>>>>>>> before "data"
>>>>>>>>
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:117: error: request for
>>>>>>>> member `lpVtb
>>>>>>>> l' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:119: error: `data'
>>>>>>>> undeclared (first
>>>>>>>> use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:123: error:
>>>>>>>> `DIERR_INPUTLOST' undecla
>>>>>>>> red (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:125: error: request for
>>>>>>>> member `lpVtb
>>>>>>>> l' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c: In function
>>>>>>>> `GetBufferedMouseTrail':
>>>>>>>>
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:144: error:
>>>>>>>> `DIDEVICEOBJECTDATA' unde
>>>>>>>> clared (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:144: error: parse error
>>>>>>>> before "data"
>>>>>>>>
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:166: error: request for
>>>>>>>> member `lpVtb
>>>>>>>> l' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:168: error: `data'
>>>>>>>> undeclared (first
>>>>>>>> use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:172: error:
>>>>>>>> `DIERR_INPUTLOST' undecla
>>>>>>>> red (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:174: error: request for
>>>>>>>> member `lpVtb
>>>>>>>> l' in something not a structure or union
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:195: error: `DIMOFS_X'
>>>>>>>> undeclared (fi
>>>>>>>> rst use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:196: error: `DIMOFS_Y'
>>>>>>>> undeclared (fi
>>>>>>>> rst use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:216: error:
>>>>>>>> `DIMOFS_BUTTON0' undeclar
>>>>>>>> ed (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:217: error:
>>>>>>>> `DIMOFS_BUTTON1' undeclar
>>>>>>>> ed (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:218: error:
>>>>>>>> `DIMOFS_BUTTON2' undeclar
>>>>>>>> ed (first use in this function)
>>>>>>>> ../platforms/win32/vm/sqWin32DirectInput.c:219: error:
>>>>>>>> `DIMOFS_BUTTON3' undeclar
>>>>>>>> ed (first use in this function)
>>>>>>>> make: *** [build/vm/sqWin32DirectInput.o] Error 1
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Rob
>>>>>>>>
>>>>>>>> ----
>>>>>>>> The Modern Whig Party of Virginia - http://vawhigs.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>>>>>> *Sent:* Saturday, June 26, 2010 9:33 PM
>>>>>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>>>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>>
>>>>>>>> Hi Rob,
>>>>>>>>
>>>>>>>> your path is wrong. You should be picking up make and gcc 3.4.4
>>>>>>>> form your cygwin installation not from C:\GNUTools\bin\make.exe.
>>>>>>>> Cog won't build with the old GNUTools. It needs cygwin with at least a gcc
>>>>>>>> that supports sse2. 2.95 is alas too old.
>>>>>>>>
>>>>>>>> So check that your commands are of the same or later version than
>>>>>>>>
>>>>>>>> mcstalkerxp.cygwinbuild$ which make
>>>>>>>> */usr/bin/make*
>>>>>>>> mcstalkerxp.cygwinbuild$ make -v
>>>>>>>> *GNU Make 3.81*
>>>>>>>> Copyright (C) 2006 Free Software Foundation, Inc.
>>>>>>>> This is free software; see the source for copying conditions.
>>>>>>>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>>>>>>>> PARTICULAR PURPOSE.
>>>>>>>>
>>>>>>>> This program built for i686-pc-cygwin
>>>>>>>> mcstalkerxp.cygwinbuild$ which gcc
>>>>>>>> */usr/bin/gcc*
>>>>>>>> mcstalkerxp.cygwinbuild$ gcc -v
>>>>>>>> Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
>>>>>>>> Configured with:
>>>>>>>> /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose
>>>>>>>> --program-suffix=-3 --prefix=/usr --exec-prefix=/usr
>>>>>>>> --sysconfdir=/etc--libdir=/usr/lib --libexecdir=/usr/lib
>>>>>>>> --mandir=/usr/share/man --infodir=/usr/share/info
>>>>>>>> --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
>>>>>>>> --without-included-gettext --enable-version-specific-runtime-libs
>>>>>>>> --without-x --enable-libgcj --disable-java-awt --with-system-zlib
>>>>>>>> --enable-interpreter --disable-libgcj-debug --enable-threads=posix
>>>>>>>> --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions
>>>>>>>> --enable-hash-synchronization --enable-libstdcxx-debugThread model: posix
>>>>>>>> *gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)*
>>>>>>>>
>>>>>>>> cheers
>>>>>>>> Eliot
>>>>>>>>
>>>>>>>> On Sat, Jun 26, 2010 at 6:14 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi Eliot,
>>>>>>>>>
>>>>>>>>> I tried what you suggest:
>>>>>>>>> 1. check-out http://www.squeakvm.org/svn/squeak/branches/Cog
>>>>>>>>> 2. build with Cygwin bash
>>>>>>>>>
>>>>>>>>> It took some digging, but I found my "C" drive in the dir structure
>>>>>>>>> of cygwin and found Cog. I cd into cygwinbuild and 'make'. I get the
>>>>>>>>> following error:
>>>>>>>>>
>>>>>>>>> gcc -o build/vm/gcc3x-cointerp.o -isystem/usr/include/mingw
>>>>>>>>> -I/usr/include/w32ap
>>>>>>>>> i -msse2 -ggdb2 -mwindows -mno-cygwin -mwin32 -mno-rtd
>>>>>>>>> -mms-bitfields -mno-accum
>>>>>>>>> ulate-outgoing-args -D_MT -O2 -march=pentium4
>>>>>>>>> -momit-leaf-frame-pointer -funroll
>>>>>>>>> -loops -fno-builtin-printf -fno-builtin-putchar
>>>>>>>>> -fno-builtin-fprintf -I. -I../sr
>>>>>>>>> c/vm -I../platforms/win32/vm -I../platforms/Cross/vm
>>>>>>>>> -I../platforms/win32/third-
>>>>>>>>> party/dx9sdk/Include -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -DWIN32
>>>>>>>>> -DWIN32_FILE
>>>>>>>>> _SUPPORT -DNO_ISNAN -DNO_SERVICE -DNO_STD_FILE_SUPPORT -DNDEBUG
>>>>>>>>> -DLSB_FIRST -DVM
>>>>>>>>> _NAME=\"Croquet\" -DX86 -DCROQUET -c ../src/vm/gcc3x-cointerp.c
>>>>>>>>> cc1.exe: Invalid option `sse2'
>>>>>>>>> cc1.exe: Invalid option `win32'
>>>>>>>>> cc1.exe: Invalid option `ms-bitfields'
>>>>>>>>> cc1.exe: Invalid option `no-accumulate-outgoing-args'
>>>>>>>>> cc1.exe: bad value (pentium4) for -march= switch
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:1335: warning: initialization from
>>>>>>>>> incompatible point
>>>>>>>>> er type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:1434: warning: initialization from
>>>>>>>>> incompatible point
>>>>>>>>> er type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:1452: warning: initialization from
>>>>>>>>> incompatible point
>>>>>>>>> er type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:1485: warning: initialization from
>>>>>>>>> incompatible point
>>>>>>>>> er type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c: In function `callbackEnter':
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:10544: warning: assignment discards
>>>>>>>>> qualifiers from p
>>>>>>>>> ointer target type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:10545: warning: assignment discards
>>>>>>>>> qualifiers from p
>>>>>>>>> ointer target type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c: In function `highBit':
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:17423: warning: left shift count >=
>>>>>>>>> width of type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:17424: warning: right shift count >=
>>>>>>>>> width of type
>>>>>>>>> ../src/vm/gcc3x-cointerp.c: In function
>>>>>>>>> `primitiveClockLogAddresses':
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:24296: warning: passing arg 1 of
>>>>>>>>> `positive32BitIntege
>>>>>>>>> rFor' makes integer from pointer without a cast
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:24297: warning: passing arg 1 of
>>>>>>>>> `positive32BitIntege
>>>>>>>>> rFor' makes integer from pointer without a cast
>>>>>>>>> ../src/vm/gcc3x-cointerp.c: In function
>>>>>>>>> `readImageFromFileHeapSizeStartingAt':
>>>>>>>>> ../src/vm/gcc3x-cointerp.c:40746: warning: assignment makes integer
>>>>>>>>> from pointer
>>>>>>>>> without a cast
>>>>>>>>> C:\GNUTools\bin\make.exe: *** [build/vm/gcc3x-cointerp.o] Error 1
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Rob
>>>>>>>>>
>>>>>>>>> PS. The US lost [image: Sad smile emoticon] Good luck to
>>>>>>>>> England.
>>>>>>>>>
>>>>>>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>>>>>>> *Sent:* Saturday, June 26, 2010 8:30 PM
>>>>>>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>>>>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>>>>>>
>>>>>>>>> ------------------------------
>>>>>>>>>
>>>>>>>>> Hi Rob,
>>>>>>>>>
>>>>>>>>> On Fri, Jun 25, 2010 at 5:32 PM, Rob Withers <reefedjib(a)yahoo.com>wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi Eliot,
>>>>>>>>>>
>>>>>>>>>> Is it possible someone has generated another experimental VM for
>>>>>>>>>> revision 16? I am hoping so. I have attempted to make with cygwin with
>>>>>>>>>> poor results. Here is what I did:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> These steps are now obsolete. Instead simply check-out
>>>>>>>>> http://www.squeakvm.org/svn/squeak/branches/Cog and build. I've
>>>>>>>>> updated the build instructions there-in. One thing wrong with the old
>>>>>>>>> HowToBuild is its specifying the use of a cmd shell instead of a cygwin bash
>>>>>>>>> shell.
>>>>>>>>>
>>>>>>>>> HTH
>>>>>>>>> Eliot
>>>>>>>>>
>>>>>>>>> 1. Install the latest cygwin (cygwin 1.7.5-1)
>>>>>>>>>> 2. Download and un-tarball OpenSourceCog-oscog.16.tar.gz
>>>>>>>>>> 3. Download VMMaker-oscog.16.mcz
>>>>>>>>>> 4. Download Cog-eem.40.mcz
>>>>>>>>>> 5. Read README and cygwinbuild\HowToBuild
>>>>>>>>>> 6. Try to svn checkout code (platforms, src, cygwinbuild)
>>>>>>>>>> - ERROR svn: OPTIONS of '
>>>>>>>>>> https://dev.qwaq.com/svn/XXX/trunk/platforms': Could not resolv
>>>>>>>>>> e hostname `dev.qwaq.com': The requested name is valid, but no
>>>>>>>>>> data of the reque
>>>>>>>>>> sted type was found.
>>>>>>>>>> (https://dev.qwaq.com)
>>>>>>>>>> 7. Since platforms and src are already there, try make. Command
>>>>>>>>>> prompt - cd into cygwinbuild and make. Error listed below.
>>>>>>>>>> 8. Run VMMaker-Squeak4.1.image image in image and regenerate
>>>>>>>>>> sources. Had to edit the directory separator from '/' to '\'. Regenerated
>>>>>>>>>> sources.
>>>>>>>>>> 9. Run make again and unsurprisingly get the same error.
>>>>>>>>>>
>>>>>>>>>> Cygwinbuild make ERROR -
>>>>>>>>>> C:\Program Files\Squeak 4.1\CogSqueak4.1\cygwinbuild>make
>>>>>>>>>> Makefile:281: warning: overriding commands for target
>>>>>>>>>> `Croquet.res'
>>>>>>>>>> Makefile:263: warning: ignoring old commands for target
>>>>>>>>>> `Croquet.res'
>>>>>>>>>> ---------------- Makefile settings ------------------
>>>>>>>>>> VPATH=../src/vm ../platforms/win32/vm ../platforms/Cross/vm
>>>>>>>>>> INCLUDES=-I. -I../src/vm -I../platforms/win32/vm
>>>>>>>>>> -I../platforms/Cross/vm -I../pl
>>>>>>>>>> atforms/win32/third-party/dx9sdk/Include
>>>>>>>>>> CFLAGS=-isystem/usr/include/mingw -I/usr/include/w32api -msse2
>>>>>>>>>> -ggdb2 -mwindows
>>>>>>>>>> -mno-cygwin -mwin32 -mno-rtd -mms-bitfields
>>>>>>>>>> -mno-accumulate-outgoing-args -D_MT
>>>>>>>>>> -O2 -march=pentium4 -momit-leaf-frame-pointer -funroll-loops
>>>>>>>>>> -fno-builtin-printf
>>>>>>>>>> -fno-builtin-putchar -fno-builtin-fprintf
>>>>>>>>>> INTERNAL_PLUGINS=ADPCMCodecPlugin AsynchFilePlugin
>>>>>>>>>> B3DAcceleratorPlugin B2DPlugi
>>>>>>>>>> n BitBltPlugin BMPReadWriterPlugin CroquetPlugin ZipPlugin
>>>>>>>>>> DropPlugin DSAPrims F
>>>>>>>>>> FTPlugin FilePlugin FloatArrayPlugin FloatMathPlugin
>>>>>>>>>> HostWindowPlugin IA32ABI Jo
>>>>>>>>>> ystickTabletPlugin JPEGReaderPlugin JPEGReadWriter2Plugin Klatt
>>>>>>>>>> LargeIntegers Lo
>>>>>>>>>> calePlugin Matrix2x3Plugin MIDIPlugin MiscPrimitivePlugin
>>>>>>>>>> Mpeg3Plugin RePlugin S
>>>>>>>>>> ecurityPlugin SerialPlugin SocketPlugin SoundCodecPrims
>>>>>>>>>> SoundGenerationPlugin St
>>>>>>>>>> arSqueakPlugin SurfacePlugin UUIDPlugin
>>>>>>>>>> EXTERNAL_PLUGINS=SqueakFFIPrims Win32OSProcessPlugin
>>>>>>>>>> LIBS=./build/vm/ADPCMCodecPlugin.lib
>>>>>>>>>> ./build/vm/AsynchFilePlugin.lib ./build/vm/
>>>>>>>>>> B3DAcceleratorPlugin.lib ./build/vm/B2DPlugin.lib
>>>>>>>>>> ./build/vm/BitBltPlugin.lib ./
>>>>>>>>>> build/vm/BMPReadWriterPlugin.lib ./build/vm/CroquetPlugin.lib
>>>>>>>>>> ./build/vm/ZipPlug
>>>>>>>>>> in.lib ./build/vm/DropPlugin.lib ./build/vm/DSAPrims.lib
>>>>>>>>>> ./build/vm/FFTPlugin.li
>>>>>>>>>> b ./build/vm/FilePlugin.lib ./build/vm/FloatArrayPlugin.lib
>>>>>>>>>> ./build/vm/FloatMath
>>>>>>>>>> Plugin.lib ./build/vm/HostWindowPlugin.lib ./build/vm/IA32ABI.lib
>>>>>>>>>> ./build/vm/Joy
>>>>>>>>>> stickTabletPlugin.lib ./build/vm/JPEGReaderPlugin.lib
>>>>>>>>>> ./build/vm/JPEGReadWriter2
>>>>>>>>>> Plugin.lib ./build/vm/Klatt.lib ./build/vm/LargeIntegers.lib
>>>>>>>>>> ./build/vm/LocalePl
>>>>>>>>>> ugin.lib ./build/vm/Matrix2x3Plugin.lib ./build/vm/MIDIPlugin.lib
>>>>>>>>>> ./build/vm/Mis
>>>>>>>>>> cPrimitivePlugin.lib ./build/vm/Mpeg3Plugin.lib
>>>>>>>>>> ./build/vm/RePlugin.lib ./build/
>>>>>>>>>> vm/SecurityPlugin.lib ./build/vm/SerialPlugin.lib
>>>>>>>>>> ./build/vm/SocketPlugin.lib ./
>>>>>>>>>> build/vm/SoundCodecPrims.lib ./build/vm/SoundGenerationPlugin.lib
>>>>>>>>>> ./build/vm/Sta
>>>>>>>>>> rSqueakPlugin.lib ./build/vm/SurfacePlugin.lib
>>>>>>>>>> ./build/vm/UUIDPlugin.lib
>>>>>>>>>> DLLS=./build/vm/SqueakFFIPrims.dll
>>>>>>>>>> ./build/vm/Win32OSProcessPlugin.dll
>>>>>>>>>> -----------------------------------------------------
>>>>>>>>>> The syntax of the command is incorrect.
>>>>>>>>>> make: [build/vm] Error 1 (ignored)
>>>>>>>>>> mkdir ./build/vm
>>>>>>>>>> The syntax of the command is incorrect.
>>>>>>>>>> make: *** [build/vm] Error 1
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Rob
>>>>>>>>>>
>>>>>>>>>> ----
>>>>>>>>>> The Modern Whig Party of Virginia - http://vawhigs.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> *From:* Eliot Miranda <eliot.miranda(a)gmail.com>
>>>>>>>>>> *Sent:* Friday, June 25, 2010 1:13 PM
>>>>>>>>>> *To:* Squeak Virtual Machine Development Discussion<vm-dev(a)lists.squeakfoundation.org>
>>>>>>>>>> *Subject:* Re: [Vm-dev] Squeak 4.1 VM crash
>>>>>>>>>>
>>>>>>>>>> ------------------------------
>>>>>>>>>>
>>>>>>>>>> Hi Rob,
>>>>>>>>>>
>>>>>>>>>> you're running a Cog VM derived from VMMaker-oscog.11.
>>>>>>>>>> VMMaker-oscog.16 has some important fixes. You might want to update.
>>>>>>>>>>
>>>>>>>>>> best
>>>>>>>>>> Eliot
>>>>>>>>>>
>>>>>>>>>> On Fri, Jun 25, 2010 at 4:29 AM, Rob Withers <reefedjib(a)yahoo.com
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Here is the crash dump from the Cog VM
>>>>>>>>>>>
>>>>>>>>>>> --------------------------------------------------
>>>>>>>>>>> From: "Rob Withers" <reefedjib(a)yahoo.com>
>>>>>>>>>>> Sent: Friday, June 25, 2010 7:20 AM
>>>>>>>>>>> To: "Squeak VM Dev" <vm-dev(a)lists.squeakfoundation.org>
>>>>>>>>>>> Subject: [Vm-dev] Squeak 4.1 VM crash
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> I am running the Cog image on the stock Squeak 4.1 vm. I was
>>>>>>>>>>>> testing the
>>>>>>>>>>>> Cryptography package. There are two test cases that are now
>>>>>>>>>>>> failing:
>>>>>>>>>>>> CryptoRigndaelCBCTest>>#testByteArrayFromHexString and
>>>>>>>>>>>> CryptoX509Test>>#testSignatureValidation for unknown reasons.
>>>>>>>>>>>>
>>>>>>>>>>>> I decided to Run Coverage. I am not really sure what this
>>>>>>>>>>>> does, but I was
>>>>>>>>>>>> trying to find a way to get performance numbers and then compare
>>>>>>>>>>>> to the Cog
>>>>>>>>>>>> VM.
>>>>>>>>>>>>
>>>>>>>>>>>> I got the attached crash dump.
>>>>>>>>>>>>
>>>>>>>>>>>> Rob
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
June 28, 2010
Re: [Pharo-project] Xtreme Pharo hacker needed :)
by Eliot Miranda
2010/6/27 Henrik Sperre Johansen <henrik.s.johansen(a)veloxit.no>
> On 27.06.2010 20:20, laurent laffont wrote:
>
>
> On Sun, Jun 27, 2010 at 7:11 PM, Alexandre Bergel <alexandre(a)bergel.eu>wrote:
>
>> > The problem is that I don't really know if the method I've changed has
>> been actually "hit" by the tests. I just see that tests has been run. I
>> don't know if my method has been called when running the tests.
>> >
>> > So I want to detect this.
>> >
>> > One way of doing this seems to use
>> MethodContext>>runSimulated:contextAtEachStep:. I've found this looking at
>> MessageTally. Is it the best solution ?
>>
>> If you know exactly which compiled method you are interested in, I would
>> wrap it using a plain object that answers to #run:with:in:
>> This is a feature supported which is supported for quite some time by the
>> VM.
>> Info on
>> http://www.iam.unibe.ch/~scg/Archive/Papers/Bergel06bRDLPrototyping.pdf<http://www.iam.unibe.ch/%7Escg/Archive/Papers/Bergel06bRDLPrototyping.pdf>, Section 2.2
>>
>
> Thank you, it's cool to learn so sexy stuff :) Should be in Pharo book.
>
> Laurent
>
> Note: The Cog VM crashes on TestObjectsAsMethods.
>
Yes. I never tried to get this to work. How important is this to people?
best
Eliot
>
> Cheers,
> Henry
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
June 27, 2010
Re: [Pharo-project] Changing/Removing Desktop Image in 1.1
by Benoit St-Jean
That should do the trick:
LogoImageMorph default: nil.
World backgroundMorph: nil.
World restoreDisplay.
Hope this helps!
-----------------
Benoit St-Jean
A standpoint is an intellectual horizon of radius zero.
(Albert Einstein)
Date: Sun, 27 Jun 2010 18:45:13 -0400
From: r.j.rothwell(a)gmail.com
To: pharo-project(a)lists.gforge.inria.fr
Subject: [Pharo-project] Changing/Removing Desktop Image in 1.1
Can anyone remove the default image in 1.1 (Pharo-1.1-11400-rc2dev10.06.1)? Remove it?
Using the settings browser has no effect for me.
I can't even remove it by adding a halo and deleting it...
Take care,
Rob
_________________________________________________________________
Learn more ways to connect with your buddies now
http://go.microsoft.com/?linkid=9734388
June 27, 2010
[Pharo-project] Changing/Removing Desktop Image in 1.1
by Rob Rothwell
Can anyone remove the default image in 1.1 (Pharo-1.1-11400-rc2dev10.06.1)?
Remove it?
Using the settings browser has no effect for me.
I can't even remove it by adding a halo and deleting it...
Take care,
Rob
June 27, 2010
Re: [Pharo-project] Autotest enhancement suggestions
by Benoit St-Jean
Added removal support for Autotest.
FileOut file included.
-----------------
Benoit St-Jean
A standpoint is an intellectual horizon of radius zero.
(Albert Einstein)
_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384
June 27, 2010
Re: [Pharo-project] ESUG will sponsor the XMLRPC project!
by Germán Arduino
As flickr, blogger, wordpress, Joomla sites, Google blog search,
Drupal sites, delicious, zope, products as SAP, to mention a few that
I have in mind now....
I means, not only web sites, also products and I think also that is a
compact protocol that could permit to implement an API to servers /
products easily.
Cheers.
Germán.
2010/6/27 Philippe Marschall <kustos(a)gmx.net>:
> On 27.06.2010 15:39, Germán Arduino wrote:
>> Hi Philippe:
>>
>> What is bad with xmlrpc? A lot of sites are using it to expose its data....
>
> Like whom?
>
> Cheers
> Philippe
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
=================================================
Germán S. Arduino <gsa @ arsol.net> Twitter: garduino
Arduino Software & Web Hosting http://www.arduinosoftware.com
PasswordsPro http://www.passwordspro.com
=================================================
June 27, 2010
[Pharo-project] Autotest enhancement suggestions
by Benoit St-Jean
Hi Laurent,
I have been playing with the Autotest tool and it's quite cool!
One major enhancement suggestion.
Let's say we have a test method defined as such:
testWhatever
^self somethingElse or: [self testSomethingDifferent].
Removing the method #somethingElse or #testSomethingDifferent from the system won't trigger the listener to run the test #testWhatever since you only check for new methods and modified methods.
But what happens if we remove a method (called from a test method) and that would break the test? I think this should be handled as well.
Besides, another suggestion, why wouldn't we queue the modified methods events instead of ignoring them when the current process is still running a test and has not yet completed?
I also suggest that logging should include the test result (not only time & method name).
Finally, thanks for such a great tool!
-----------------
Benoit St-Jean
A standpoint is an intellectual horizon of radius zero.
(Albert Einstein)
_________________________________________________________________
Look 'em in the eye: FREE Messenger video chat
http://go.microsoft.com/?linkid=9734386
June 27, 2010
Re: [Pharo-project] Changing color/fillStyle by morph halo menu in 1.1rc2
by Stéphane Ducasse
Cool!
Stef
On Jun 27, 2010, at 11:19 PM, Denis Kudriashov wrote:
> I done slice for this. See http://code.google.com/p/pharo/issues/detail?id=2595
>
> 2010/6/27 Denis Kudriashov <dionisiydk(a)gmail.com>
> I can't see full morph appearance. I just see what color I select.
> But It's nothing because I need see my little changes in full morph appearance.
>
> For example color of button should satisfy color of pane. And when I change button color I want immediately see full picture of my application view.
>
> I think It is very important for UI design.
>
> 2010/6/27 Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>
> I do not understand because you can see the selected color in the selected color little pane.
> Is it not what you need?
> Stef]
> On Jun 27, 2010, at 11:53 AM, Denis Kudriashov wrote:
>
> > I try last Pharo 1.1 rc2 10.06.10.
> >
> > I found that tool for changing color by user is changed. ColorPickerMorph is removed. Now I can't dynamically change color by mouse and see my changes immediately. Now I must select color in new tool, press ok button. And after that tool close and I must open it again if I dont like my changes.
> >
> > It is bad behavior compare with pharo 1.0/squeak. But I really like new color picker morph.
> >
> > New tool is ColorSelectorDialogWindow.
> > How I can hookup It for tracking color selection?
> > Maybe I must add some event triggering in #basicSelectedColor: method.
> > But I see many #changed: sends in #basicSelectedColor: method. And maybe I already can implement some dependent class for needed stuff.
> >
> > What you think?
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
June 27, 2010