[OpenSIPS-Devel] [opensips] OpenSIPS 2.1 Crash (#732)

Muhammad Shahzad Shafi notifications at github.com
Thu Jan 7 12:05:23 CET 2016


OK, I have fixed the warning but crash is still there.

Here is latest dump core,
<p><pre>
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/adx-ipc/sbin/opensips...done.
[New LWP 31541]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/local/adx-ipc/sbin/opensips -P /var/run/opensips/opensips.pid -m 64 -M 4 -'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7165188 in tsl (lock=0x0) at ../../mem/../fastlock.h:86
86		asm volatile(
(gdb) bt
#0  0xb7165188 in tsl (lock=0x0) at ../../mem/../fastlock.h:86
#1  get_lock (lock=<optimized out>) at ../../mem/../fastlock.h:176
#2  _lock (s=<optimized out>) at lock.h:100
#3  set_timer (ext_timeout=0xbfbb8ef8, list_id=FR_INV_TIMER_LIST, new_tl=0xb2c610f8) at timer.c:899
#4  set_timer (new_tl=new_tl at entry=0xb2c610f8, list_id=list_id at entry=FR_INV_TIMER_LIST, ext_timeout=ext_timeout at entry=0xbfbb8ef8) at timer.c:876
#5  0xb7183dd0 in reply_received (p_msg=0xb721a020) at t_reply.c:1535
#6  0x080823e2 in forward_reply (msg=msg at entry=0xb721a020) at forward.c:517
#7  0x080c4977 in receive_msg (
    buf=0x827c5e0 "SIP/2.0 100 Trying\r\nVia: SIP/2.0/UDP 172.16.171.21:5060;branch=z9hG4bKbb5e.d572daa2.0;received=172.16.171.21\r\nVia: SIP/2.0/UDP 192.168.1.16:6000;received=172.16.253.35;rport=6000;branch=z9hG4bK5910230"..., len=<optimized out>, rcv_info=rcv_info at entry=0xbfbb9060) at receive.c:243
#8  0x081c3137 in udp_read_req (si=0xb71b5af8, bytes_read=0xbfbb9128) at net/proto_udp/proto_udp.c:190
#9  0x081b42d1 in handle_io (fm=<optimized out>, idx=<optimized out>, event_type=<optimized out>) at net/net_udp.c:260
#10 handle_io (fm=<optimized out>, idx=<optimized out>, event_type=<optimized out>) at net/net_udp.c:287
#11 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, repeat=<optimized out>) at net/../io_wait_loop.h:215
#12 udp_rcv_loop (si=si at entry=0xb71b5af8) at net/net_udp.c:308
#13 0x081b6b01 in udp_start_processes (chd_rank=chd_rank at entry=0x823ff7c, startup_done=startup_done at entry=0x0) at net/net_udp.c:448
#14 0x080603f6 in main_loop () at main.c:723
#15 main (argc=11, argv=0xbfbb93d4) at main.c:1260
</pre></p>

Thank you.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/732#issuecomment-169631597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160107/a8c9e06b/attachment.htm>


More information about the Devel mailing list