[Vm-dev] VM Crash LocaleTest>> beginning with Cog Spur 16.13 on Windows

Levente Uzonyi leves at caesar.elte.hu
Thu May 19 21:15:38 UTC 2016


The thing is that SqueakSSL accesses the interpreterProxy object 
differently. It has a setInterpreter function, which probably gets called 
by something, but there's no such function for the UUIDPlugin, so I 
suspect that interpreterProxy will not be set.
But at this point the only way to find out the real cause is to use a 
debugger.

Levente

On Thu, 19 May 2016, Tobias Pape wrote:

>
> Try SqueakSSL, it surely is external.
>
> best regards
> 	-Tobias
> On 19.05.2016, at 20:24, Rein, Patrick <Patrick.Rein at hpi.de> wrote:
>
>>
>> I have only quickly installed and tried the FFI package and all tests ran just fine. However, when I open the about the system tool it shows the following:
>>
>> B2DPlugin VMMaker.oscog-eem.1702 (i)
>> BitBltPlugin VMMaker.oscog-eem.1746 (i)
>> FilePlugin VMMaker.oscog-eem.1740 (i)
>> FloatArrayPlugin VMMaker.oscog-eem.1702 (i)
>> LargeIntegers v1.5 VMMaker.oscog-eem.1746 (i)
>> Matrix2x3Plugin VMMaker.oscog-eem.1702 (i)
>> MiscPrimitivePlugin VMMaker.oscog-eem.1702 (i)
>> SecurityPlugin VMMaker.oscog-eem.1702 (i)
>> SocketPlugin VMMaker.oscog-eem.1716 (i)
>> SoundPlugin VMMaker.oscog-eem.1716 (i)
>> SqueakFFIPrims
>> SurfacePlugin Mar 10 2016 (i)
>> Win32OSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-eem.53 (e)
>> ZipPlugin VMMaker.oscog-eem.1702 (i)
>>
>> So I am not sure whether the FFI Plugin was actually loaded from the dll? Regarding OSProcess, I experience some difficulties loading it and I will tried it again tomorrow with a fresh mind. :)
>>
>> Bests
>> Patrick
>> ________________________________________
>> From: vm-dev-bounces at lists.squeakfoundation.org <vm-dev-bounces at lists.squeakfoundation.org> on behalf of Levente Uzonyi <leves at caesar.elte.hu>
>> Sent: Thursday, May 19, 2016 19:24
>> To: Squeak Virtual Machine Development Discussion
>> Subject: Re: AW: AW: AW: AW: [Vm-dev] VM Crash LocaleTest>> beginning with      Cog     Spur    16.13   on      Windows
>>
>> Hi Patrick,
>>
>> One more question remains: is it related to the UUID plugin, or do all
>> externally built plugins fail. If I'm not mistaken, besides UUID, only FFI
>> and OSProcess have external plugins on windows, so it would be great if
>> you could check one of those.
>>
>> Levente
>>
>> On Thu, 19 May 2016, Rein, Patrick wrote:
>>
>>>
>>> Hi Levente,
>>>
>>> I already had the two VM versions set up so that was not a lot of effort. As you suspected the 3643 build works fine while the 3663 build crashes.
>>>
>>> Patrick
>>> ________________________________________
>>> Von: vm-dev-bounces at lists.squeakfoundation.org <vm-dev-bounces at lists.squeakfoundation.org> im Auftrag von Levente Uzonyi <leves at caesar.elte.hu>
>>> Gesendet: Donnerstag, 19. Mai 2016 18:15
>>> An: Squeak Virtual Machine Development Discussion
>>> Betreff: Re: AW: AW: AW: [Vm-dev] VM Crash LocaleTest>> beginning with Cog      Spur    16.13   on      Windows
>>>
>>> Hi Patrick,
>>>
>>> Thanks for clarifying this. So UUIDPlugin has issues on Windows. If you
>>> have the time, then please do a binary search on the VM releases to find
>>> when the breakage happened. If I were you, I would start with 3643[1],
>>> because that was released before the recent update of UUIDPlugin, and then
>>> I would go for 3663[2], which was probably released afterwards.
>>>
>>> Levente
>>>
>>> [1] http://www.mirandabanda.org/files/Cog/VM/VM.r3643/
>>> [2] http://www.mirandabanda.org/files/Cog/VM/VM.r3663/
>>>
>>> On Thu, 19 May 2016, Rein, Patrick wrote:
>>>
>>>>
>>>> Hi Levente,
>>>>
>>>> I was not sure whether I should construct a new BlockClosure or execute the BlockClosure so I did both. :)
>>>> Constructing the Block did not crash the VM. Executing both blocks crashed the VM.
>>>>
>>>> Bests
>>>> Patrick
>>>> ________________________________________
>>>> Von: vm-dev-bounces at lists.squeakfoundation.org <vm-dev-bounces at lists.squeakfoundation.org> im Auftrag von Levente Uzonyi <leves at caesar.elte.hu>
>>>> Gesendet: Donnerstag, 19. Mai 2016 17:40
>>>> An: Squeak Virtual Machine Development Discussion
>>>> Betreff: Re: AW: AW: [Vm-dev] VM Crash LocaleTest>> beginning with Cog Spur     16.13   on      Windows
>>>>
>>>> Hi Patrick,
>>>>
>>>> Does the VM crash when you evaluate [UUID new] in your image?
>>>> If not, then does it happen with [1000000 timesRepeat: [UUID new]]?
>>>>
>>>> Levente
>>>>
>>>> On Thu, 19 May 2016, Rein, Patrick wrote:
>>>>
>>>>>
>>>>> Hi Levente,
>>>>>
>>>>> yes, however the crash dump is rather short:
>>>>>
>>>>> Thu May 19 14:39:55 2016
>>>>>
>>>>> Exception code: C0000005
>>>>> Exception addr: 001C1003
>>>>> Access violation (read access) at 954C205C
>>>>> EAX:001C100A  EBX:00A8A628    ECX:00006E69    EDX:00000001
>>>>> ESI:001C0000  EDI:001C1000    EBP:0094D888    ESP:0094D888
>>>>> EIP:001C1003  EFL:00010206
>>>>> FP Control: 0000027F
>>>>> FP Status:  00000020
>>>>> FP Tag:     0000FFFF
>>>>>
>>>>> Crashed in the VM thread
>>>>>
>>>>> Hardware information:
>>>>>      Manufacturer: Unknown
>>>>>      Model: Unknown
>>>>>      Number of processors: 4
>>>>>      Page size: 4096
>>>>>
>>>>> Memory Information (upon launch):
>>>>>      Physical Memory Size: 4194303 kbytes
>>>>>      Physical Memory Free: 4194303 kbytes
>>>>>      Page File Size: 4194303 kbytes
>>>>>      Page File Free: 4194303 kbytes
>>>>>      Virtual Memory Size: 4194176 kbytes
>>>>>      Virtual Memory Free: 4098504 kbytes
>>>>>      Memory Load: 26 percent
>>>>>
>>>>> Processor 0: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz
>>>>>      Identifier: Intel64 Family 6 Model 78 Stepping 3
>>>>>      ~MHZ: 2208
>>>>>
>>>>> Processor 1: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz
>>>>>      Identifier: Intel64 Family 6 Model 78 Stepping 3
>>>>>      ~MHZ: 2208
>>>>>
>>>>> Processor 2: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz
>>>>>      Identifier: Intel64 Family 6 Model 78 Stepping 3
>>>>>      ~MHZ: 2208
>>>>>
>>>>> Processor 3: Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz
>>>>>      Identifier: Intel64 Family 6 Model 78 Stepping 3
>>>>>      ~MHZ: 2208
>>>>>
>>>>> Operating System: Windows 10 Pro (Build 9200 )
>>>>>      Registered Owner: ???
>>>>>      Registered Company: ???
>>>>>      SP major version: 0
>>>>>      SP minor version: 0
>>>>>      Suite mask: 100
>>>>>      Product type: 1
>>>>>
>>>>> Display Information:
>>>>>      Graphics adapter name: Intel(R) Iris(TM) Graphics 540
>>>>>      Primary monitor resolution: 2560 x 1440
>>>>>
>>>>> Device: Intel(R) Iris(TM) Graphics 540
>>>>>      Adapter String: Intel(R) Iris(TM) Pro Graphics 540
>>>>>      Bios String: Intel Video BIOS
>>>>>      Chip Type: Intel(R) Iris(TM) Graphics Family
>>>>>      DAC Type: Internal
>>>>>      Memory Size: 0x40000000
>>>>>
>>>>> Driver Versions:
>>>>>      igdumdim64:
>>>>>
>>>>> VM Version: Cog Spur VM 5.0 (release) from May  2 2016
>>>>> Compiler: gcc 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
>>>>> Interpreter Build: CoInterpreter VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May  2 2016
>>>>> Cogit Build: StackToRegisterMappingCogit VMMaker.oscog-nice.1853 uuid: 3ff63b2d-9dc9-4d6a-b3ff-fb6d37f1085e May  2 2016
>>>>> Source Version: VM: r3692 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2016-05-01 22:12:46 -0700
>>>>> Plugins: r3688 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
>>>>>
>>>>> Current byte code: 212
>>>>> Primitive index: 117
>>>>> ________________________________________
>>>>> Von: vm-dev-bounces at lists.squeakfoundation.org <vm-dev-bounces at lists.squeakfoundation.org> im Auftrag von Levente Uzonyi <leves at caesar.elte.hu>
>>>>> Gesendet: Donnerstag, 19. Mai 2016 15:08
>>>>> An: Squeak Virtual Machine Development Discussion
>>>>> Betreff: Re: AW: [Vm-dev] VM Crash LocaleTest>> beginning with Cog Spur 16.13   on      Windows
>>>>>
>>>>> Do you have a crash.dmp file to share_
>>>>>
>>>>> Levente
>>>>>
>>>>> On Thu, 19 May 2016, Rein, Patrick wrote:
>>>>>
>>>>>>
>>>>>> Hi everyone,
>>>>>>
>>>>>> I have executed some other tests which also failed and boiled it down to the UUID class. After commenting out the primMakeUUID the tests stopped crashing the VM so that seems to be the cause.
>>>>>> I hope that helps somehow :)
>>>>>>
>>>>>> Bests
>>>>>> Patrick
>>>>>> ________________________________________
>>>>>> Von: vm-dev-bounces at lists.squeakfoundation.org <vm-dev-bounces at lists.squeakfoundation.org> im Auftrag von Rein, Patrick
>>>>>> Gesendet: Donnerstag, 19. Mai 2016 13:40
>>>>>> An: vm-dev at lists.squeakfoundation.org
>>>>>> Betreff: [Vm-dev] VM Crash LocaleTest>> beginning with Cog Spur 16.13 on        Windows
>>>>>>
>>>>>> Hi everyone,
>>>>>>
>>>>>> just wanted to let you know that the LocaleTest crashes the VM for builds
>>>>>> after and including Cog with Spur on Windows version number 16.13. The crash
>>>>>> dump does neither contain a Smalltalk nor a C trace and the VM crashes at
>>>>>> the primitive 117. It is somewhat unclear what the issue might be. Are there
>>>>>> any more information that could help you on that?
>>>>>>
>>>>>> Bests
>>>>>> Patrick
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context: http://forum.world.st/VM-Crash-LocaleTest-beginning-with-Cog-Spur-16-13-on-Windows-tp4896004.html
>>>>>> Sent from the Squeak VM mailing list archive at Nabble.com.
>
>
>


More information about the Vm-dev mailing list