[Vm-dev] Reproducible VM crash when loading FFI

Eliot Miranda eliot.miranda at gmail.com
Mon Mar 25 16:46:25 UTC 2013


Guillermo

On Mon, Mar 25, 2013 at 2:55 AM, Guillermo Polito <guillermopolito at gmail.com
> wrote:

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


please upload to somewhere else.  This obnoxious site popped up some 20
windows and tabs full of ads.  Please never use this site for getting files
to me again.


>
> 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
>> >
>>
>
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20130325/91f277c2/attachment.htm


More information about the Vm-dev mailing list