Where are precompiled stack VMs or interpreter VMs?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Where are precompiled stack VMs or interpreter VMs?

Tapple Gao
 
Hi. I'm trying to find a suitable official VM for Cobalt as it
draws nearer to being officially a squeak 4.2 application. I've
found 3 VM-dependent bugs, and have yet to find a recent VM that
exhibits none of them:

- FFI support. The latest cog VM's (2339 and later) fail.
- Writing sockets incorrectly timeout after 5-30 minutes. Older
  cog VMs (2316 and earlier) fail; I'm not able to easily test
  the latest ones due to the first bug
- Keyboard Up events are incorrect when multiple keys are
  pressed at once. The latest vm's on squeakvm.org fail,
  however, they are nearing a year old, and the cog VMs (all
  newer) don't have this bug.

So, where can I get some newer stack or interpreter VMs than
what is on squeakvm.org? I have a feeling they would satisfy all
three criteria, but I can't find any.

--
Matthew Fulmer (a.k.a. Tapple)
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Eliot Miranda-2
 
Hi Matthew,

On Tue, Jan 11, 2011 at 9:45 AM, Matthew Fulmer <[hidden email]> wrote:

Hi. I'm trying to find a suitable official VM for Cobalt as it
draws nearer to being officially a squeak 4.2 application. I've
found 3 VM-dependent bugs, and have yet to find a recent VM that
exhibits none of them:

- FFI support. The latest cog VM's (2339 and later) fail.
- Writing sockets incorrectly timeout after 5-30 minutes. Older
 cog VMs (2316 and earlier) fail; I'm not able to easily test
 the latest ones due to the first bug

Including VM.r2346/?  Can you send me some reproducible case for at least the FFI one?  Are you sure you're using the SqueakFFIPrims included with the VM?  Please /don't/ use the FFI plugin from the standard VMs.

Thanks,
Eliot
 
- Keyboard Up events are incorrect when multiple keys are
 pressed at once. The latest vm's on squeakvm.org fail,
 however, they are nearing a year old, and the cog VMs (all
 newer) don't have this bug.

So, where can I get some newer stack or interpreter VMs than
what is on squeakvm.org? I have a feeling they would satisfy all
three criteria, but I can't find any.

 

--
Matthew Fulmer (a.k.a. Tapple)

Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Nikolay Suslov
 
On Tue, Jan 11, 2011 at 9:20 PM, Eliot Miranda <[hidden email]> wrote:
 

Including VM.r2346/?  Can you send me some reproducible case for at least the FFI one?  Are you sure you're using the SqueakFFIPrims included with the VM?  Please /don't/ use the FFI plugin from the standard VMs.

 
Yes, using the FFIPrims from the old Cog VMs (<2339) works just fine with the latest VMs (2346).
But, is that Ok?

Thanks,
Nikolay
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Eliot Miranda-2
 


On Tue, Jan 11, 2011 at 11:35 AM, Nikolay Suslov <[hidden email]> wrote:
 
On Tue, Jan 11, 2011 at 9:20 PM, Eliot Miranda <[hidden email]> wrote:
 

Including VM.r2346/?  Can you send me some reproducible case for at least the FFI one?  Are you sure you're using the SqueakFFIPrims included with the VM?  Please /don't/ use the FFI plugin from the standard VMs.

 
Yes, using the FFIPrims from the old Cog VMs (<2339) works just fine with the latest VMs (2346).

What's the case to test?
 
But, is that Ok?

Well, it is evidently better than cog + new ffi, which mystifies me.  Hence the request for a reproducible case.  Remember to state OS and version, directory, etc, etc.  Don't spare the details.
 

Thanks,
Nikolay


Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Nikolay Suslov
 
On Tue, Jan 11, 2011 at 11:02 PM, Eliot Miranda <[hidden email]> wrote:
 

What's the case to test?

 

