[OpenSIPS-Users] Segfault with Python Module

inderjeet sharma inder.itpro at gmail.com
Sat Sep 28 10:56:55 UTC 2024


Hi,
I'm experiencing a critical issue when trying to start OpenSIPS with the
Python module enabled. Upon starting the service, I encounter a
segmentation fault. Below are the relevant error logs:

└─# opensips -V
version: opensips 3.2.0 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: a9bd831a6
main.c compiled on 05:46:38 Jul 26 2021 with gcc 8


/usr/local/sbin/opensips[1168977]: DBG:core:init_mod: initializing module
python
CRITICAL:core:sig_usr: segfault in attendant (starter) process!
DBG:core:restore_segv_handler: restoring SIGSEGV handler...
opensips: DBG:core:wait_status_code: read code 0 (0 byte)
opensips: INFO:core:daemonize: pre-daemon process exiting with -1
systemd[1]: opensips.service: Control process exited, code=exited,
status=255/EXCEPTION
systemd[1]: opensips.service: Failed with result 'exit-code'.
systemd[1]: Failed to start opensips.service - OpenSIPS is a very fast and
flexible SIP (RFC3261) server.
systemd[1]: opensips.service: Scheduled restart job, restart counter is at
5.
systemd[1]: Stopped opensips.service - OpenSIPS is a very fast and flexible
SIP (RFC3261) server.

Thanks
Inderjeet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240928/7a953dc2/attachment.html>


More information about the Users mailing list