[sr-dev] git:master:73db408a: app_python3: workaround for abort in Python 3.8+
Anthony Alba
ascanio.alba7 at gmail.com
Thu Jun 9 15:31:21 CEST 2022
Module: kamailio
Branch: master
Commit: 73db408a4a1d58d8fd4c7950ede7ac3a18f3355c
URL: https://github.com/kamailio/kamailio/commit/73db408a4a1d58d8fd4c7950ede7ac3a18f3355c
Author: Anthony Alba <ascanio.alba7 at gmail.com>
Committer: Anthony Alba <ascanio.alba7 at 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/73db408a4a1d58d8fd4c7950ede7ac3a18f3355c.diff
Patch: https://github.com/kamailio/kamailio/commit/73db408a4a1d58d8fd4c7950ede7ac3a18f3355c.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