I use the updated Squeak 4.2-10548-alpha with installed  (http://source.squeak.org/FFI) and (http://www.squeaksource.com/CroquetGL) packages running on 2346 CogVM.
Then run "OpenGL example", which produces the  crash.


Here is the complete report:

--------------------------------------

Process:         Croquet [1240]
Path:            /Users/nikolaysuslov/Desktop/Squeak4.2-10548-alpha/Cog.app/Contents/MacOS/Croquet
Identifier:      com.teleplace.Teleplace
Version:         Croquet Cog 3.0.0 (4.0.0)
Code Type:       X86 (Native)
Parent Process:  launchd [120]

Date/Time:       2011-01-11 23:52:37.432 +0300
OS Version:      Mac OS X 10.6.6 (10J567)
Report Version:  6

Interval Since Last Report:          150504 sec
Crashes Since Last Report:           22
Per-App Interval Since Last Report:  148047 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      B9B8CFDC-E16E-4D56-A5D3-DB2FE4B51825

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000084
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   GLEngine                          0x2e60609c gleFillImage + 313
1   GLEngine                          0x2e6022ed glBitmap_Comp + 431
2   libGL.dylib                       0x9366f6e3 glBitmap + 70
3   org.squeak.SqueakFFIPrims         0x2e4514b0 primitiveCallout + 1376
4   com.teleplace.Teleplace           0x000f9f03 interpret + 835
5   com.teleplace.Teleplace           0x00101a0b enterSmalltalkExecutiveImplementation + 107
6   com.teleplace.Teleplace           0x0010292a initStackPagesAndInterpret + 538
7   com.teleplace.Teleplace           0x0005d734 EventLoopEventHandler + 132
8   com.apple.HIToolbox               0x94a49ecf DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
9   com.apple.HIToolbox               0x94a49196 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
10  com.apple.HIToolbox               0x94a48ff5 SendEventToEventTargetWithOptions + 58
11  com.apple.HIToolbox               0x94a7dc18 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 3006
12  com.apple.HIToolbox               0x94a4a320 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2672
13  com.apple.HIToolbox               0x94a49196 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
14  com.apple.HIToolbox               0x94a6ba07 SendEventToEventTarget + 52
15  com.apple.HIToolbox               0x94bf4d2b ToolboxEventDispatcher + 86
16  com.apple.HIToolbox               0x94bf4e63 RunApplicationEventLoop + 243
17  com.teleplace.Teleplace           0x0005cf7a RunApplicationEventLoopWithSqueak + 218
18  com.teleplace.Teleplace           0x0006e617 main + 631
19  com.teleplace.Teleplace           0x00002916 start + 54

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib                 0x94ee0982 kevent + 10
1   libSystem.B.dylib                 0x94ee109c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib                 0x94ee0559 _dispatch_queue_invoke + 163
3   libSystem.B.dylib                 0x94ee02fe _dispatch_worker_thread2 + 240
4   libSystem.B.dylib                 0x94edfd81 _pthread_wqthread + 390
5   libSystem.B.dylib                 0x94edfbc6 start_wqthread + 30

Thread 2:
0   libSystem.B.dylib                 0x94ee80a6 __semwait_signal + 10
1   libSystem.B.dylib                 0x94f13ee5 nanosleep$UNIX2003 + 188
2   com.teleplace.Teleplace           0x000b019b beatStateMachine + 139
3   libSystem.B.dylib                 0x94ee785d _pthread_start + 345
4   libSystem.B.dylib                 0x94ee76e2 thread_start + 34

Thread 3:
0   libSystem.B.dylib                 0x94edfa12 __workq_kernreturn + 10
1   libSystem.B.dylib                 0x94edffa8 _pthread_wqthread + 941
2   libSystem.B.dylib                 0x94edfbc6 start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x2e605f74  ecx: 0x0000000b  edx: 0x00000006
  edi: 0x01052230  esi: 0x00000084  ebp: 0xbff56e98  esp: 0xbff56de0
   ss: 0x0000001f  efl: 0x00010246  eip: 0x2e60609c   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000084

Binary Images:
    0x1000 -   0x125fe7 +com.teleplace.Teleplace Croquet Cog 3.0.0 (4.0.0) <923EA7C5-6FAF-8AC1-A0E8-3B54C0C00003> /Users/nikolaysuslov/Desktop/Squeak4.2-10548-alpha/Cog.app/Contents/MacOS/Croquet
0x2e3b6000 - 0x2e3dafe7  GLRendererFloat ??? (???) <1274B762-2FB9-48FE-EAFD-C459B2B4BECC> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
0x2e44d000 - 0x2e452ff7 +org.squeak.SqueakFFIPrims 1.1 (1.1) <A4AF9673-DDEF-882F-161B-B91DFC3FCDE9> /Users/nikolaysuslov/Desktop/Squeak4.2-10548-alpha/Cog.app/Contents/Resources/SqueakFFIPrims.bundle/Contents/MacOS/SqueakFFIPrims
0x2e466000 - 0x2e467ff7  com.apple.carbonbundletemplate 1.01 (1.0) <AB96D4B1-630C-39FF-29C6-F077312643F9> /Users/nikolaysuslov/Desktop/Squeak4.2-10548-alpha/Cog.app/Contents/Resources/FloatArrayPlugin.bundle/Contents/MacOS/FloatArrayPlugin
0x2e5d6000 - 0x2e74efe7  GLEngine ??? (???) <3A6C5513-7428-2242-2892-B429C72343CB> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x2e780000 - 0x2eb85fe7  libclh.dylib 3.1.1 C  (3.1.1) <745CBD72-DF1F-EC12-BE51-4EEA9847EADF> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
0x8f0c8000 - 0x8f811ff7  com.apple.GeForceGLDriver 1.6.26 (6.2.6) <518182BB-5A3C-5F4C-3A84-17BB8E385BBF> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <39AC3185-E633-68AA-7CD6-1230E7F1CEF4> /usr/lib/dyld
0x90085000 - 0x90090ff7  libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <CB2510BD-A5B3-9D90-5917-C73F6ECAC913> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x90091000 - 0x90094ff7  libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <B624AACE-991B-0FFA-2482-E69970576CE1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x90095000 - 0x900b1fe3  com.apple.openscripting 1.3.1 (???) <2A748037-D1C0-6D47-2C4A-0562AF799AC9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x900ef000 - 0x9018cfe3  com.apple.LaunchServices 362.2 (362.2) <F3952CAB-322F-A12F-57AF-8B91B1D76DDE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x901af000 - 0x901d0fe7  com.apple.opencl 12.3 (12.3) <DEA600BF-4F54-66B5-DB2F-DC57FD518543> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x901f9000 - 0x90203ffb  com.apple.speech.recognition.framework 3.11.1 (3.11.1) <7486003F-8FDB-BD6C-CB34-DE45315BD82C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x902b3000 - 0x90322ff7  libvMisc.dylib 268.0.1 (compatibility 1.0.0) <595A5539-9F54-63E6-7AAC-C04E1574B050> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x90323000 - 0x90337fe7  libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib
0x90561000 - 0x9060efe7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <C8925910-B927-968B-4B71-D83A4CEF8646> /usr/lib/libobjc.A.dylib
0x9060f000 - 0x906c8fe7  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <52438E77-55D1-C231-1936-76F1369518E4> /usr/lib/libsqlite3.dylib
0x906cb000 - 0x90718feb  com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <BF66BA5D-BBC8-78A5-DBE2-F9DE3DD1D775> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x90732000 - 0x90736ff7  libGFXShared.dylib ??? (???) <9E14BE2F-C863-40E9-41A6-1BE9045663A0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x90737000 - 0x90759fef  com.apple.DirectoryService.Framework 3.6 (621.9) <F2EEE9D7-D4FB-14F3-E647-ABD32754F557> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x9075a000 - 0x9079eff3  com.apple.coreui 2 (114) <2234855E-3BED-717F-0BFA-D1A289ECDBDA> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x9079f000 - 0x90bb5ff7  libBLAS.dylib 219.0.0 (compatibility 1.0.0) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x91b35000 - 0x91c36fe7  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <ED8E45C6-B078-15E8-938D-99D8FD1EAE64> /usr/lib/libxml2.2.dylib
0x91e42000 - 0x91ffbfeb  com.apple.ImageIO.framework 3.0.4 (3.0.4) <C145139E-24C4-5A3D-B17C-809D528354B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x92171000 - 0x92171ff7  liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib
0x92172000 - 0x9218dff7  libPng.dylib ??? (???) <E14178E0-B92D-94EA-DACB-04F346D7534C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9268b000 - 0x9268efe7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x9268f000 - 0x927befe3  com.apple.audio.toolbox.AudioToolbox 1.6.5 (1.6.5) <0A0F68E5-4806-DB51-764B-D97554B801AD> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x927e6000 - 0x92a59fe7  com.apple.Foundation 6.6.4 (751.42) <ACC0BAEB-C590-7052-3AB2-86C207C3D6D4> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b39000 - 0x92be1ffb  com.apple.QD 3.36 (???) <FA2785A4-BB69-DCB4-3BA3-7C89A82CAB41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x92c2a000 - 0x92cacffb  SecurityFoundation ??? (???) <A8D248DE-8670-970D-39E3-A9738CFDBEE1> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x92dea000 - 0x92defff7  com.apple.OpenDirectory 10.6 (10.6) <C1B46982-7D3B-3CC4-3BC2-3E4B595F0231> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x92df0000 - 0x92f72fe7  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <35DB7644-0780-D2AB-F6A9-45F28D2D434A> /usr/lib/libicucore.A.dylib
0x92f73000 - 0x93029ff7  libFontParser.dylib ??? (???) <33F62EE1-E457-C6FD-369E-E86745B94A4B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x9302a000 - 0x93136ff7  libGLProgrammability.dylib ??? (???) <A077BFEA-19C6-9F48-2F36-8E4E55376F49> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x93137000 - 0x93430fef  com.apple.QuickTime 7.6.6 (1756) <F08B13B6-31D7-BD18-DA87-A0CDFCF13B8F> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x93599000 - 0x935caff7  libGLImage.dylib ??? (???) <E3EC8E92-4DDD-E7B8-3D38-C5A5160A4930> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x93624000 - 0x9366dfe7  libTIFF.dylib ??? (???) <AC1FC806-F7F4-174B-375F-FE5D6008666C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9366e000 - 0x93679ff7  libGL.dylib ??? (???) <48405993-0AE9-292B-6705-C3525528682A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x9367a000 - 0x93684fe7  com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x937c8000 - 0x937d4ff7  libkxld.dylib ??? (???) <F0E915AD-6B32-0D5E-D24B-B188447FDD23> /usr/lib/system/libkxld.dylib
0x938d1000 - 0x93914ff7  libGLU.dylib ??? (???) <BB66EDB2-D5FE-61C9-21BE-747F9862819C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x93915000 - 0x93979ffb  com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x939f8000 - 0x939fbffb  com.apple.help 1.3.1 (41) <67F1F424-3983-7A2A-EC21-867BE838E90B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x93ce6000 - 0x93cf8ff7  com.apple.MultitouchSupport.framework 207.10 (207.10) <E1A6F663-570B-CE54-0F8A-BBCCDECE3B42> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x93cf9000 - 0x944e8557  com.apple.CoreGraphics 1.545.0 (???) <1AB39678-00D5-FB88-3B41-93D78348E0DE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x946b7000 - 0x946c0ff7  com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x9484a000 - 0x9484aff7  com.apple.vecLib 3.6 (vecLib 3.6) <FF4DC8B6-0AB0-DEE8-ADA8-7B57645A1F36> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9486f000 - 0x9494afeb  com.apple.DesktopServices 1.5.9 (1.5.9) <CED00AC1-924B-0E45-7D5E-1CEA8929F5BE> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x949c1000 - 0x94a41feb  com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5-F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x94a42000 - 0x94d66fef  com.apple.HIToolbox 1.6.4 (???) <4699C8BB-DE74-C530-564B-D131F74C9B54> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x94dc2000 - 0x94e9fff7  com.apple.vImage 4.0 (4.0) <64597E4B-F144-DBB3-F428-0EC3D9A1219E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x94ea0000 - 0x94ea3ff7  libCoreVMClient.dylib ??? (???) <973B9E1F-70B3-2E76-B14B-E57F306AD2DF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x94ea4000 - 0x94eb8ffb  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x94eb9000 - 0x95060ff7  libSystem.B.dylib 125.2.1 (compatibility 1.0.0) <62291026-D016-705D-DC1E-FC2B09D47DE5> /usr/lib/libSystem.B.dylib
0x9509f000 - 0x950a5fe7  com.apple.CommerceCore 1.0 (6) <41C2A87D-93D8-56C1-9292-0400699F23C1> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x952de000 - 0x9540cfe7  com.apple.CoreData 102.1 (251) <87FE6861-F2D6-773D-ED45-345272E56463> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9550c000 - 0x9552bff7  com.apple.CoreVideo 1.6.2 (45.6) <EB53CAA4-5EE2-C356-A954-5775F7DDD493> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9552c000 - 0x9552dff7  com.apple.TrustEvaluationAgent 1.1 (1) <2D970A9B-77E8-EDC0-BEC6-7580D78B2843> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x95577000 - 0x95585ff7  com.apple.opengl 1.6.12 (1.6.12) <9F13B279-F289-18AC-5D86-DCD52BAF087D> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x95586000 - 0x955c1feb  libFontRegistry.dylib ??? (???) <4FB144ED-8AF9-27CF-B315-DCE5575D5231> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x955c2000 - 0x95825fff  com.apple.security 6.1.1 (37594) <B6F2A8BF-C1B7-A0E2-83FB-4FF265E9BDDC> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x96367000 - 0x963c8fe7  com.apple.CoreText 3.5.0 (???) <BB50C045-25F5-65B8-B1DB-8CDAEF45EB46> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x963c9000 - 0x963cdff7  libGIF.dylib ??? (???) <DA5758A4-71B0-DD6E-7402-B7FB15387569> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x963ce000 - 0x96400fe3  libTrueTypeScaler.dylib ??? (???) <6E9D1A50-330E-F1F4-F93D-9ECC8A61B21A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x96401000 - 0x9643aff7  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <E0D512DD-365D-46A0-F50C-435BC250424F> /usr/lib/libcups.2.dylib
0x9643b000 - 0x96d1bff7  com.apple.AppKit 6.6.7 (1038.35) <ABC7783C-E4D5-B848-BED6-99451D94D120> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x96d1c000 - 0x96d5eff7  libvDSP.dylib 268.0.1 (compatibility 1.0.0) <8A4721DE-25C4-C8AA-EA90-9DA7812E3EBA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x96d6a000 - 0x96d82ff7  com.apple.CFOpenDirectory 10.6 (10.6) <F9AFC571-3539-6B46-ABF9-46DA2B608819> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x96d83000 - 0x96dedfe7  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x96dee000 - 0x96e03fff  com.apple.ImageCapture 6.0.1 (6.0.1) <E7ED2AC1-834C-A44E-531E-EC05F0496DBF> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x96e0e000 - 0x96e15ff7  com.apple.agl 3.0.12 (AGL-3.0.12) <C43D8F35-D0DB-37F3-5058-A8308A377303> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x96f00000 - 0x96f11ff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <3036AD83-4F1D-1028-54EE-54165E562650> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x96f5b000 - 0x96f83ff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <769EF4B2-C1AD-73D5-AAAD-1564DAEA77AF> /usr/lib/libxslt.1.dylib
0x96f97000 - 0x96f97ff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <3891A689-4F38-FACD-38B2-4BF937DE30CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x96f98000 - 0x972b8ff3  com.apple.CoreServices.CarbonCore 861.23 (861.23) <B08756E4-32C5-CC33-0268-7C00A5ED7537> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x97518000 - 0x97525ff7  com.apple.NetFS 3.2.1 (3.2.1) <94A52A6D-F071-09D7-E80F-F633F17233FE> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x97526000 - 0x976a1fe7  com.apple.CoreFoundation 6.6.4 (550.42) <C78D5079-663E-9734-7AFA-6CE79A0539F1> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x976a2000 - 0x97750ff3  com.apple.ink.framework 1.3.3 (107) <233A981E-A2F9-56FB-8BDE-C2DEC3F20784> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x977ae000 - 0x9787ffe3  ColorSyncDeprecated.dylib 4.6.0 (compatibility 1.0.0) <631392F6-6E50-278C-70FF-7969E35C498D> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x97d06000 - 0x97d16ff7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib
0x97d57000 - 0x97d77fe7  libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <BF7FF2F6-5FD3-D78F-77BC-9E2CB2A5E309> /usr/lib/libresolv.9.dylib
0x97d78000 - 0x97d9cff7  libJPEG.dylib ??? (???) <46AF3A0F-2B8D-87B9-62D4-0905678A64DA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x97d9d000 - 0x97da4ff3  com.apple.print.framework.Print 6.1 (237.1) <F5AAE53D-5530-9004-A9E3-2C1690C5328E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x97da5000 - 0x97df5ff7  com.apple.framework.familycontrols 2.0.2 (2020) <AF7F86F1-F7BF-CBA8-7A4A-D8F7A19F9601> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x97df6000 - 0x97e47ff7  com.apple.HIServices 1.8.2 (???) <F6EAC2D1-902A-9374-FC4B-43B50E054416> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x97ef2000 - 0x97f25ff7  com.apple.AE 496.4 (496.4) <C73D124C-C722-41D8-3465-4CE0D0BA9307> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x97f26000 - 0x97f69ff7  com.apple.NavigationServices 3.5.4 (182) <8DC6FD4A-6C74-9C23-A4C3-715B44A8D28C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x97fa6000 - 0x97faaff7  IOSurface ??? (???) <D849E1A5-6B0C-2A05-2765-850EC39BA2FF> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x97ffc000 - 0x98059ff7  com.apple.framework.IOKit 2.0 (???) <A769737F-E0D6-FB06-29B4-915CF4F43420> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x980e5000 - 0x98126ff7  libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <16DAE1A5-937A-1CA2-D98F-2AF958B62993> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x98127000 - 0x98135fe7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <33C1B260-ED05-945D-FC33-EF56EC791E2E> /usr/lib/libz.1.dylib
0x98430000 - 0x9879bff7  com.apple.QuartzCore 1.6.3 (227.34) <CC1C1631-D8D1-D416-171E-A1683274E479> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x987d6000 - 0x987dcfff  com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x987fc000 - 0x988acff3  com.apple.ColorSync 4.6.3 (4.6.3) <0354B408-665F-8B3F-87FF-64E6322276F0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x988ad000 - 0x98945fe7  edu.mit.Kerberos 6.5.10 (6.5.10) <DC19F49B-184E-FD0F-13F8-3A31924A3B66> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x98959000 - 0x9895bff7  libRadiance.dylib ??? (???) <10048B4A-2AE8-A4E2-21B8-C6E7A8C5B76F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x9895c000 - 0x98d91ff7  libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x98d92000 - 0x98d92ff7  com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x98e05000 - 0x98e07ff7  com.apple.securityhi 4.0 (36638) <E7D83480-77BB-72F9-72F3-AEE198CE589F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x98ece000 - 0x98ef4ffb  com.apple.DictionaryServices 1.1.2 (1.1.2) <43E1D565-6E01-3681-F2E5-72AE4C3A097A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x98efd000 - 0x98efdff7  com.apple.Carbon 150 (152) <2539A94A-34D9-45CB-8F3E-AD53149E0BD5> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x98f03000 - 0x98f7dfff  com.apple.audio.CoreAudio 3.2.6 (3.2.6) <F7C9B01D-45AD-948B-2D26-9736524C1A33> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x98f7e000 - 0x99028fe7  com.apple.CFNetwork 454.11.5 (454.11.5) <D8963574-285A-3BD6-6B25-07D39C6F67A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x99029000 - 0x99066ff7  com.apple.SystemConfiguration 1.10.5 (1.10.2) <362DF639-6E5F-9371-9B99-81C581A8EE41> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x99067000 - 0x99102ff7  com.apple.ApplicationServices.ATS 4.4 (???) <ECB16606-4DF8-4AFB-C91D-F7947C26040F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9932f000 - 0x993f9fef  com.apple.CoreServices.OSServices 357 (357) <3A26F553-722D-3536-EEDE-FB41FCDAA7FD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x99472000 - 0x99576fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <BDEFA030-5E75-7C47-2904-85AB16937F45> /usr/lib/libcrypto.0.9.8.dylib
0x995cb000 - 0x9965dfe7  com.apple.print.framework.PrintCore 6.3 (312.7) <7410D1B2-655D-68DA-D4B9-2C65747B6817> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x997c1000 - 0x99807ff7  libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib
0x99809000 - 0x9984dfe7  com.apple.Metadata 10.6.3 (507.15) <A23633F1-E913-66C2-A073-E2B174C09B18> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x99893000 - 0x99893ff7  com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x99a81000 - 0x99a81ff7  com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <ABF97DA4-3BDF-6FFD-6239-B023CA1F7974> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x99a82000 - 0x99a83ff7  com.apple.audio.units.AudioUnit 1.6.5 (1.6.5) <BE4C2495-B758-AD22-DCC0-56A6791E948E> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0xffff0000 - 0xffff1fff  libSystem.B.dylib ??? (???) <62291026-D016-705D-DC1E-FC2B09D47DE5> /usr/lib/libSystem.B.dylib

Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.2 GHz, 2 GB, SMC 1.16f11
Graphics: NVIDIA GeForce 8600M GT, GeForce 8600M GT, PCIe, 128 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x87), Atheros 5416: 2.1.14.5
Bluetooth: Version 2.3.8f7, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
Serial ATA Device: FUJITSU MHW2120BH, 111.79 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857E
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8502, 0xfd400000
USB Device: USB 2.0 Hub [MTT], 0x1a40  (TERMINUS TECHNOLOGY INC.), 0x0201, 0xfd100000
USB Device: Microsoft Wireless Optical Desktop® 2.10, 0x045e  (Microsoft Corporation), 0x009d, 0xfd170000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x021b, 0x5d200000
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x5d100000
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x1a100000
FireWire Device: TBS12O, OTOSTORE, Up to 800 Mb/sec
------------------------------


