[OpenSIPS-Devel] [ opensips-Bugs-2049389 ] pua_mi crash in mi_publ_rpl_cback

SourceForge.net noreply at sourceforge.net
Mon Dec 8 13:46:32 CET 2008


Bugs item #2049389, was opened at 2008-08-13 13:34
Message generated for change (Comment added) made by anca_vamanu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2049389&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: trunk
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Denis Bilenko (denik)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: pua_mi crash in mi_publ_rpl_cback

Initial Comment:
I'm using pua_mi module to publish xcap-diff events from openxcap.
It crashes when there're many requests and fork=yes (with fork=no I get
timeout errors instead).

OpenSIPS used: trunk/rev4612, with this patch applied
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2048012&group_id=232389

It also uses presence_xcapdiff module that does nothing 
else but adds event 'xcap-diff' to presence and to pua.

config/logs/core dump are attached


----

Core was generated by `./opensips -f etc/openxcap.cfg -w .'.
Program terminated with signal 11, Segmentation fault.
[New process 16600]
#0  0x00007faa606d24b0 in ?? ()
(gdb) bt
#0  0x00007faa606d24b0 in ?? ()
#1  0x00007faa62dec956 in mi_publ_rpl_cback (hentity=<value optimized out>, reply=0x776d08) at mi_func.c:327
#2  0x00007faa63004314 in publ_cback_func (t=<value optimized out>, type=<value optimized out>,
    ps=0x7faa661b2340) at pua_callback.h:72
#3  0x00007faa65f8481e in run_trans_callbacks (type=256, trans=0x7faa606e0268, req=0x0, rpl=0x765540, code=16600)
    at t_hooks.c:205
#4  0x00007faa65fa0324 in local_reply (t=0x7faa606e0268, p_msg=0x776d08, branch=1859448616,
    msg_status=<value optimized out>, cancel_bitmap=0x7fff6ed4ef28) at t_reply.c:1248
#5  0x00007faa65fa1adb in reply_received (p_msg=0x776d08) at t_reply.c:1389
#6  0x0000000000421a6c in forward_reply (msg=0x776d08) at forward.c:507
#7  0x000000000045d0c5 in receive_msg (buf=0x40d8 <Address 0x40d8 out of bounds>, len=1859448784,
    rcv_info=0x7fff6ed4f020) at receive.c:203
#8  0x000000000049c456 in udp_rcv_loop () at udp_server.c:449
#9  0x00000000004289de in main (argc=<value optimized out>, argv=0x7fff6ed4f1f8) at main.c:780


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

>Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-12-08 14:46

Message:
Hi Denis,

I have fixed this in revision 5015 for 1.4.x branch and revision 5014 for
trunk.

Thanks and regards,
Anca


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

Comment By: Nobody/Anonymous (nobody)
Date: 2008-08-22 16:49

Message:
Logged In: NO 

Thanks, Anca. I'm using mi_datagram.


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

Comment By: Anca Vamanu (anca_vamanu)
Date: 2008-08-22 16:39

Message:
Logged In: YES 
user_id=1614776
Originator: NO

Hi Denis,

I will investigate this.
First, please tell me what MI transport are you using? Is it xmlrpc? It
seems that there might be some problems in there.
Anyhow, I will test it myself with fifo to check if the problem is in pua
modules.

regards,
Anca Vamanu


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

Comment By: Denis Bilenko (denik)
Date: 2008-08-15 12:20

Message:
Logged In: YES 
user_id=2068628
Originator: YES

core:
http://devel.ag-projects.com/~denis/opensips_core_dump_pua_mi.bz2

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

Comment By: Denis Bilenko (denik)
Date: 2008-08-13 13:56

Message:
Logged In: YES 
user_id=2068628
Originator: YES

File Added: crash_log.bz2

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

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



More information about the Devel mailing list