Hi alexander

Thanks for reporting to us your findings. 
Can you report on which 
   - os
   - version os 
   - which pharo vm (there is a system report option) 
   - which image 

Stef


Hello.

I can reproduce the bug "semi-automatically". The tree classes I use to crash are attached.
Run

AthensFlyingStickMorph new openInWorld

and wait. Sometimes it crashes immediately. Sometimes I have to wait a couple of minutes.
If I done not resize the crash never or almost never happens.

Thank you,
Alex 

On Wed, Feb 22, 2017 at 11:56 AM, Ronie Salgado <roniesalg@gmail.com> wrote:
Hello,
 

Try changing AthensCairoSurface >> asForm into the following method:

asForm

    "create a form and copy an image data there"
    | form |
    self checkSession.
    
    self flush.
    form := Form extent: (self width@self height) depth: 32.
    form unhibernate.
    LibC memCopy: self getDataPtr to: form bits size: self width*self height*4.
    ^ form

This seems to improve the stability a lot. I have already told Esteban to take a better look.

Best regards,
Ronie

2017-02-22 13:47 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:
Dear Alexander,

Sine the new FFI of Pharo, using Athens has become unreliable. This is a pity, but fixing this is not trivial at all (we have been trying for years).

What exactly are you doing with Athens?

Alexandre


> On Feb 22, 2017, at 12:55 AM, Alexander Samoylovich <samoylovich@gmail.com> wrote:
>
> Hello
>
> I am writing graphic demo programs using Athens on Mac Sierra.
> Time by time Pharo VM crashes. Programs not using Athens work reliably.
> I believe the behavior is reproducible.
> How should I report a bug?
>
> Alex

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.









--
Using Opera's mail client: http://www.opera.com/mail/