[ros-dev] Race Condition?

Eric Kohl eric.kohl at t-online.de
Sun Nov 7 14:31:12 CET 2004


"Hartmut Birr" <hartmut.birr at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: registry.zip
Type: application/x-zip-compressed
Size: 4136 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-dev/attachments/20041107/32760b5e/registry.bin


More information about the Ros-dev mailing list