Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
Closed #1098. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#event-1206398224___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
We just noticed that having same issue if socket already bind to other process and kamailio will just crash ``` segfault at 7fa0ccd6e7b0 ip 7fa0d13ce5f6 sp 7ffdeb89c9e0 error 4 in libcrypto.so.1.1[7fa0d1267000+261000] ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#issuecomment-322456392___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
If there are no other details that you can provide, like all log messages with debug=3 in kamailio.cfg or output of `bt full`, I am closing this one in the near future, being not able to reproduce it here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#issuecomment-310851704___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
I was not able to reproduce. I did a fresh install and started with default `kamailio.cfg` that has `WITH_TLS` defined. All started fine, the `kamctl srv sockets` shows that `kamailio` is listening on tls. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#issuecomment-308108648___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
What version of kamailio are you using? The code seems to be safe there. I also tried to reproduce by having a listen with a non local ip and it didn't crash, it prints the error message and exits: ``` ERROR: [core/udp_server.c:397]: udp_init(): bind(6, 0x10c606504, 16) on 192.168.178.188: Can't assign requested address ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#issuecomment-299235547___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
``` #0 0x77761e71 in __strlen_sse2_pminub () from /lib64/libc.so.6 #1 0x732c62c4 in uac_init () at uac.c:96 #2 0x732ac665 in mod_init () at tm.c:782 ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#issuecomment-297922356___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Re: [sr-dev] [kamailio/kamailio] Do not start Kamailio if no listen address is configured (#1098)
Likely this is due to a module cleaning up some uninitialized structure, because kamailio should deal nicely when the listen address cannot be found. To see where the issue resides, it is good to have a core dump and get the backtrace. Be sure you set `ulimit -c ulimited` in terminal and start kamailio as root. Once you get the core file, grab the backtrace with gdb and paste it here. If you installed from packages, then you may need to install debug info package in order to get useful backtrace. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1098#issuecomment-297716799___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev