[squeak-dev] New Cog & Spur VMs available

Stéphane Rollandin lecteur at zogotounga.net
Sun Jun 15 17:27:54 UTC 2014


>     I got a crash right away with newest cogwin when opening my usual
>     working image. No simple case easy to reproduce yet. Dump is attached.
>
>
> Thanks.  This is fixed in VMMaker.oscog-eem.772.  It was an overzealous
> bounds check on a relocated call of an interpreter primitive.  The VM
> complained and aborted because the interpreter primitive;s address was
> out of the code zone (as of course it should be; it is in the
> interpreter)  i.e. the VM should not have performed the check and should
> not have exited.  Apologies.  I'll be building and uploading new VMs soon.
>

Unfortunately I still get a crash with the r3000 VM, with the pop-up 
saying "relocating call to invalid address"

Dump attached.

Stef
-------------- next part --------------
---------------------------------------------------------------------
Sun Jun 15 19:25:28 2014
 d:\devel\surmulot\squeak\vm\cog\squeak.exe

Error in the VM thread
Reason: relocating call to invalid address



Hardware information: 
	Manufacturer: Unknown
	Model: Unknown
	Number of processors: 8
	Page size: 4096

Memory Information (upon launch):
	Physical Memory Size: 4103956 kbytes
	Physical Memory Free: 1644476 kbytes
	Page File Size: 4194303 kbytes
	Page File Free: 4194303 kbytes
	Virtual Memory Size: 2097024 kbytes
	Virtual Memory Free: 2023376 kbytes
	Memory Load: 59 percent

Processor 0: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 1: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 2: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 3: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 4: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 5: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 6: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Processor 7: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
	Identifier: Intel64 Family 6 Model 42 Stepping 7
	~MHZ: 1995

Operating System: Windows 7 Ultimate (Build 7601 Service Pack 1)
	Registered Owner: Stef
	Registered Company: 
	SP major version: 1
	SP minor version: 0
	Suite mask: 100
	Product type: 1

Display Information: 
	Graphics adapter name: Intel(R) HD Graphics Family
	Primary monitor resolution: 1366 x 768

Device: RDPDD Chained DD
	Adapter String: ???
	Bios String: ???
	Chip Type: ???
	DAC Type: ???
	Memory Size: 0xFFFFFFFF

Driver Versions:
	RDPDD: 

VM Version: Cog VM 4.0.0 (release) from Jun 13 2014
Compiler: gcc 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Interpreter Build: CoInterpreter VMMaker.oscog-eem.746 uuid: cc4961d3-e629-4e28-b308-88eab314a8c9 Jun 13 2014
Cogit Build: StackToRegisterMappingCogit VMMaker.oscog-eem.766 uuid: 3045c341-cfbf-494c-a7b1-fb29c26a7340 Jun 13 2014
Source Version: VM: r3000 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2014-06-13 20:36:18 -0700
Plugins: r2954 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins

Current byte code: 16
Primitive index: 0

Loaded plugins:
	SocketPlugin VMMaker.oscog-eem.580 (i)
	B2DPlugin VMMaker.oscog-eem.702 (i)
	BitBltPlugin VMMaker.oscog-eem.655 (i)
	Win32OSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-eem.48 (e)
	SecurityPlugin VMMaker.oscog-eem.580 (i)
	FilePlugin VMMaker.oscog-eem.702 (i)
	LargeIntegers v1.5 VMMaker.oscog-eem.580 (i)
	MiscPrimitivePlugin VMMaker.oscog-eem.702 (i)

