06-01-2019, 06:30 PM
Hi, Chad. Thanks for the reply. I'm not using critical sections directly...I am just reviewing their use in IW10 and the Delphi XE RTL.
The focus of my inquiry is this: A binary that has been running fine has recently become unstable on at least one server, and in this case, the service has begun failing with a critical section-related exception 0xc0000264. (The server in question is Win 2012 Datacenter in a VMWare virtual machine on fast hardware...so fast hardware performance could contribute to exposing timing-related CS problems.)
I just wanted to see if there were any problems discovered in Delphi RTL or IW with respect to critical sections.
A few links pertaining to IW and critical sections:
https://www.atozed.com/2012/01/20121030-en/)
https://forums.embarcadero.com/thread.js...eID=763497
https://www.atozed.com/2019/04/15-0-21-version-history/
https://www.delphitools.info/2011/11/30/...alsection/
...so while critical sections may be "simple" ... making them work as intended isn't always straight-forward :-)
Thanks for https://stackoverflow.com/questions/2174...ot-working ... I had seen that.
I suppose I will need to set up MadExcept and do some further tracking. Do you have any other suggestions?
The focus of my inquiry is this: A binary that has been running fine has recently become unstable on at least one server, and in this case, the service has begun failing with a critical section-related exception 0xc0000264. (The server in question is Win 2012 Datacenter in a VMWare virtual machine on fast hardware...so fast hardware performance could contribute to exposing timing-related CS problems.)
I just wanted to see if there were any problems discovered in Delphi RTL or IW with respect to critical sections.
A few links pertaining to IW and critical sections:
https://www.atozed.com/2012/01/20121030-en/)
https://forums.embarcadero.com/thread.js...eID=763497
https://www.atozed.com/2019/04/15-0-21-version-history/
https://www.delphitools.info/2011/11/30/...alsection/
...so while critical sections may be "simple" ... making them work as intended isn't always straight-forward :-)
Thanks for https://stackoverflow.com/questions/2174...ot-working ... I had seen that.
I suppose I will need to set up MadExcept and do some further tracking. Do you have any other suggestions?

