06-01-2019, 01:50 AM
Hi, all. I have an IW10 stand-alone app packaged as a Windows service compiled with Delphi XE that continues to run great. Except, that on one customer server (Win Server 2012 Datacenter) the service has begun crashing periodically. The same .EXE doesn't seem to have this problem elsewhere.
In any case, the error logged in the Windows Event Log is Exception 0xc0000264 ... which pertains to critical section not owned.
I understand what that means, and am aware of fixes for some historical bugs. (For example my project does use the IWRtlFix unit.)
I also understand that threading race conditions can be tricky, and can be masked until one day they appear.
So my question is: Are there known Delphi or IW bugs discovered in the past few years that would impact IW10 on XE that are related to critical sections?
I've reviewed the code, and it seems to be OK. But something (like a fairly recent Windows update) has caused the previously-stable service to crash. This article seems relevant though: https://docs.microsoft.com/en-us/windows...on-objects ...but that specific change was some time ago (before I began having problems).
Any ideas?
In any case, the error logged in the Windows Event Log is Exception 0xc0000264 ... which pertains to critical section not owned.
I understand what that means, and am aware of fixes for some historical bugs. (For example my project does use the IWRtlFix unit.)
I also understand that threading race conditions can be tricky, and can be masked until one day they appear.
So my question is: Are there known Delphi or IW bugs discovered in the past few years that would impact IW10 on XE that are related to critical sections?
I've reviewed the code, and it seems to be OK. But something (like a fairly recent Windows update) has caused the previously-stable service to crash. This article seems relevant though: https://docs.microsoft.com/en-us/windows...on-objects ...but that specific change was some time ago (before I began having problems).
Any ideas?