Page 3 of 3
Re: Reg Organizer stuck when making snapshot
Posted: Thu Aug 31, 2023 4:54 pm
by Chemtable Software
Hi,
Yes, the problem is strange (and interesting). If you manually reset this value to (not set), will the problem occur again? Or do you mean that to reproduce it, you need to restore the registry to the state it was in when this value was not set, e.g. using System Restore, i.e. it no longer reproduces?
Re: Reg Organizer stuck when making snapshot
Posted: Thu Aug 31, 2023 9:37 pm
by Dobrus
Hi, yes the problem occurs again if I change back to "value not set" (simply by deleting "(Default)" entry). This surprises me because the rest of the registry entries have "Default" set to "value not set" and nowhere else does this type of error occur. The problem is only with the key "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control" and "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control" (they are probably linked because a change to one of the entries also affects the other) which is what Reg Organizer had the problem with. Regards.
Re: Reg Organizer stuck when making snapshot
Posted: Fri Sep 01, 2023 7:40 am
by Chemtable Software
Hi,
The problem is probably due to a some driver somehow using the default value of this key (\Control). It seems to be creating and removing this value frequently.
Using the log files you sent us, we have found a problem in our code that can lead to the changes tracing error (when the WinAPI registry access function returns ERROR_FILE_NOT_FOUND, which it does for the above key). This issue has been fixed in the build below, it should no longer hang. We would be grateful if you could test it when the default value of the \Control key is not set, i.e. when the problem is reproducible:
https://files.chemtable.com/special/Reg ... gDemo6.zip
Re: Reg Organizer stuck when making snapshot
Posted: Fri Sep 01, 2023 12:34 pm
by Dobrus
You were right, this time the test was successful. Log is in attachment.
OnFirstSnapshotComplete: 1
Dt = 6735 ms
KeysValues / Sec. = 155934.37
MaxKeysValues = 1050218
Is there any way to trace which driver might be causing this behaviour? Regards.
Re: Reg Organizer stuck when making snapshot
Posted: Fri Sep 01, 2023 2:03 pm
by Chemtable Software
Hi,
Glad to hear that the problem no longer occurs!
It was because some driver is removing the registry value in HKLM\...\Control between the two calls to the RegQueryValueExW WinAPI function. This change probably happens in nanoseconds! Only a driver that filters the registry can do this. Our application was not ready to handle such situation.
The only thing that isn't clear is which application driver is doing this on your system (and why).
Thank you for your help in investigating this issue!
Re: Reg Organizer stuck when making snapshot
Posted: Sat Sep 02, 2023 12:37 am
by Dobrus
Thank you for your time and for all your help in locating the problem. The important thing is that the RO is working as it should, and maybe one day I'll be able to figure out what exactly is causing this behaviour. But for now I won't bother with that, we've spent a lot of time on it
thank you again and best regards.
Re: Reg Organizer stuck when making snapshot
Posted: Sun Mar 03, 2024 8:16 pm
by chemzinho
I have been using Reg Organizer since 2020 and have never been able to use the application installation function with tracking for the same reason, and indeed version 9.30 (09/20/2023) fixed this problem for me. I was really curious about what caused this as well. It seems we have a common driver.