Recovery after stack overflow exception is not complete
-------------------------------------------------------
Key: CORE-4688
URL: http://tracker.firebirdsql.org/browse/CORE-4688
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.5.3 Update 1, 2.1.7, 3.0 Beta 1, 2.5.3, 2.1.6, 3.0
Alpha 2, 3.0 Alpha 1, 2.5.2 Update 1, 2.1.5 Update 1, 2.5.2, 2.5.1, 2.5.0
Environment: WIndows only. On other platforms stack overflow exception
is not recoverable
Reporter: Vlad Khorsun
We have SEH exceptions handler and convert EXCEPTION_STACK_OVERFLOW into our
C++ exception.
This C++ exception correctly handled by our catch blocks.
But there is not call of _resetstkoflw() after error recovery therefore stack
have no guard page after initial stack overflow and subsequent stack overflow
lead to AV.
See for details: http://msdn.microsoft.com/en-us/library/89f73td2.aspx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel