开发者

Borland Assertion failed in local_unwind()

开发者 https://www.devze.com 2022-12-14 04:31 出处:网络
I have a comms server that is supposed to run for an indefinite amount of开发者_运维问答 time. However, it sometimes errors with

I have a comms server that is supposed to run for an indefinite amount of开发者_运维问答 time. However, it sometimes errors with

Assertion failed: !"bogus context in Local_unwind()", file xx.cpp, line 2262

which is followed by

Abnormal Program Termination

after which pressing ok causes the program to disappear. This problem happens intermittently on several computers and is not easily reproducible. Any pointers would be greatly appreciated.


Sounds like the program code is corrupting the stack before cleanup of a scope/function's stack-based variables can be performed.


Something in your program called longjmp (c) or executed a throw statement (c++). Local_unwind is an internal piece of the borland runtime that is trying to clean up the stack.

If you don't control the source of this program, of course, you've posted this question in the wrong place.

0

精彩评论

暂无评论...
验证码 换一张
取 消