[Vm-dev] Reproducible VM crash when loading FFI

Guillermo Polito guillermopolito at gmail.com
Mon Mar 25 09:55:02 UTC 2013


Eliot, list, I've uploaded an image created with the code I posted and
uploaded to http://www.filebox.com/d4t6rnpa0fqv

Hope it helps,
Guille

On Sun, Mar 24, 2013 at 10:10 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

>
> 2013/3/23 Guillermo Polito <guillermopolito at gmail.com>:
> >
> > Hi!
> >
> > In my quest to crash the vm, i've found an ugly common case :(.
> > I am trying to port the opendbx driver to 2.0, but I'm getting vm
> crashes when my configuration loads FFI :(. I updated my configuration to
> load version 1.7 of FFI (which I assume is the latest).
> >
> > I tried to do it in Pharo 2.0 with latest pharovm, and with eliot's Cog
> 2701 from his website, failing in both cases.
> > The snippet of code that gets a sistematic crash is:
> >
> > Gofer it
> > smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver';
> > package: 'ConfigurationOfOpenDBXDriver';
> > load.
> > ((Smalltalk at: #ConfigurationOfOpenDBXDriver) project version:#stable)
> load
> >
>
> Same thing with ConfigurationOfSmallapack.
> You should then execute
>
> Smalltalk saveAs: 'crash.image' thenQuit: true.
> Gofer it
>    smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver';
>     package: 'ConfigurationOfOpenDBXDriver';
>     load.
>
> and send the image to Eliot.
>
> >
> > This snippet crashes always with a segmentation fault (at least the
> fifteen times i tried :), with several different output in the console...
> >
> > Surprisingly, if I load FFI alone and not from the OpenDBXDriver
> configuration, it loads well... :/
> >
> > So I'm deferring the OpenDBX port a bit longer :(
> >
> > Thanks!
> > Guille
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20130325/d6892f8b/attachment-0001.htm


More information about the Vm-dev mailing list