[Pharo-dev] Reproducible VM Crash using UFFI

Esteban Lorenzano estebanlm at gmail.com
Thu Oct 5 02:30:15 EDT 2017


> On 5 Oct 2017, at 08:23, Esteban Lorenzano <estebanlm at gmail.com> wrote:
> 
> H Hernani,
oops… Hernan… too early in the morning here ;)

> Most probably is a problem in the library and not UFFI, but I could not know without a crash report.
> 
> Esteban
> 
>> On 5 Oct 2017, at 06:00, Hernán Morales Durand <hernan.morales at gmail.com> wrote:
>> 
>> Hi,
>> 
>> I ported Nacl (a libsodium wrapper) from the old FFI apicall: format
>> to use the UFFI ffiCall:, but there should be something terribly wrong
>> because is crashing the VM, in both Windows 8.1 and Linux.
>> 
>> How to reproduce in Pharo 6.1
>> 
>> Metacello new
>>   smalltalkhubUser: 'tonyg' project: 'Crypto-Nacl';
>>   configuration: 'Nacl';
>>   version: #development;
>>   load.
>> 
>> (Nacl hashString: 'The quick brown fox jumps over the lazy dog') hex
>> 
>> This one does deserve a bug entry?
>> 
>> Cheers,
>> 
>> Hernán
>> 
> 





More information about the Pharo-dev mailing list