Hope that helps..

Thanks,
Nikolay
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Tapple Gao
 
On Tue, Jan 11, 2011 at 11:59:22PM +0300, Nikolay Suslov wrote:

>  
> On Tue, Jan 11, 2011 at 11:02 PM, Eliot Miranda <[hidden email]>wrote:
>
> >
> >
> > What's the case to test?
> >
> >
>
> I use the updated Squeak 4.2-10548-alpha with installed  (
> http://source.squeak.org/FFI) and (http://www.squeaksource.com/CroquetGL)
> packages running on 2346 CogVM.
> Then run "OpenGL example", which produces the  crash.

That crashes for me too on linux

--
Matthew Fulmer (a.k.a. Tapple)
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Tapple Gao
In reply to this post by Tapple Gao
 
On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> So, where can I get some newer stack or interpreter VMs than
> what is on squeakvm.org?

Anyone care to answer the question I actually asked?

--
Matthew Fulmer (a.k.a. Tapple)
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Henrik Sperre Johansen
 
Den 12.01.2011 13:55, skrev Matthew Fulmer:
>  
> On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
>> So, where can I get some newer stack or interpreter VMs than
>> what is on squeakvm.org?
> Anyone care to answer the question I actually asked?
>
http://www.mirandabanda.org/files/Cog/VM/

Cheers,
Henry
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Henrik Sperre Johansen
 
Den 12.01.2011 13:56, skrev Henrik Sperre Johansen:

>  
> Den 12.01.2011 13:55, skrev Matthew Fulmer:
>>  
>> On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
>>> So, where can I get some newer stack or interpreter VMs than
>>> what is on squeakvm.org?
>> Anyone care to answer the question I actually asked?
>>
> http://www.mirandabanda.org/files/Cog/VM/
>
> Cheers,
> Henry
Oh, nevermind, stack or interpreter VM's...
Don't think any newer have officially been made available.

Cheers,
Henry

Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Tapple Gao
In reply to this post by Henrik Sperre Johansen
 
On Wed, Jan 12, 2011 at 01:56:48PM +0100, Henrik Sperre Johansen wrote:
>  
> Den 12.01.2011 13:55, skrev Matthew Fulmer:
> >  
> > On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> >> So, where can I get some newer stack or interpreter VMs than
> >> what is on squeakvm.org?
> > Anyone care to answer the question I actually asked?
> >
> http://www.mirandabanda.org/files/Cog/VM/

stack or interpreter VM, not cog

--
Matthew Fulmer (a.k.a. Tapple)
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

David T. Lewis
In reply to this post by Tapple Gao
 
On Wed, Jan 12, 2011 at 07:55:20AM -0500, Matthew Fulmer wrote:
>  
> On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> > So, where can I get some newer stack or interpreter VMs than
> > what is on squeakvm.org?
>
> Anyone care to answer the question I actually asked?

We are overdue for an official VM build to support Squeak 4.2,
so no updates on squeakvm.org yet, but real soon now.

Dave

Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

David T. Lewis
In reply to this post by Tapple Gao
 
On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
>  
> - Keyboard Up events are incorrect when multiple keys are
>   pressed at once. The latest vm's on squeakvm.org fail,
>   however, they are nearing a year old, and the cog VMs (all
>   newer) don't have this bug.

I'm not familiar with the Keyboard Up event issue. Can you say
how to reproduce this, preferably with a Squeak trunk image?
Sorry if this was discussed before, but I don't recall it.

I was not anticipating any further changes to the interpreter VM
until after this round of "official" builds, but this one sounds
like it may be important.

Thanks!

Dave

Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

Tapple Gao
 
On Wed, Jan 12, 2011 at 12:15:22PM -0500, David T. Lewis wrote:

>  
> On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> >  
> > - Keyboard Up events are incorrect when multiple keys are
> >   pressed at once. The latest vm's on squeakvm.org fail,
> >   however, they are nearing a year old, and the cog VMs (all
> >   newer) don't have this bug.
>
> I'm not familiar with the Keyboard Up event issue. Can you say
> how to reproduce this, preferably with a Squeak trunk image?
> Sorry if this was discussed before, but I don't recall it.
>
> I was not anticipating any further changes to the interpreter VM
> until after this round of "official" builds, but this one sounds
> like it may be important.
File in the attached changeset. (don't show keystroke events)

do: "HandMorph showEvents: true"

quickly, press A, press B, release A, release B.

you should see these flash by the top-left corner of the screen,
and on Cog, this is what you see:

    [keyDown 'a']
    [keyDown 'b']
    [keyUp 'a']
    [keyUp 'b']

on the official VMs, you instead see this:

    [keyDown 'a']
    [keyDown 'b']
    [keyUp 'b']

(you can of course use any two keyboard buttons)

It's an issue on mac and linux at least. Not sure about windows

--
Matthew Fulmer (a.k.a. Tapple)

HandMorph-handleEvent.st (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Where are precompiled stack VMs or interpreter VMs?

David T. Lewis
 
Thanks Matthew,

This is now Mantis 7597: "keyUp events reported incorrectly on SqueakVM".
  http://bugs.squeak.org/view.php?id=7597

Eliot, by any chance do you recall fixing this? Symptoms are
that a keyUp event is reported for the most recently depressed key,
rather than for the key that is actually being released. It works
properly on Cog, and has apparently been broken for some time on
SqueakVM.

Dave


On Wed, Jan 12, 2011 at 08:30:47PM -0500, Matthew Fulmer wrote:

>  
> On Wed, Jan 12, 2011 at 12:15:22PM -0500, David T. Lewis wrote:
> >  
> > On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> > >  
> > > - Keyboard Up events are incorrect when multiple keys are
> > >   pressed at once. The latest vm's on squeakvm.org fail,
> > >   however, they are nearing a year old, and the cog VMs (all
> > >   newer) don't have this bug.
> >
> > I'm not familiar with the Keyboard Up event issue. Can you say
> > how to reproduce this, preferably with a Squeak trunk image?
> > Sorry if this was discussed before, but I don't recall it.
> >
> > I was not anticipating any further changes to the interpreter VM
> > until after this round of "official" builds, but this one sounds
> > like it may be important.
>
> File in the attached changeset. (don't show keystroke events)
>
> do: "HandMorph showEvents: true"
>
> quickly, press A, press B, release A, release B.
>
> you should see these flash by the top-left corner of the screen,
> and on Cog, this is what you see:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'a']
>     [keyUp 'b']
>
> on the official VMs, you instead see this:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'b']
>
> (you can of course use any two keyboard buttons)
>
> It's an issue on mac and linux at least. Not sure about windows
>
> --
> Matthew Fulmer (a.k.a. Tapple)


Reply | Threaded
Open this post in threaded view
|

Incorrect keyUp events on SqueakVM (was: Where are precompiled stack VMs or interpreter VMs?)

David T. Lewis
 
(changing subject line to reflect new topic)

Thanks Matthew,

This is now Mantis 7597: "keyUp events reported incorrectly on SqueakVM".
  http://bugs.squeak.org/view.php?id=7597

Eliot, by any chance do you recall fixing this? Symptoms are
that a keyUp event is reported for the most recently depressed key,
rather than for the key that is actually being released. It works
properly on Cog, and has apparently been broken for some time on
SqueakVM.

Dave


On Wed, Jan 12, 2011 at 08:30:47PM -0500, Matthew Fulmer wrote:

>  
> On Wed, Jan 12, 2011 at 12:15:22PM -0500, David T. Lewis wrote:
> >  
> > On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> > >  
> > > - Keyboard Up events are incorrect when multiple keys are
> > >   pressed at once. The latest vm's on squeakvm.org fail,
> > >   however, they are nearing a year old, and the cog VMs (all
> > >   newer) don't have this bug.
> >
> > I'm not familiar with the Keyboard Up event issue. Can you say
> > how to reproduce this, preferably with a Squeak trunk image?
> > Sorry if this was discussed before, but I don't recall it.
> >
> > I was not anticipating any further changes to the interpreter VM
> > until after this round of "official" builds, but this one sounds
> > like it may be important.
>
> File in the attached changeset. (don't show keystroke events)
>
> do: "HandMorph showEvents: true"
>
> quickly, press A, press B, release A, release B.
>
> you should see these flash by the top-left corner of the screen,
> and on Cog, this is what you see:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'a']
>     [keyUp 'b']
>
> on the official VMs, you instead see this:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'b']
>
> (you can of course use any two keyboard buttons)
>
> It's an issue on mac and linux at least. Not sure about windows
>
> --
> Matthew Fulmer (a.k.a. Tapple)

Reply | Threaded
Open this post in threaded view
|

Re: Incorrect keyUp events on SqueakVM (was: Where are precompiled stack VMs or interpreter VMs?)

Eliot Miranda-2
 
Hi David,

On Wed, Jan 12, 2011 at 6:38 PM, David T. Lewis <[hidden email]> wrote:

(changing subject line to reflect new topic)

Thanks Matthew,

This is now Mantis 7597: "keyUp events reported incorrectly on SqueakVM".
 http://bugs.squeak.org/view.php?id=7597

Eliot, by any chance do you recall fixing this? Symptoms are
that a keyUp event is reported for the most recently depressed key,
rather than for the key that is actually being released. It works
properly on Cog, and has apparently been broken for some time on
SqueakVM.

Which platform?  I infer linux.  [Please can we be more informative in these discussions.  It's hard trying to follow all the VM bugs when people don't specify the platform. please :)]
I did do a fair amount of work on the linux keyboard handling for Teleplace's linux client.  Göran is finding out some "infelicities" in my code, like not answering the right release code for a shiftPress-keyPress-shiftRelease-keyRelease sequence.  So while it might be better than the standard VM it is far from perfect.  Also, the X11 keyboard handling code is, um, /complex/.  

