#5 pua_mi crash in mi_publ_rpl_cback

modules (454)

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

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


  • Denis Bilenko

    Denis Bilenko - 2008-08-13

    openSIP configuration file used

  • Denis Bilenko

    Denis Bilenko - 2008-08-13

    Logged In: YES
    Originator: YES

    File Added: crash_log.bz2

  • Denis Bilenko

    Denis Bilenko - 2008-08-13

    opensips debug output

  • Anca Vamanu

    Anca Vamanu - 2008-08-22

    Logged In: YES
    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.

    Anca Vamanu

  • Anca Vamanu

    Anca Vamanu - 2008-08-22
    • assigned_to: nobody --> anca_vamanu
  • Nobody/Anonymous

    Logged In: NO

    Thanks, Anca. I'm using mi_datagram.

  • Anca Vamanu

    Anca Vamanu - 2008-12-08
    • status: open --> closed-fixed
  • Anca Vamanu

    Anca Vamanu - 2008-12-08

    Hi Denis,

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

    Thanks and regards,


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks