[Vm-dev] Crash on start-up.

Igor Stasenko siguctua at gmail.com
Sun Mar 22 10:40:55 UTC 2009


2009/3/22 Igor Stasenko <siguctua at gmail.com>:
> 2009/3/22 Michael van der Gulik <mikevdg at gmail.com>:
>>
>>
>>
>> On Sun, Mar 22, 2009 at 4:55 PM, Michael van der Gulik <mikevdg at gmail.com> wrote:
>>>
>>> <snip>
>>> >>> Hi VM guys.
>>> >>>
>>> >>> Does anybody have any insights into the following?:
>>
>> <bigger snip>
>>
>> I've isolated the bug. To reproduce, do the following in a disposable image:
>>
>> Sensor primSetInputSemaphore: (Semaphore new).
>>
>
> self
>        primSetInputSemaphore: (Smalltalk registerExternalObject: inputSemaphore).
>
That of couse is not excuse for VM crash, when you passing a semaphore
object intead of valid smallinteger index in external objects table.
It should check and fail if you do so.

>> Save the image. Try to open it. It will crash.
>>
>> http://bugs.squeak.org/view.php?id=7320
>>
>> Gulik.
>>
>> --
>>
>> http://gulik.pbwiki.com/
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list