On this tack, on the Mac I notice that the VM isn't sending key-down and key-up events separately but instead sends a key-down, key-up pair when a key is released, which makes it difficult to do raw keyboard stuff where one has to detect if the shift key is dow.  e.g. if one does shiftPress, keyPress, keyRelease, shiftRelease then that arrives in the image as keyPress, keyRelease, shiftPress, shiftRelease, and so the shift key appears /not/ to be pressed when the key is.  John, is there any fundamental reason why this is?  I see the Vm code is explicit about doing this but would anything (apart from lots of existing image code) break if it were fixed?  And is it fixed in the iOS code?

TIA
Eliot


Dave


On Wed, Jan 12, 2011 at 08:30:47PM -0500, Matthew Fulmer wrote:
>
> On Wed, Jan 12, 2011 at 12:15:22PM -0500, David T. Lewis wrote:
> >
> > On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> > >
> > > - Keyboard Up events are incorrect when multiple keys are
> > >   pressed at once. The latest vm's on squeakvm.org fail,
> > >   however, they are nearing a year old, and the cog VMs (all
> > >   newer) don't have this bug.
> >
> > I'm not familiar with the Keyboard Up event issue. Can you say
> > how to reproduce this, preferably with a Squeak trunk image?
> > Sorry if this was discussed before, but I don't recall it.
> >
> > I was not anticipating any further changes to the interpreter VM
> > until after this round of "official" builds, but this one sounds
> > like it may be important.
>
> File in the attached changeset. (don't show keystroke events)
>
> do: "HandMorph showEvents: true"
>
> quickly, press A, press B, release A, release B.
>
> you should see these flash by the top-left corner of the screen,
> and on Cog, this is what you see:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'a']
>     [keyUp 'b']
>
> on the official VMs, you instead see this:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'b']
>
> (you can of course use any two keyboard buttons)
>
> It's an issue on mac and linux at least. Not sure about windows
>
> --
> Matthew Fulmer (a.k.a. Tapple)


