[OpenSIPS-Users] opensips git revision: 76e9809 crash

Ionut Ionita ionutionita at opensips.org
Tue Nov 1 16:05:08 CET 2016


Hi,

     Can you try upgrading to 2.1.4? Commit e49e2e8 could fix this problem.


Regards,

Ionut Ionita
OpenSIPS Developer

On 11/01/2016 02:36 PM, Dani Popa wrote:
> Hi,
>
> I got a crash.
>
> Thanks,
>
> version: opensips 2.1.1 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, 
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git revision: 76e9809
> main.c compiled on 21:32:22 Jul  5 2016 with gcc 4.9.2
>
> #0  0x00007fcf270f5779 in db_mysql_val2bind (v=v at entry=0x7fcf25d30ce0 
> <db_vals+480>, binds=binds at entry=0x7fcf28668d08, i=i at entry=15) at 
> val.c:295
> #1  0x00007fcf270fbe1a in db_mysql_do_prepared_query 
> (conn=conn at entry=0x7fcf28664e90, v=v at entry=0x7fcf25d30b00 <db_vals>, 
> n=n at entry=17, uv=uv at entry=0x0, un=un at entry=0, query=0x7fcf27315980 
> <query_holder>)
>     at dbase.c:676
> #2  0x00007fcf27101508 in db_mysql_insert (_h=0x7fcf28664e90, 
> _k=0x7fcf25d32180 <db_keys>, _v=0x7fcf25d30b00 <db_vals>, _n=17) at 
> dbase.c:1265
> #3  0x00007fcf25af85fa in acc_db_request (rq=rq at entry=0x7fcf28219f40 
> <faked_req>, rpl=rpl at entry=0x7fcf286677e0, 
> ins_list=ins_list at entry=0x7fcf25d334d8 <mc_ins_list>, cdr_flag=2) at 
> acc.c:638
> #4  0x00007fcf25b0713d in on_missed (code=<optimized out>, 
> reply=0x7fcf286677e0, req=0x7fcf28219f40 <faked_req>, t=<optimized 
> out>) at acc_logic.c:456
> #5  tmcb_func (t=<optimized out>, type=<optimized out>, ps=<optimized 
> out>) at acc_logic.c:685
> #6  0x00007fcf27ff4326 in run_trans_callbacks (type=type at entry=32, 
> trans=trans at entry=0x7fcf22c7c1b0, req=req at entry=0x7fcf28219f40 
> <faked_req>, rpl=<optimized out>, code=<optimized out>) at t_hooks.c:209
> #7  0x00007fcf27faea86 in run_failure_handlers (t=0x7fcf22c7c1b0) at 
> t_reply.c:569
> #8  t_should_relay_response (reply=<optimized out>, 
> cancel_bitmap=<optimized out>, should_relay=<synthetic pointer>, 
> should_store=<synthetic pointer>, branch=<optimized out>, new_code=500,
>     Trans=0x7fcf22c7c1b0) at t_reply.c:911
> #9  relay_reply (t=0x7fcf22c7c1b0, p_msg=<optimized out>, 
> branch=<optimized out>, msg_status=500, cancel_bitmap=<optimized out>) 
> at t_reply.c:1125
> #10 0x00007fcf27fb2325 in reply_received (p_msg=0x7fcf286677e0) at 
> t_reply.c:1505
> #11 0x000000000047b585 in forward_reply (msg=msg at entry=0x7fcf286677e0) 
> at forward.c:517
> #12 0x000000000045d9bd in receive_msg (
>     buf=0x85f540 <buf> "SIP/2.0 500 Internal server error\r\nVia: 
> SIP/2.0/UDP 
> XXX.XXX.XXX.XXX:5060;branch=z9hG4bK7615.63e34a06.0\r\nFrom: 
> \"XXXXXXXXXX\" 
> <sip:XXXXXXXXXX at XXX.XXX.XXX.XXX>;tag=g8t85U635m04N\r\nTo: 
> <sip:AAAAAAAAAAAAAA at AA"..., len=<optimized out>, 
> rcv_info=rcv_info at entry=0x7ffc8eadc4e0) at receive.c:243
> #13 0x00000000005a04c5 in udp_read_req (si=<optimized out>, 
> bytes_read=<optimized out>) at net/proto_udp/proto_udp.c:190
> #14 0x000000000058bfbe in handle_io (fm=<optimized out>, fm=<optimized 
> out>, fm=<optimized out>, idx=<optimized out>, event_type=2) at 
> net/net_udp.c:260
> #15 io_wait_loop_epoll (h=<optimized out>, t=<optimized out>, 
> repeat=<optimized out>) at net/../io_wait_loop.h:190
> #16 udp_rcv_loop (si=si at entry=0x7fcf28641f68) at net/net_udp.c:308
> #17 0x000000000058db9c in udp_start_processes 
> (chd_rank=chd_rank at entry=0x84c26c <chd_rank>, 
> startup_done=startup_done at entry=0x0) at net/net_udp.c:448
> #18 0x000000000041a9d3 in main_loop () at main.c:722
> #19 main (argc=<optimized out>, argv=<optimized out>) at main.c:1259
>
>
> -- 
> Dani Popa
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161101/d2051e74/attachment.htm>


More information about the Users mailing list