Hello,
��
http://forum.world.st/Too-frequent-crashes-td4927143i20.html#a4934027

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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.