[sr-dev] git:5.6:b7162ce2: app_python3: workaround for abort in Python 3.8+
Anthony Alba
ascanio.alba7 at gmail.com
Thu Jun 9 15:34:14 CEST 2022
Module: kamailio
Branch: 5.6
Commit: b7162ce2eb239cb9e9f4152440951e3aade411d3
URL: https://github.com/kamailio/kamailio/commit/b7162ce2eb239cb9e9f4152440951e3aade411d3
Author: Anthony Alba <ascanio.alba7 at gmail.com>
Committer: Anthony Alba <ascanio.alba7 at gmail.com>
Date: 2022-06-09T21:32:02+08:00
app_python3: workaround for abort in Python 3.8+
- GH #3125
(cherry picked from commit 73db408a4a)
---
Modified: src/modules/app_python3/app_python3_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/b7162ce2eb239cb9e9f4152440951e3aade411d3.diff
Patch: https://github.com/kamailio/kamailio/commit/b7162ce2eb239cb9e9f4152440951e3aade411d3.patch
---
diff --git a/src/modules/app_python3/app_python3_mod.c b/src/modules/app_python3/app_python3_mod.c
index f710694d755..eb46f54f505 100644
--- a/src/modules/app_python3/app_python3_mod.c
+++ b/src/modules/app_python3/app_python3_mod.c
@@ -200,7 +200,10 @@ static int child_init(int rank)
* processes
*/
#if PY_VERSION_HEX >= 0x03070000
+ /* this is causing abort on Python 3.8+ GH#3125
+ * skip for now
PyOS_AfterFork_Parent() ;
+ */
#endif
return 0;
}
More information about the sr-dev
mailing list