[Vm-dev] (no subject)

Ben Coman btc at openinworld.com
Tue Mar 21 14:26:14 UTC 2017


Probably lots of things different at this level that just side-steps
the problem,
but just for additional info, following Hernan's steps does crash Pharo.


System > Settings > Tools > Debugging Directly open the full Debugger =
   tried both unticked and ticked

System > Recent Tools > Debugger =
   tried both GTGenericStackDebugger and Spec Debugger


cheers -ben


On Tue, Mar 21, 2017 at 9:01 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> The crash *only* happens when the message is inside a block, and in the debugger the second context is selected. In the pre-debug window it works fine, if any other context is selected it's fine, and without the block it's fine, too.
>
> - Bert -
>
> On Tue, Mar 21, 2017 at 1:35 PM, Hernan Wilkinson <hernan.wilkinson at 10pines.com> wrote:
>>
>>
>> Hi Bert! thank you for trying it with Squeak.
>> Eliot, I'm attaching a squeak change set you can file in that shows the create button on the debugger and therefore you will be able to reproduce the same sequence on Squeak.
>> I hope this help!
>>
>> Hernan.
>> PS: Sorry for the subject, I forgot to write it in the first email :-)
>>
>>
>> On Tue, Mar 21, 2017 at 8:47 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>>
>>>
>>> My Squeak crashes doing this, both in 32 and 64 bits, in primitiveSlotAt/mustMapMachineCodePCcontext.
>>>
>>> In step 4 of Hernan's instructions I executed "self createMethod" in an inspector on the debugger (because we don't have the "create" button anymore in Squeak apparently).
>>>
>>> Here's the 64 bit crash:
>>>
>>> 4   libsystem_platform.dylib       0x00007fff8615552a _sigtramp + 26
>>> 5   ???                           000000000000000000 0 + 0
>>> 6   org.squeak.Squeak$(VM_MONIKER) 0x000000010c7d0b01 mustMapMachineCodePCcontext + 343
>>> 7   org.squeak.Squeak$(VM_MONIKER) 0x000000010c7fdc7f primitiveSlotAt + 582
>>> 8   ???                           0x000000011278015e 0 + 4604821854
>>> 9   org.squeak.Squeak$(VM_MONIKER) 0x000000010c7c0891 interpret + 631
>>>
>>> And this is the 32 bit one:
>>>
>>> 4   libsystem_platform.dylib       0x9028579b _sigtramp + 43
>>> 5   ???                           0xffffffff 0 + 4294967295
>>> 6   org.squeak.Squeak$(VM_MONIKER) 0x00088e70 getCrashDumpFilenameInto + 82
>>> 7   org.squeak.Squeak$(VM_MONIKER) 0x00024f76 mustMapMachineCodePCcontext + 300
>>> 8   org.squeak.Squeak$(VM_MONIKER) 0x00027396 externalInstVarofContext + 97
>>> 9   org.squeak.Squeak$(VM_MONIKER) 0x0004fa0e primitiveSlotAt + 505
>>> 10  org.squeak.Squeak$(VM_MONIKER) 0x00028461 executeNewMethod + 145
>>> 11  org.squeak.Squeak$(VM_MONIKER) 0x00029218 ceSendsupertonumArgs + 885
>>> 12  ???                           0x04fdb0a3 0 + 83734691
>>> 13  org.squeak.Squeak$(VM_MONIKER) 0x00016393 interpret + 751
>>>
>>>
>>> - Bert -
>>>
>>> On Mon, Mar 20, 2017 at 10:45 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>>>>
>>>>
>>>> Hi Hernan,
>>>>
>>>>     I just tried to reproduce in Squeak and there it does not crash.  So perhaps there's some preparation necessary that Cuis does not do?  I don't have time to look at the Cuis image right now.  Perhaps remind me early next week?
>>>>
>>>> On Mon, Mar 20, 2017 at 6:29 AM, Hernan Wilkinson <hernan.wilkinson at gmail.com> wrote:
>>>>>
>>>>>
>>>>> Hi,
>>>>>  I wanted to report a crash of the Mac Spur VM (32 and 64 bits) when doing the following on the Cuis 5.0, version 3064 image:
>>>>>
>>>>> 1) On a workspace write: [ 1 xxx ] value
>>>>> 2) evaluate it
>>>>> 3) when the debuggers opens, select the second context from the context debugger's list (that is, the context previous the top one, where the [ 1 xxx ] is)
>>>>> 4) press the "Create" button to create the method
>>>>> 5) select Integer
>>>>> 6) select "as yet unclassified"
>>>>> 7) here is where it crashes
>>>>>
>>>>> It happens on the 64 and 32 bits VMs for the MAC (I did not try it with Linux neither Windows)
>>>>> I'm using Cuis5.0-3064-spur-64.image and Cuis5.0-3064-spur.image (32 bits) (The latest version of Cuis solves this problem selecting automatically the top of the context list when creating the method)
>>>>> The same sequence on a stack VM shows the "emergency evaluator" and does not crashes
>>>>> Attached is the dump of the 64 bits VM.
>>>>>
>>>>> Hernan.
>>>>>
>>>>>
>>>>> --
>>>>> Hernán Wilkinson
>>>>> Agile Software Development, Teaching & Coaching
>>>>> Phone: +54 - 011 - 6091 - 3125
>>>>> Mobile: +54 - 911 - 4470 - 7207
>>>>> email: hernan.wilkinson at 10Pines.com
>>>>> site: http://www.10Pines.com
>>>>> Address: Alem 693, Floor 5 B, Buenos Aires, Argentina
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> _,,,^..^,,,_
>>>> best, Eliot
>>>>
>>>
>>>
>>
>>
>>
>> --
>> Hernán Wilkinson
>> Agile Software Development, Teaching & Coaching
>> Phone: +54-011-4893-2057
>> Twitter: @HernanWilkinson
>> site: http://www.10Pines.com
>> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>
>
>


More information about the Vm-dev mailing list