[OpenSIPS-Devel] [OpenSIPS/opensips] d6be02: async(): Attempt to recover from abort() state
Liviu Chircu
noreply at github.com
Wed Oct 12 12:30:11 UTC 2022
Branch: refs/heads/3.3
Home: https://github.com/OpenSIPS/opensips
Commit: d6be02648f4fe31d272ab5a1aafc589e3cd75637
https://github.com/OpenSIPS/opensips/commit/d6be02648f4fe31d272ab5a1aafc589e3cd75637
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M modules/tm/async.c
Log Message:
-----------
async(): Attempt to recover from abort() state
It seems the "if" condition at the start of t_resume_async() is
actually reachable under the right circumstances and causes an
immediate program crash.
As an intermediate improvement until the source of the issue is found,
try to simply overwrite the unexpected context, if one is found. A
small memory leak coupled with a CRITICAL log message is preferable to
an instant, forced crash.
(cherry picked from commit 7167bec5b6379ba1a6762501391133deaf5ba80d)
More information about the Devel
mailing list