Jump to content

Filter from SetUnhandledExceptionFilter not capturing C++ exceptions from threads started with _beginthread on windows server 2022


Recommended Posts

Guest Malcolm Davey
Posted

We have found a the change in behaviour of the SetUnhandledExceptionFilter API call.On windows server 2016, this enables any uncaught C++ exceptions to be handled by a registered filter, including on our worker threads.In our filter callback we have alternative handling, including stopping the applications from terminating,but on windows server 2022, our filter doesn't get called for C++ exceptions on our worker threads, but the application is terminated instead.There is no mention of a change in behaviour of this on certain windows versions in the windows API documentationSome investigation h

 

Continue reading...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...