Reply | Threaded
Open this post in threaded view
|

Re: Incorrect keyUp events on SqueakVM (was: Where are precompiled stack VMs or interpreter VMs?)

David T. Lewis
 
On Wed, Jan 12, 2011 at 06:47:05PM -0800, Eliot Miranda wrote:

>  
> Hi David,
>
> On Wed, Jan 12, 2011 at 6:38 PM, David T. Lewis <[hidden email]> wrote:
>
> >
> > (changing subject line to reflect new topic)
> >
> > Thanks Matthew,
> >
> > This is now Mantis 7597: "keyUp events reported incorrectly on SqueakVM".
> >  http://bugs.squeak.org/view.php?id=7597
> >
> > Eliot, by any chance do you recall fixing this? Symptoms are
> > that a keyUp event is reported for the most recently depressed key,
> > rather than for the key that is actually being released. It works
> > properly on Cog, and has apparently been broken for some time on
> > SqueakVM.
> >
>
> Which platform?  I infer linux.  [Please can we be more informative in these
> discussions.  It's hard trying to follow all the VM bugs when people don't
> specify the platform. please :)]

Matthew reports that it occurs on mac and linux but he has not tried
Windows. I confirmed it on Linux. I wrote it up on Mantis as follows:

  The standard VM reports keyUp events incorrectly if two keys are
  depressed. The keyUp event is reported for the most recently depressed
  key, not for the key that is actually being released. Works correctly
  on Cog, defect exists for standard VM on unix and Mac (not sure for
  Windows).

> I did do a fair amount of work on the linux keyboard handling for
> Teleplace's linux client.  G?ran is finding out some "infelicities" in my
> code, like not answering the right release code for a
> shiftPress-keyPress-shiftRelease-keyRelease sequence.  So while it might be
> better than the standard VM it is far from perfect.  Also, the X11 keyboard
> handling code is, um, /complex/.

Thanks, that helps narrow it down.

>
> On this tack, on the Mac I notice that the VM isn't sending key-down and
> key-up events separately but instead sends a key-down, key-up pair when a
> key is released, which makes it difficult to do raw keyboard stuff where one
> has to detect if the shift key is dow.  e.g. if one does shiftPress,
> keyPress, keyRelease, shiftRelease then that arrives in the image as
> keyPress, keyRelease, shiftPress, shiftRelease, and so the shift key appears
> /not/ to be pressed when the key is.  John, is there any fundamental reason
> why this is?  I see the Vm code is explicit about doing this but would
> anything (apart from lots of existing image code) break if it were fixed?
>  And is it fixed in the iOS code?
>
> TIA
> Eliot
>
>
> > Dave
> >
> >
> > On Wed, Jan 12, 2011 at 08:30:47PM -0500, Matthew Fulmer wrote:
> > >
> > > On Wed, Jan 12, 2011 at 12:15:22PM -0500, David T. Lewis wrote:
> > > >
> > > > On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> > > > >
> > > > > - Keyboard Up events are incorrect when multiple keys are
> > > > >   pressed at once. The latest vm's on squeakvm.org fail,
> > > > >   however, they are nearing a year old, and the cog VMs (all
> > > > >   newer) don't have this bug.
> > > >
> > > > I'm not familiar with the Keyboard Up event issue. Can you say
> > > > how to reproduce this, preferably with a Squeak trunk image?
> > > > Sorry if this was discussed before, but I don't recall it.
> > > >
> > > > I was not anticipating any further changes to the interpreter VM
> > > > until after this round of "official" builds, but this one sounds
> > > > like it may be important.
> > >
> > > File in the attached changeset. (don't show keystroke events)
> > >
> > > do: "HandMorph showEvents: true"
> > >
> > > quickly, press A, press B, release A, release B.
> > >
> > > you should see these flash by the top-left corner of the screen,
> > > and on Cog, this is what you see:
> > >
> > >     [keyDown 'a']
> > >     [keyDown 'b']
> > >     [keyUp 'a']
> > >     [keyUp 'b']
> > >
> > > on the official VMs, you instead see this:
> > >
> > >     [keyDown 'a']
> > >     [keyDown 'b']
> > >     [keyUp 'b']
> > >
> > > (you can of course use any two keyboard buttons)
> > >
> > > It's an issue on mac and linux at least. Not sure about windows
> > >
> > > --
> > > Matthew Fulmer (a.k.a. Tapple)
> >
> >

Reply | Threaded
Open this post in threaded view
|

Re: Incorrect keyUp events on SqueakVM (was: Where are precompiled stack VMs or interpreter VMs?)

johnmci
In reply to this post by Eliot Miranda-2
 
The complex key up/down/char code is per Andreas historical intent for windows.  See the commentary in http://isqueak.org/ioGetNextEvent

The modifier keys were not an event on os-9, they were inferred by add them to mouse coordinate data which then would be processed by the event polling in the image. 
On os-x those do come in as events, and we painfully attempt to adhere to the windows standard.

Also btw windows has many flaws for multi-stroke dead key input where you have to figure out the mac os key code, the virtual key, or the unicode.  On the mac we can supply all three at any point, but were told that is impossible under windows.  

Likely changes would cause tweak to die as it has a different opinion of how the intent of the character is arrived at versus squeak. 

On 2011-01-12, at 6:47 PM, Eliot Miranda wrote:

Hi David,

On Wed, Jan 12, 2011 at 6:38 PM, David T. Lewis <[hidden email]> wrote:

(changing subject line to reflect new topic)

Thanks Matthew,

This is now Mantis 7597: "keyUp events reported incorrectly on SqueakVM".
 http://bugs.squeak.org/view.php?id=7597

Eliot, by any chance do you recall fixing this? Symptoms are
that a keyUp event is reported for the most recently depressed key,
rather than for the key that is actually being released. It works
properly on Cog, and has apparently been broken for some time on
SqueakVM.

Which platform?  I infer linux.  [Please can we be more informative in these discussions.  It's hard trying to follow all the VM bugs when people don't specify the platform. please :)]
I did do a fair amount of work on the linux keyboard handling for Teleplace's linux client.  Göran is finding out some "infelicities" in my code, like not answering the right release code for a shiftPress-keyPress-shiftRelease-keyRelease sequence.  So while it might be better than the standard VM it is far from perfect.  Also, the X11 keyboard handling code is, um, /complex/.  