Module information:
	00400000 - 005b7000: d:\devel\surmulot\squeak\vm\cog\squeak.exe
	10000000 - 10005000: C:\Program Files (x86)\Unlocker\UnlockerHook.dll
	10010000 - 10110004: CogCode
	609c0000 - 60a88000: C:\Windows\system32\OPENGL32.DLL
	60a90000 - 60ab5000: C:\Windows\system32\dinput.dll
	60ac0000 - 60ae2000: C:\Windows\system32\GLU32.dll
	60b60000 - 60b65000: C:\Windows\system32\SHFolder.dll
	67580000 - 67598000: d:\devel\surmulot\squeak\vm\cog\Win32OSProcessPlugin.DLL
	6c240000 - 6c267000: C:\Windows\system32\crtdll.dll
	708a0000 - 708a5000: C:\Windows\System32\wshtcpip.dll
	70a50000 - 70a5d000: C:\Windows\system32\wshbth.dll
	70a60000 - 70a87000: C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
	70a90000 - 70a98000: C:\Windows\System32\winrnr.dll
	70aa0000 - 70adc000: C:\Windows\System32\mswsock.dll
	70ae0000 - 70af2000: C:\Windows\system32\pnrpnsp.dll
	70b00000 - 70b10000: C:\Windows\system32\napinsp.dll
	70b10000 - 70b20000: C:\Windows\system32\NLAapi.dll
	70de0000 - 70de6000: C:\Windows\system32\DCIMAN32.dll
	70e00000 - 70ee7000: C:\Windows\system32\DDRAW.dll
	72e00000 - 72e13000: C:\Windows\system32\dwmapi.dll
	72e20000 - 72e52000: C:\Windows\system32\WINMM.dll
	72fe0000 - 73060000: C:\Windows\system32\uxtheme.dll
	74640000 - 747de000: C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
	747f0000 - 74834000: C:\Windows\system32\DNSAPI.dll
	74c00000 - 74c09000: C:\Windows\system32\VERSION.dll
	74c10000 - 74c17000: C:\Windows\system32\WSOCK32.DLL
	74cf0000 - 74d23000: C:\Windows\SysWOW64\nvinit.dll
	74e00000 - 74e0c000: C:\Windows\syswow64\CRYPTBASE.dll
	74e10000 - 74e70000: C:\Windows\syswow64\SspiCli.dll
	74e70000 - 74ed0000: C:\Windows\system32\IMM32.DLL
	74ed0000 - 74ee9000: C:\Windows\SysWOW64\sechost.dll
	74f00000 - 74f05000: C:\Windows\syswow64\PSAPI.DLL
	74f30000 - 74fab000: C:\Windows\syswow64\COMDLG32.DLL
	74fb0000 - 75050000: C:\Windows\syswow64\ADVAPI32.DLL
	75050000 - 750ed000: C:\Windows\syswow64\USP10.dll
	750f0000 - 7528d000: C:\Windows\syswow64\SETUPAPI.dll
	752c0000 - 752d2000: C:\Windows\syswow64\DEVOBJ.dll
	75670000 - 756c7000: C:\Windows\syswow64\SHLWAPI.dll
	756d0000 - 75760000: C:\Windows\syswow64\GDI32.dll
	75850000 - 758df000: C:\Windows\syswow64\OLEAUT32.dll
	75900000 - 759ac000: C:\Windows\syswow64\msvcrt.dll
	759b0000 - 759ba000: C:\Windows\syswow64\LPK.dll
	759c0000 - 759c6000: C:\Windows\syswow64\NSI.dll
	75bd0000 - 75c9c000: C:\Windows\syswow64\MSCTF.dll
	75ca0000 - 75ce7000: C:\Windows\syswow64\KERNELBASE.dll
	75cf0000 - 7693a000: C:\Windows\syswow64\SHELL32.dll
	76940000 - 76967000: C:\Windows\syswow64\CFGMGR32.dll
	76970000 - 76a80000: C:\Windows\syswow64\kernel32.dll
	76b10000 - 76c6c000: C:\Windows\syswow64\OLE32.dll
	76d90000 - 76dc5000: C:\Windows\syswow64\WS2_32.dll
	76e20000 - 76f20000: C:\Windows\syswow64\USER32.dll
	76f20000 - 77010000: C:\Windows\syswow64\RPCRT4.dll
	77410000 - 77590000: C:\Windows\SysWOW64\ntdll.dll

Primitive trace:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
relinquishProcessorForMicroseconds:
millisecondClockValue
signal
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
primSignal:atMilliseconds:
millisecondClockValue
wait
millisecondClockValue
@
actualScreenSize
millisecondClockValue
millisecondClockValue
new:
primGetNextEvent:
at:put:
getSystemAttribute:
compare:with:collated:
at:put:
clone
wait
at:put:
signal
signal
@
primGetNextEvent:
at:put:
getSystemAttribute:
compare:with:collated:
at:put:
clone
wait
at:put:
signal
signal
@
primGetNextEvent:
at:put:
getSystemAttribute:
compare:with:collated:
at:put:
clone
wait
at:put:
signal
signal
@
primGetNextEvent:
wait
wait
at:put:
signal
@
new:
basicNew
@
at:put:
millisecondClockValue
new:
primGetNextEvent:
wait
signal
signal
wait
wait
at:put:
signal
@
new:
replaceFrom:to:with:startingAt:
at:put:
millisecondClockValue
new:
primGetNextEvent:
wait
signal
signal
wait
wait
at:put:
signal
@
at:put:
millisecondClockValue
new:
primGetNextEvent:
new:
replaceFrom:to:with:startingAt:
basicNew
@
@
@
basicNew
@
@
basicNew
@
@
basicNew
basicNew
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
basicNew
new:
at:put:
at:put:
new:
basicNew
basicNew
basicNew
basicNew
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
shallowCopy
perform:with:with:
identityHash
new:
replaceFrom:to:with:startingAt:
at:put:
at:put:
at:put:
at:put:
at:put:
new:
replaceFrom:to:with:startingAt:
at:put:
clone
shallowCopy
wait
signal
wait
signal
clone
new:
replaceFrom:to:with:startingAt:
shallowCopy
shallowCopy
@
basicNew
basicNew:
basicNew
basicNew
@
@
basicNew
@
@
@
basicNew
**CompactCode**


