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

Liviu Chircu noreply at github.com
Wed Oct 12 12:30:10 UTC 2022


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