[OpenSIPS-Devel] [OpenSIPS/opensips] 7167be: async(): Attempt to recover from abort() state

Liviu Chircu noreply at github.com
Wed Oct 12 12:28:18 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7167bec5b6379ba1a6762501391133deaf5ba80d
      https://github.com/OpenSIPS/opensips/commit/7167bec5b6379ba1a6762501391133deaf5ba80d
  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.





More information about the Devel mailing list