[OpenSIPS-Devel] [ opensips-Bugs-3579200 ] OpenSIP B2BUA core dump

SourceForge.net noreply at sourceforge.net
Fri Oct 26 16:19:18 CEST 2012


Bugs item #3579200, was opened at 2012-10-22 12:01
Message generated for change (Comment added) made by apsaras
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3579200&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: apsaras (apsaras)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: OpenSIP B2BUA core dump

Initial Comment:
We have the following setup.

OpenSIPs 1.8.1 does permission checking, drouding, nat and sends requests to an other OpenSIPs on the same box running on port 5080 as B2BUA. For small numer of calls per sec works fine. if we load the system with SIPp with 10 calls per sec, B2BUA is crashing.

System is CentOS 5.8 64bit with the latest updates but have same issues with debian 6.

that is the gdb bt

(gdb) bt
#0  0x00000033d2630285 in raise () from /lib64/libc.so.6
#1  0x00000033d2631d30 in abort () from /lib64/libc.so.6
#2  0x00000000004218c7 in del_lump (msg=0x7fff8ee7c050, offset=273, len=50, type=HDR_OTHER_T) at data_lump.c:336
#3  0x00002af2377a07a7 in subst_f (msg=0x7fff8ee7c050, subst=<value optimized out>, ignored=<value optimized out>) at textops.c:489
#4  0x00000000004118c1 in do_action (a=0x2af2375a69d8, msg=0x7fff8ee7c050) at action.c:1483
#5  0x0000000000416905 in run_action_list (a=<value optimized out>, msg=0x7fff8ee7c050) at action.c:143
#6  0x00000000004731a0 in eval_elem (e=0x2af2375a6ab0, msg=0x7fff8ee7c050, val=0x0) at route.c:1438
#7  0x000000000047594a in eval_expr (e=0x7fd7, msg=0x7fff8ee7c050, val=0x0) at route.c:1783
#8  0x000000000047583b in eval_expr (e=0x2af2375a6b00, msg=0x7fff8ee7c050, val=0x0) at route.c:1804
#9  0x0000000000411bfd in do_action (a=0x2af2375a6cc0, msg=0x7fff8ee7c050) at action.c:899
#10 0x0000000000416905 in run_action_list (a=<value optimized out>, msg=0x7fff8ee7c050) at action.c:143
#11 0x0000000000416c69 in run_actions (a=0x2af2375a67d0, msg=0x7fff8ee7c050) at action.c:123
#12 run_top_route (a=0x2af2375a67d0, msg=0x7fff8ee7c050) at action.c:189
#13 0x00002af23864a376 in b2b_tm_cback (t=0x2af239182988, htable=0x2af23913cca0, ps=<value optimized out>) at dlg.c:2624
#14 0x00002af2381f0ce1 in run_trans_callbacks (type=256, trans=0x2af239182988, req=0x0, rpl=0xffffffffffffffff, code=408) at t_hooks.c:212
#15 0x00002af23820ade9 in local_reply (t=0x2af239182988, p_msg=0xffffffffffffffff, branch=<value optimized out>, msg_status=<value optimized out>,
    cancel_bitmap=0x2af238eb9f90) at t_reply.c:1385
#16 0x00002af2381f41f7 in final_response_handler (ticks=<value optimized out>, attr=<value optimized out>) at timer.c:253
#17 timer_routine (ticks=<value optimized out>, attr=<value optimized out>) at timer.c:1011
#18 0x000000000049c44b in run_timer_process () at timer.c:360
#19 start_timer_processes () at timer.c:527
#20 0x000000000043006c in main_loop (argc=<value optimized out>, argv=0x7fff8ee7d368) at main.c:945
#21 main (argc=<value optimized out>, argv=0x7fff8ee7d368) at main.c:1541


----------------------------------------------------------------------

>Comment By: apsaras (apsaras)
Date: 2012-10-26 07:19

Message:
No problem with 1. Can you please send me an IP to allow it on our
firewall? Can we connect on Skype for any further communication?

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-10-26 07:17

Message:
The core file without the binaries and OS specific lib is more or less
useless.

We have 2 options here :

1) me getting access to the machine the core was generated

2) I will instruct you do to remote core investigation, step by step.

Of course 2) is much much slower than 1) .

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: apsaras (apsaras)
Date: 2012-10-26 05:56

Message:
Yes I have the file (http://www.microbase.gr/downloads/core.1263.bz2)

Do you need the conf files for proxy and b2bua ?

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-10-26 04:27

Message:
Hi Anthony,

Do you still have the core file for investigation ?

It is not load related, but rather scenario related - it looks like you
have local 408  (from timer) which goes into b2b, which calls a reply route
where you do some changes which are not valid....

Investigating the corefile will give more info on how to prevent this.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3579200&group_id=232389



More information about the Devel mailing list