"Hartmut Birr" hartmut.birr@gmx.de wrote:
Hi,
on my smp machine I get very often a crash in CmiObjectParse/CmiAddKeyToList/RtlCopyMemory. In most cases something with the parent key was wrong. Sometimes the value from NumberOfSubKeys is 0xcccccccc. Sometimes the keys 'Windows NT', 'CurrentVersion' or 'SysFontSubstitutes' are inserted anywhere in the registry. It seems that the registry parsing is triggered from GetFontFamilyInfoForSubstitutes (win32k).
Most of these issues should get fixed by the attached patch. It replaces the hive locks and hive list lock (executive resources) by a global registry lock. The result is that only a single thread can modify the registry.
Regards, Eric