Stack backtrace:
	[004405A2] _relocateCallBeforeReturnPCby + 126 in squeak.exe
	[00440BDD] _compactCogCompiledCode + 1526 in squeak.exe
	[00403664] _commenceCogCompiledCodeCompaction + 191 in squeak.exe
	[00421768] _checkForEventsMayContextSwitch + 709 in squeak.exe
	[0042186A] _handleStackOverflowOrEventAllowContextSwitch + 32 in squeak.exe
	[0042AD87] _interpret + 13535 in squeak.exe
	[0042D87C] _enterSmalltalkExecutiveImplementation + 102 in squeak.exe
	[00427ACD] _interpret + 549 in squeak.exe
	[0044D51C] _sqMain + 1052 in squeak.exe
	[0044E4C5] _WinMain at 16 + 449 in squeak.exe
	[0052B438] _main + 264 in squeak.exe
	[0040124B] ___mingw_CRTStartup + 251 in squeak.exe
	[004012B8] _WinMainCRTStartup + 24 in squeak.exe
	[7698338A] AcquireSRWLockExclusive + 18 in kernel32.dll
	[77449F72] RtlInsertElementGenericTableAvl + 99 in ntdll.dll
	[77449F45] RtlInsertElementGenericTableAvl + 54 in ntdll.dll
	[1010BCA1] reset + 41 in CogCode


Smalltalk stack dump:
  0x9794fc I BottomLeftGripMorph>borderOffset 0x11953abc: a(n) BottomLeftGripMorph
  0x979528 I BottomLeftGripMorph(CornerGripMorph)>clipForm: 0x11953abc: a(n) BottomLeftGripMorph
  0x97954c I BottomLeftGripMorph(CornerGripMorph)>activeForm 0x11953abc: a(n) BottomLeftGripMorph
  0x97956c I BottomLeftGripMorph(CornerGripMorph)>setInverseColors 0x11953abc: a(n) BottomLeftGripMorph
  0x979584 M BottomLeftGripMorph>(nil) 0x11953abc: a(n) BottomLeftGripMorph
  0x9795a0 M BottomLeftGripMorph>(nil) 0x11953abc: a(n) BottomLeftGripMorph
  0x9795bc M MouseMoveEvent>(nil) 0x11aac0f0: a(n) MouseMoveEvent
  0x96ec10 M MouseMoveEvent>(nil) 0x11aac0f0: a(n) MouseMoveEvent
  0x96ec2c M BottomLeftGripMorph>(nil) 0x11953abc: a(n) BottomLeftGripMorph
  0x96ec54 M [] in MouseOverHandler>(nil) 0x1193c4b4: a(n) MouseOverHandler
  0x96ec74 M Array>(nil) 0x11aabfdc: a(n) Array
  0x96ec9c M MouseOverHandler>(nil) 0x1193c4b4: a(n) MouseOverHandler
  0x96ecc0 M HandMorph>(nil) 0x10322c9c: a(n) HandMorph
  0x96ecec M HandMorph(Canvas)>roundCornersOf:during: 0x10322c9c: a(n) HandMorph
  0x96ed08 M [] in WorldState>(nil) 0x10125c10: a(n) WorldState
  0x96ed2c M Array>(nil) 0x10121630: a(n) Array
  0x96ed48 M WorldState>(nil) 0x10125c10: a(n) WorldState
  0x96ed68 M WorldState>(nil) 0x10125c10: a(n) WorldState
  0x96ed84 M WorldState>(nil) 0x10125c10: a(n) WorldState
  0x96eda0 M PasteUpMorph>(nil) 0x104a9af0: a(n) PasteUpMorph
  0x96edc0 I [] in MorphicProject>spawnNewProcess 0x1057fe68: a(n) MorphicProject
0x116ac698 s [] in BlockClosure>newProcess



More information about the Squeak-dev mailing list