Hello Ovidiu, That works for getting the core files. Then i run the command bt full and got the following:
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f634ebe17f8 in ?? () from /usr/lib/x86_64-linux-gnu/opensips/modules/sipmsgops.so No symbol table info available. #1 0x000055c53a7d001e in do_action () No symbol table info available. #2 0x000055c53a7d24c8 in run_action_list () No symbol table info available. #3 0x000055c53a7d181f in do_action () No symbol table info available. #4 0x000055c53a7d24c8 in run_action_list () No symbol table info available. #5 0x000055c53a7d1e3b in do_action () No symbol table info available. #6 0x000055c53a7d24c8 in run_action_list () No symbol table info available. #7 0x000055c53a7d1e3b in do_action () No symbol table info available. #8 0x000055c53a7d24c8 in run_action_list () No symbol table info available. #9 0x000055c53a7d1e3b in do_action () No symbol table info available. #10 0x000055c53a7d24c8 in run_action_list () No symbol table info available. #11 0x000055c53a7d2927 in run_top_route () No symbol table info available. #12 0x000055c53a7dfeb3 in receive_msg () No symbol table info available. #13 0x000055c53a9391c6 in ?? () No symbol table info available. #14 0x000055c53a915f8f in ?? () No symbol table info available. #15 0x000055c53a91b326 in udp_start_processes () No symbol table info available. #16 0x000055c53a7b0973 in main () What would be next? Thank you very much On Tue, Oct 12, 2021 at 4:02 PM Mario San Vicente <mrsanvice...@gmail.com> wrote: > Hello Everyone, > > Thanks for reading. Currently i am testing an opensips running on debian > 10.10, installed from deb https://apt.opensips.org $(lsb_release -sc) > 3.0-releases > > version: opensips 3.1.5 (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. > main.c compiled on with gcc 8 > > > I am sending some calls for transcoding which is working good, > until opensips crashes ( which is constantly): > > > > CRITICAL:core:sig_usr: segfault in process pid: 11907, id: 4 > INFO:core:handle_sigs: child process 11907 exited by a signal 11 > INFO:core:handle_sigs: core was not generated > INFO:core:handle_sigs: terminating due to SIGCHLD > INFO:core:sig_usr: signal 15 received > INFO:core:sig_usr: signal 15 received > INFO:core:sig_usr: signal 15 received > INFO:core:shutdown_opensips: process 2(11905) [time_keeper] terminated, > still waiting for 6 more > INFO:core:shutdown_opensips: process 3(11906) [timer] terminated, still > waiting for 5 more > INFO:core:shutdown_opensips: process 6(11909) [SIP receiver > udp:x.x.x.x:5060] terminated, still waiting for 4 more > INFO:core:shutdown_opensips: process 1(11904) [MI FIFO] terminated, still > waiting for 3 more > INFO:core:shutdown_opensips: process 5(11908) [SIP receiver udp: > 173.230.132.122:5060] terminated, still waiting for 2 more > INFO:core:shutdown_opensips: process 7(11910) [SIP receiver udp: > 173.230.132.122:5060] terminated, still waiting for 1 more > INFO:core:shutdown_opensips: process 8(11911) [Timer handler] terminated, > still waiting for 0 more > INFO:core:cleanup: cleanup > INFO:core:fix_poll_method: using epoll as the IO watch method (auto > detected) > NOTICE:core:main: version: opensips 3.1.5 (x86_64/linux) > NOTICE:core:main: using 2048 MB of shared memory, allocator: F_MALLOC > NOTICE:core:main: using 2048 MB of private process memory, allocator: > F_MALLOC > INFO:core:init_reactor_size: reactor size 262144 (using up to 10.00Mb of > memory per process) > INFO:core:evi_publish_event: Registered event <E_CORE_THRESHOLD(0)> > INFO:core:evi_publish_event: Registered event <E_CORE_SHM_THRESHOLD(1)> > INFO:core:evi_publish_event: Registered event <E_CORE_PKG_THRESHOLD(2)> > INFO:core:evi_publish_event: Registered event <E_CORE_PROC_AUTO_SCALE(3)> > INFO:tm:mod_init: TM - initializing... > INFO:sl:mod_init: Initializing StateLess engine > NOTICE:signaling:mod_init: initializing module ... > INFO:core:evi_publish_event: Registered event <E_MYSQL_CONNECTION(4)> > INFO:dialog:mod_init: Dialog module - initializing > INFO:core:evi_publish_event: Registered event <E_DLG_STATE_CHANGED(5)> > INFO:rr:mod_init: rr - initializing > INFO:maxfwd:mod_init: initializing... > INFO:sipmsgops:mod_init: initializing... > ......... > > Also enabled debugging level 4, but not much information. How do you > recommend to debug? > > > > Thank you > -- > Mario San Vicente > Cheers! > -- Mario San Vicente Cheers!
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users