What is the command to get the backtrace?
De : Daniel-Constantin Mierla <[email protected]> Envoyé : mercredi 17 octobre 2018 19:16 À : Kamailio (SER) - Users Mailing List <[email protected]>; Nicolas Breuer <[email protected]> Objet : Re: [SR-Users] Script @Startup Hello, the log message says that core file was generated, get the backtrace from it with gdb and post it here in order to see where the crash was. Cheers, Daniel On 17.10.18 18:59, Nicolas Breuer wrote: Hello, Doing an avp_db_query works but we have a crash just after 😊 Oct 17 18:58:11 proxy1 kernel: kamailio[8987]: segfault at 0 ip 00000033b7a89780 sp 00007fff8e7765a8 error 4 in libc-2.12.so[33b7a00000+18b000] Oct 17 18:58:12 proxy1 /usr/sbin/kamailio[8986]: ALERT: <core> [main.c:739]: handle_sigs(): child process 8987 exited by a signal 11 Oct 17 18:58:12 proxy1 /usr/sbin/kamailio[8986]: ALERT: <core> [main.c:742]: handle_sigs(): core was generated -----Message d'origine----- De : sr-users <[email protected]><mailto:[email protected]> De la part de Mikko Lehto Envoyé : mercredi 17 octobre 2018 09:28 À : Kamailio (SER) - Users Mailing List <[email protected]><mailto:[email protected]> Objet : Re: [SR-Users] Script @Startup Importance : Haute Nicolas Breuer <[email protected]<mailto:[email protected]>>: > Is there a way to execute some codes/scripts at the launch of the Kamailio > Server ? > > So only once when we launch the server. Hi, maybe event route core:worker-one-init is helpful to you. See: http://kamailio.org/wiki/cookbooks/5.1.x/core#event_route -- Mikko _______________________________________________ Kamailio (SER) - Users Mailing List [email protected]<mailto:[email protected]> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ Kamailio (SER) - Users Mailing List [email protected]<mailto:[email protected]> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com> www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda> Kamailio World Conference -- www.kamailioworld.com<http://www.kamailioworld.com> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com<http://www.asipto.com>
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
