[OpenSIPS-Users] Crash in logging
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Sep 20 12:08:37 EDT 2018
Hi Dan,
Please report this on the GitHub tracker ; in addition - is the crash
reproducible , have you identified the faulty xlog() in your script ? is
all the time the same ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 09/20/2018 06:59 PM, Dan Pascu wrote:
> Here is another crash that happened multiple times:
>
> Core was generated by `/usr/sbin/opensips -w /run/opensips -P opensips.pid -m 512'.
> Program terminated with signal SIGABRT, Aborted.
> #0 0xb770ccf9 in __kernel_vsyscall ()
> (gdb) bt
> #0 0xb770ccf9 in __kernel_vsyscall ()
> #1 0xb7546dd0 in __libc_signal_restore_set (set=0xbfb81eb0) at ../sysdeps/unix/sysv/linux/nptl-signals.h:79
> #2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:48
> #3 0xb7548297 in __GI_abort () at abort.c:89
> #4 0xb758238f in __libc_message (do_abort=<optimized out>, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:175
> #5 0xb7588fc7 in malloc_printerr (action=<optimized out>, str=0xb7678cc6 "corrupted size vs. prev_size", ptr=<optimized out>, ar_ptr=0xb76ce780 <main_arena>) at malloc.c:5049
> #6 0xb758b4d5 in _int_malloc (av=av at entry=0xb76ce780 <main_arena>, bytes=bytes at entry=360) at malloc.c:3765
> #7 0xb758cbf5 in __GI___libc_malloc (bytes=360) at malloc.c:2928
> #8 0xb7580d8b in __GI___open_memstream (bufloc=0xbfb823ac, sizeloc=0xbfb823b0) at memstream.c:76
> #9 0xb75fdf35 in __GI___vsyslog_chk (pri=134, flag=1, fmt=0x65edf4 "%.*s", ap=0xbfb8245c "\035") at ../misc/syslog.c:167
> #10 0xb75fe449 in __syslog_chk (pri=134, flag=1, fmt=0x65edf4 "%.*s") at ../misc/syslog.c:129
> #11 0x0052bd6b in syslog (__fmt=0x65edf4 "%.*s", __pri=<optimized out>) at /usr/include/i386-linux-gnu/bits/syslog.h:31
> #12 xlog_2 (msg=0x190d480, lev=0x18dba80 "", frm=0x18dbac0 " \372\177\001\035") at xlog.c:230
> #13 0x004efc5a in do_action (a=0x17ffaa8, msg=0x190d480) at action.c:1638
> #14 0x004f300a in run_action_list (a=0x17ffaa8, msg=0x190d480) at action.c:172
> #15 0x004f2041 in do_action (a=0x1800678, msg=0x190d480) at action.c:1130
> #16 0x004f300a in run_action_list (a=0x17f9ad0, msg=0x190d480) at action.c:172
> #17 0x004f330a in run_actions (msg=0x190d480, a=0x17f9ad0) at action.c:137
> #18 run_top_route (a=0x17f9ad0, msg=0x190d480) at action.c:214
> #19 0x004f9a33 in receive_msg (buf=<optimized out>, len=<optimized out>, rcv_info=<optimized out>, existing_context=<optimized out>, flags=<optimized out>) at receive.c:209
> #20 0x00642878 in tcp_handle_req (_max_msg_chunks=<optimized out>, con=0x97d793ec, req=0x77bea0 <tcp_current_req>) at net/proto_tcp/tcp_common.h:411
> #21 tcp_read_req (con=0x97d793ec, bytes_read=0xbfb82f18) at net/proto_tcp/proto_tcp.c:1179
> #22 0x00622a8e in handle_io (fm=<optimized out>, idx=idx at entry=0, event_type=event_type at entry=1) at net/net_tcp_proc.c:241
> #23 0x006250d5 in io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:280
> #24 tcp_worker_proc_loop () at net/net_tcp_proc.c:386
> #25 0x00630993 in tcp_start_processes (chd_rank=0x758980 <chd_rank>, startup_done=0x0) at net/net_tcp.c:1887
> #26 0x004d642c in main_loop () at main.c:761
> #27 main (argc=<optimized out>, argv=<optimized out>) at main.c:1407
>
> --
> Dan
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list