(2014/02/08 4:13), David Keeler wrote:
On 02/07/14 10:31, ISHIKAWA, Chiaki wrote:
Message:
[10549] WARNING: Security network blocking I/O on Main Thread: file
/REF-COMM-CENTRAL/comm-central/mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp,
line 422
This generally happens when javascript calls a function on an
nsIX509Cert that attempts to verify it synchronously. If the certificate
has an OCSP uri, network IO will block the main thread. For instance,
AddonUpdateChecker.jsm calls CertUtils.checkCert, which traverses the
peer's certificate chain (in an inefficient way, but that's beside the
point). Getting a certificate's chain causes a verification to happen,
which often results in network IO. This is in part due to the legacy
certificate verification library we're currently hard at work replacing.
In short, this is not legitimate main thread IO, but it's being fixed.
Thank you for the explanation.
I can certainly understand that using a third-party library certain can
cause this type of issue, the mismatch of the assumed architecture of
the application: in this case, the way threads are being used with
regard to I/O, network I/O, etc. etc.
It is re-assuring to learn that someone is working on to fix this issue.
Chiaki Ishikawa
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform