[OpenSIPS-Users] Opensips Bug
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Sep 21 13:07:48 CEST 2009
Hi Mauro,
1.5.0 and 1.5.1 had some bugs in the prepared statement part in mysql.
in 1.5.2 and 1.5.3 there were several critical fixes in that area, so
please update to latest 1.5.3 (use SVN branch 1.5 or tarballs).
Best regards,
Bogdan
Mauro Davì wrote:
> Hi All,
>
> After several days, the opensips instance crash. This is the gdb
> backtrace output:
>
> #0 db_mysql_query (_h=0x81be100, _k=0xbfcd2060, _op=0x0,
> _v=0xbfcd2030, _c=0xbfcd2044, _n=1, _nc=3, _o=0x0, _r=0xbfcd2064) at
> dbase.c:758
> 758 if
> (CON_HAS_UNINIT_PS(_h)||!has_stmt_ctx(_h,&(CON_MYSQL_PS(_h)->ctx))){
> (gdb) bt
> #0 db_mysql_query (_h=0x81be100, _k=0xbfcd2060, _op=0x0,
> _v=0xbfcd2030, _c=0xbfcd2044, _n=1, _nc=3, _o=0x0, _r=0xbfcd2064) at
> dbase.c:758
> #1 0x0031ca87 in allow_trusted (msg=0x81c1c08, src_ip=0x81ac7a0
> "93.41.154.240", proto=1) at trusted.c:422
> #2 0x0031d832 in allow_trusted_0 (_msg=0x81c1c08, str1=0x0, str2=0x0)
> at trusted.c:449
> #3 0x080556b2 in do_action (a=0x81b9ed8, msg=0x81c1c08) at action.c:962
> #4 0x08053934 in run_action_list (a=0x81b9ed8, msg=0x81c1c08) at
> action.c:139
> #5 0x080a873e in eval_expr (e=0x81b9f40, msg=0x81c1c08, val=0x0) at
> route.c:1189
> #6 0x080a814f in eval_expr (e=0x81b9f68, msg=0x81c1c08, val=0x0) at
> route.c:1507
> #7 0x080544b8 in do_action (a=0x81ba108, msg=0x81c1c08) at action.c:689
> #8 0x08053934 in run_action_list (a=0x81ba108, msg=0x81c1c08) at
> action.c:139
> #9 0x080565ce in do_action (a=0x81baa28, msg=0x81c1c08) at action.c:706
> #10 0x08053934 in run_action_list (a=0x81b9058, msg=0x81c1c08) at
> action.c:139
> #11 0x080565ce in do_action (a=0x81bad60, msg=0x81c1c08) at action.c:706
> #12 0x08053934 in run_action_list (a=0x81b4d10, msg=0x81c1c08) at
> action.c:139
> #13 0x08053cd3 in run_top_route (a=0x81b4d10, msg=0x81c1c08) at
> action.c:119
> #14 0x0809860e in receive_msg (
> buf=0x818bf60 "ACK sip:noc21n at acotel.com SIP/2.0\r\nVia:
> SIP/2.0/UDP
> 23.238.97.105:6478;branch=z9hG4bK-d8754z-c5755801401f725b-1---d8754z-;rport\r\nMax-Forwards:
> 69\r\nTo: <sip:noc21n at acotel.com>;tag=eaf1320168ad703bbd729"...,
> len=370, rcv_info=0xbfcd2fa4) at receive.c:165
> #15 0x080dc147 in udp_rcv_loop () at udp_server.c:449
> #16 0x0806fef5 in main (argc=4, argv=0xbfcd3194) at main.c:779
>
> If you need some additional information or the core file, please ask me.
>
> I'm using opensips 1.5.1. I don't know if there is already a bug fix...
>
> Thanks
> MD
> --
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list