[OpenSIPS-Devel] [OpenSIPS/opensips] 15c83f: 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.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 15c83fd7b33aafd20d612d5966bd2ccd4b05a3e6
      https://github.com/OpenSIPS/opensips/commit/15c83fd7b33aafd20d612d5966bd2ccd4b05a3e6
  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