[Vm-dev] For how long UUID issue will bite us? (Was: Re: [squeak-dev] Closure testers needed)

Andreas Raab andreas.raab at gmx.de
Fri Jul 17 03:10:22 UTC 2009


As a workaround, how is this?

UUID>>initialize
	"Some unix versions crash with the UUID prim, so disable it for all of 'em"
	Smalltalk platformName = 'unix'
		ifTrue:[UUIDGenerator default generateBytes: self forVersion: 4]
		ifFalse:[self primMakeUUID].


Cheers,
   - Andreas

David T. Lewis wrote:
>  
> On Thu, Jul 16, 2009 at 10:53:25PM +0300, Igor Stasenko wrote:
>> Ken, this issue with UUID is almost half-year old (if not older),
>> and was reported multiple times by multiple people who running squeak on linux.
>> I thought this were fixed already.. but it seems there are some VMs
>> which don't have such fix.
>>
>> David, can you shed a light on the status of given issue?
> 
> I only know that it has been reported several times on the Pharo
> list. I have not seen the problem myself, but I assume that it's
> a bug in the plugin, so I opened an issue on Mantis to track it:
> 
>   http://bugs.squeak.org/view.php?id=7358
> 
> If anyone has additional information, please update the Mantis report.
> That's all I know for now.
> 
> Dave
> 


More information about the Vm-dev mailing list