[Vm-dev] Fwd: [squeak-dev] Image crashes just after start-up

John M McIntosh johnmci at smalltalkconsulting.com
Thu Apr 17 13:49:27 UTC 2008



Begin forwarded message:
> From: David Röthlisberger <squeak at c3com.ch>
> Date: April 17, 2008 2:56:19 AM PDT (CA)
> To: johnmci at smalltalkconsulting.com
> Subject: Re: [squeak-dev] Image crashes just after start-up
>
> Hi John,
>
>> If you can setup a test where it halts before giving the bad data  
>> to FormCanvas >> drawString:from:to:in:font:
>> then we can see how to guard against that condition and fail the  
>> primitive call.
>
> I tried this, but it's actually pretty difficult... Stepping through  
> the application somehow "changes" the behavior in the sense that  
> this error either happens immediately when I inspect the corrupt  
> data in the debugger, or it works well, the data seems to be just  
> fine, but nonetheless it crashes when the data gets accessed again  
> later on, even though it seems to be okay in the debugger.
>
> I found a workaround, so I changed the application to use another  
> piece of code providing the same functionality. This would work, but  
> of course the problem is not really solved.
>
>> Also you should make a mantis report
>
> I did so, including a link to the problematic image:
> http://bugs.squeak.org/view.php?id=7022
>
> Cheers,
> David
>

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




More information about the Vm-dev mailing list