[fpc-devel] I get duplicate GUIDs under Linux
nc-gaertnma at netcologne.de
Thu May 29 14:39:51 CEST 2008
Zitat von Graeme Geldenhuys <graemeg.lists at gmail.com>:
> 2008/5/29 Mattias Gärtner <nc-gaertnma at netcologne.de>:
> > Sorry. Openssl has *nothing* to do with the CreateGUID function.
> I thought that much, but then thought it wouldn't hurt installing the
> patch anyway.
It would hurt a lot *not* installing the patch. The bigger problem is that the
other distributions including windows, Mac OS X, BSD, ... server must now
install the blacklist too. I guess non debian systems now have bigger problems
> >> What is really weird is that once I hit the 1021 limit, I can't run
> >> that method again. I get a duplicate after 1 add! It seems to behave
> >> exactly like random() without calling randomize(). It seems to
> >> remember the last "position" it it's seed or something and tries to
> >> continue where it left off. The same pattern, over and over.
> > Maybe the 1021 is the limit of /dev/random.
> I gather that you can reproduce the issue and also get stuck on 1021?
And then pango gave:
(testproject:27449): Pango-WARNING **: error opening config file
'/etc/pango/pangorc': Too many open files
Apparently CreateGUID is buggy and should not be used under Linux.
More information about the fpc-devel