On this tack, on the Mac I notice that the VM isn't sending key-down and key-up events separately but instead sends a key-down, key-up pair when a key is released, which makes it difficult to do raw keyboard stuff where one has to detect if the shift key is dow.  e.g. if one does shiftPress, keyPress, keyRelease, shiftRelease then that arrives in the image as keyPress, keyRelease, shiftPress, shiftRelease, and so the shift key appears /not/ to be pressed when the key is.  John, is there any fundamental reason why this is?  I see the Vm code is explicit about doing this but would anything (apart from lots of existing image code) break if it were fixed?  And is it fixed in the iOS code?

TIA
Eliot


Dave


On Wed, Jan 12, 2011 at 08:30:47PM -0500, Matthew Fulmer wrote:
>
> On Wed, Jan 12, 2011 at 12:15:22PM -0500, David T. Lewis wrote:
> >
> > On Tue, Jan 11, 2011 at 12:45:14PM -0500, Matthew Fulmer wrote:
> > >
> > > - Keyboard Up events are incorrect when multiple keys are
> > >   pressed at once. The latest vm's on squeakvm.org fail,
> > >   however, they are nearing a year old, and the cog VMs (all
> > >   newer) don't have this bug.
> >
> > I'm not familiar with the Keyboard Up event issue. Can you say
> > how to reproduce this, preferably with a Squeak trunk image?
> > Sorry if this was discussed before, but I don't recall it.
> >
> > I was not anticipating any further changes to the interpreter VM
> > until after this round of "official" builds, but this one sounds
> > like it may be important.
>
> File in the attached changeset. (don't show keystroke events)
>
> do: "HandMorph showEvents: true"
>
> quickly, press A, press B, release A, release B.
>
> you should see these flash by the top-left corner of the screen,
> and on Cog, this is what you see:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'a']
>     [keyUp 'b']
>
> on the official VMs, you instead see this:
>
>     [keyDown 'a']
>     [keyDown 'b']
>     [keyUp 'b']
>
> (you can of course use any two keyboard buttons)
>
> It's an issue on mac and linux at least. Not sure about windows
>
> --
> Matthew Fulmer (a.k.a. Tapple)



--
===========================================================================
John M. McIntosh <[hidden email]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================