I already have cores with pid. This was the only core file that was dumped.
Try it yourself, you might reproduce it easily (for me it happens every time). All I have in config is the tracer module configured to trace to the database. On 24 May 2019, at 18:35, Răzvan Crainea wrote: > Hi, Dan! > > This is a core dump during shut down, not the actual core dump. > Can you enable cores with pid, to make sure you gather all the cores opensips > dumps. You can do that by running: > echo 1 > /proc/sys/kernel/core_uses_pid > > Best regards, > Razvan > > On 5/24/19 6:30 PM, Dan Pascu wrote: >> Every time I use 'opensips-cli -x trace' opensips crashes. It doesn't matter >> if I specify a filter or leave all fields empty. The backtrace doesn't look >> too helpful (it seems to be some other issue when cleaning things at >> shutdown): >> (gdb) bt >> #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 >> #1 0x00007f6eccef2535 in __GI_abort () at abort.c:79 >> #2 0x0000555af3219ee0 in sig_alarm_abort (signo=<optimized out>) at >> main.c:434 >> #3 <signal handler called> >> #4 0x00007f6eccfb0bf7 in sched_yield () at >> ../sysdeps/unix/syscall-template.S:78 >> #5 0x00007f6ea8740555 in get_lock (lock=0x7f6eaa18de70) at >> ../../net/../fastlock.h:221 >> #6 destroy_dyn_tracing () at tracer.c:3318 >> #7 destroy () at tracer.c:1001 >> #8 0x0000555af3232191 in destroy_modules () at sr_module.c:588 >> #9 0x0000555af321b536 in cleanup (show_status=show_status@entry=1) at >> main.c:358 >> #10 0x0000555af321c81a in shutdown_opensips (status=status@entry=256) at >> main.c:522 >> #11 0x0000555af321db00 in handle_sigs () at main.c:605 >> #12 0x0000555af2ff6fcc in main_loop () at main.c:867 >> #13 main (argc=<optimized out>, argv=<optimized out>) at main.c:1480 >> -- >> Dan >> _______________________________________________ >> Devel mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > > -- > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > Meet the OpenSIPS team at the next OpenSIPS Summit: > https://www.opensips.org/events > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- Dan _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
