[Vm-dev] UUID new crashes 64bit vm

John M McIntosh jmmcintosh at gmail.com
Sun Oct 5 16:48:22 UTC 2008

Yes, well however I'd suggest one peers at that smalltalk code and  
adjust things to pull a chunk of bits from /dev/urandom in a single read
and mask off the number of bits needed, versus the loop that is there  
making bits. This would be safer and likely faster since the fallback  
is based on squeak smalltalk based random number generator which  has  
numerous cryptographic flaws and there exists a probability that
UUID generated from the existing code *could* repeat given just the  
right circumstances.

On Oct 5, 2008, at 9:08 AM, Andreas Raab wrote:

> If you're in a hurry, just disable the primitive. John had some  
> fallback code in there which will make a UUID if the prim isn't there.
> Cheers,
>  - Andreas
> Philippe Marschall wrote:
>> Hi
>> I built a 64bit VM (for 32bit images) from SVN trunk and
>> VMMaker-dtl.102. UUID new causes the VM to segmentation fault. The
>> reason I did this is because I need to have a Unix VM with the cUrl
>> plugin and my system is 64 bit. I need to have the cUrl plugin  
>> because
>> I need an https client. If I'm doing it wrong what would be the right
>> way of doing it? Or is there even a recent 64bit Unix VM available
>> that was a cUrl plugin?
>> Cheers
>> Philippe

More information about the Vm-dev mailing list