Created attachment 328686 [details] Sample About once or twice a month, Camino hangs when I launch it just after booting my machine in the morning. It's hanging in RNG_SystemInfoForRNG trying to gather entropy as SSL is being intialized for a site icon request. I think SystemInfoForRNG() is trying to call netstat: http://lxr.mozilla.org/mozilla/source/security/nss/lib/freebl/unix_rand.c#1009 and maybe netstat doesn't like being woken up so early in the morning.
Er, Camino 1.6.1 (22.214.171.124 2008051211), Mac OS X 10.5.4, 2 x 3 GHz Dual-Core Intel Xeon Mac Pro, 6Gb RAM etc.
Wouldn't that make this Core or NSS, then?
If Mac OS X has /dev/urandom, perhaps we should add defined(DARWIN) to this line in unix_rand.c: http://mxr.mozilla.org/security/source/security/nss/lib/freebl/arcfour.c#408 981 #if defined(BSDI) || defined(LINUX) 982 if (bytes) 983 return; 984 #endif Is there any problem invoking "netstat -ni" on Mac OS X?
Sorry, the MXR link should have been http://mxr.mozilla.org/security/source/security/nss/lib/freebl/unix_rand.c#927
Wrong again. Here is the correct link: http://mxr.mozilla.org/security/source/security/nss/lib/freebl/unix_rand.c#981