Esteban created a working fix for this issue.

Cheers,
-- Pavel

2017-03-03 3:16 GMT+01:00 Ben Coman <b...@openinworld.com>:

> To confirm specific reproducibility, using...
>     http://files.pharo.org/image/60/60421.zip
>
> I did...
> $ cd opensmalltalk-vm
> $ git checkout d54edc56
> $ git log
>     commit d54edc5638c9f90c80f214e59e19240f8ead87f8
>     Author: Eliot Miranda <eliot.mira...@gmail.com>
>     Date:   Thu Mar 2 09:53:05 2017 -0800
>         CogVM source as per VMMaker.oscog-eem.2143
>         Fix regression in Sista sources due to receiverTags work.
>
> $ cd build.linux32x86/pharo.cog.spur/build.debug
> $ cd products/debug/phcogspurlinuxht
> $ pharo  ~/temp/Case19785/Pharo-60421.image
>
> World > Playground, evaluate...
>    surf := AthensCairoSurface extent: Display extent.
>    Display getCanvas drawImage: surf asForm  at: 0@0
>
> 70% ==> image seg fault
> 30% ==> PrimitiveFailed: primitive #primSignal:andReturnAs:fromContext:
>
> but doing
>     Smalltalk snapshot: true andQuit: true.
>     surf := AthensCairoSurface extent: Display extent.
>     Display getCanvas drawImage: surf asForm  at: 0@0.
>
> 100% ==> PrimitiveFailed: primitive #primSignal:andReturnAs:fromContext:
>
>
> Evaluate the following in Playground for 100% segfault from command line.
>
>     EllipseMorph compile: 'step
> |surf|
> [ surf := AthensCairoSurface extent: Display extent.
>     Display getCanvas drawImage: surf asForm  at: 0@0.
> ] on: Error do: [ ].
> self position: self position + (50@0). "To observe survival of seg fault"
>   '.
>     Smalltalk snapshot: true andQuit: true.
>     EllipseMorph new openInWorld.
>
>
> btw, I'm on 32-bit Debian 8 Jessie
> $ uname -a
> Linux dom0 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) i686
> GNU/Linux
>
> cheers -ben
>
>
> On Fri, Mar 3, 2017 at 12:08 AM, Blondeau Vincent <
> vincent.blond...@worldline.com> wrote:
> > Hi Eliot,
> >
> >
> >
> > Thanks to take care of this issue!
> >
> >
> >
> > Pavel opened a bug issue here:
> > https://pharo.fogbugz.com/f/cases/19785/Athens-crashes-the-VM . You
> need the
> > latest Pharo image and VM and it crashes under Linux (32-bit) and OSX (El
> > Captain, 32-bit VM). And I personally tried with Windows7 and the bug
> > happens too.
> >
> >
> >
> > To reproduce: Morph new testAthensRender
> >
> >
> >
> > An extract of the opened issue:
> >
> >
> >
> > Edited by Pavel Krivanek 02/03/2017 (Today) 16:10
> >
> > An empty surface crashes it too:
> > surf := AthensCairoSurface extent: Display extent.
> > Display getCanvas drawImage: surf asForm  at: 0@0
> >
> >
> >
> > The problem is in the method AthensCairoSurface>>#asForm where the
> previous
> > slice started to add 1 to surface heigth
> >
> >
> >
> > Well, I tried to revert AthensCairoSurface>>#asForm which fixes this
> > particular case but Roassal still crashes on copyBits
> >
> >
> >
> > Cheers,
> >
> > Vincent
> >
> >
> >
> > De : Moose-dev [mailto:moose-dev-boun...@list.inf.unibe.ch] De la part
> de
> > Eliot Miranda
> > Envoyé : jeudi 2 mars 2017 17:03
> > À : Pharo Development List
> > Cc : Moose-related development; Squeak Virtual Machine Development
> > Discussion
> > Objet : [Moose-dev] Re: [Pharo-dev] Segmentation fault on Moose 6.1 Build
> >
> > Hi Vincent,
> >
> >     first, apologies for the inconvenience, second, thanks!  I badly need
> > reproducible failure cases to get the remaining bugs out of the compactor
> > and you have just provided me with one.  Can you send me the information
> I
> > need to reproduce the build?  What platforms does it fall on?
> >
> > On Thu, Mar 2, 2017 at 2:23 AM, Blondeau Vincent
> > <vincent.blond...@worldline.com> wrote:
> >
> > Hi,
> >
> > The latest builds of the Moose6.1 image are failing due to a segmentation
> > fault.
> >
> > Here is the link to the last build:
> > https://ci.inria.fr/moose/job/moose-6.1/550/console
> >
> > How can we fix this?
>

Reply via email to