Comment #15 on issue 379218 by
w...@chromium.org: Chrome: `anonymous
namespace'::GetGranularAlignedRandomOffset
http://code.google.com/p/chromium/issues/detail?id=379218
This didn't completely prevent the crashes.
Upon further investigation, the One Key Theater software hooks LoadLibrary:
0:006> p
KERNELBASE!LoadLibraryExW:
000007fe`fd1c8ef0 e9c371e7ff jmp 000007fe`fd0400b8
0:006> p
000007fe`fd0400b8 48b8702d008001000000 mov rax,offset
ActiveDetect64!RemoveR3APIHook64+0xc0 (00000001`80002d70)
and this is causing a suspected race condition in rand_s when it tries to
load ADVAPI32.dll to call RtlGenRandom(), returning NULL and causing rand_s
to throw an invalid parameter.
There isn't much we can do about this, unfortunately. Perhaps adding a
delay before calling rand_s would work, but this would negatively impact
the performance of everyone else.
I think the best option is to try and fix their incompatability, or that
affected users simply uninstall One Key Theater - since this software seems
to cause general system instability -
https://www.google.com/search?q=one%20key%20theater%20crash