opensubscriber
   Find in this group all groups
 
Unknown more information…

f : fpc-devel@lists.freepascal.org 20 June 2012 • 12:19PM -0400

Re: [fpc-devel] Windows 64bit SEH exception handling
by Sergei Gorelkin

REPLY TO AUTHOR
 
REPLY TO GROUP




19.06.2012 23:43, tomek пишет:
> Hello,
>
> with reference to http://bugs.freepascal.org/view.php?id=12742 about random crash with Windows
> OpenDialog Box only on Win7 64bit.
>
> Today I compile trunk-fpc with TEST_WIN64_SEH support and it seems that this bug is resolved with SEH.
> I checked a few times to make sure that this is due to SEH support.
>
> My question is, why? how is it possible that support for SEH exceptions handling fix OpenDialog issue ?
> or perhaps an exception is hidden ? as described in http://support.microsoft.com/kb/976038
>
> do have you any suggestions ?
>
Non-SEH exception handling on Win64 is known to handle exceptions too early, bypassing frame-based
handlers and therefore disrupting the intended control flow. Most probably the exception under
question was meant to be handled within OS libraries and not passed to the application.

Regards,
Sergei
_______________________________________________
fpc-devel maillist  -  fpc-devel@list...
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.