Module: kamailio
Branch: master
Commit: 73db408a4a1d58d8fd4c7950ede7ac3a18f3355c
URL:
https://github.com/kamailio/kamailio/commit/73db408a4a1d58d8fd4c7950ede7ac3…
Author: Anthony Alba <ascanio.alba7(a)gmail.com>
Committer: Anthony Alba <ascanio.alba7(a)gmail.com>
Date: 2022-06-09T21:24:44+08:00
app_python3: workaround for abort in Python 3.8+
---
Modified: src/modules/app_python3/app_python3_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/73db408a4a1d58d8fd4c7950ede7ac3…
Patch:
https://github.com/kamailio/kamailio/commit/73db408a4a1d58d8fd4c7950ede7ac3…
---
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;
}