[OpenSIPS-Devel] [ opensips-Bugs-2903244 ] Segfault when using pua_dialoginfo
SourceForge.net
noreply at sourceforge.net
Wed Nov 25 13:46:56 CET 2009
Bugs item #2903244, was opened at 2009-11-24 19:27
Message generated for change (Comment added) made by anca_vamanu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2903244&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.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: takeshi (mayamatakeshi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault when using pua_dialoginfo
Initial Comment:
I'm testing with presence and pua dialoginfo modules. It is segfaulting frequently.
I got this in the log file:
Nov 25 00:57:27 lab kernel: opensips[10924]: segfault at 0000000000000008 rip 00002b2fe86c65f9 rsp 00007fffc3b581e0 error 4
And here's a backtrace:
Program terminated with signal 11, Segmentation fault.
[New process 10924]
#0 0x00002b2fe86c65f9 in publ_build_hdr (expires=3600, ev=0x0, content_type=0x0, etag=0x2b2fe940c248, extra_headers=0x2b2fe940c335,
is_body=0) at send_publish.c:80
80 memcpy(str_hdr->s+ str_hdr->len, ev->name.s, ev->name.len);
(gdb) bt full
#0 0x00002b2fe86c65f9 in publ_build_hdr (expires=3600, ev=0x0, content_type=0x0, etag=0x2b2fe940c248, extra_headers=0x2b2fe940c335,
is_body=0) at send_publish.c:80
str_hdr = (str *) 0x785ff0
len = <value optimized out>
t = <value optimized out>
buf = "Max-Forwards: 70\r\nEvent: ", '\0' <repeats 2974 times>
__FUNCTION__ = "publ_build_hdr"
#1 0x00002b2fe86c24d1 in update_pua (p=0x2b2fe940c1f8, hash_code=<value optimized out>) at pua.c:670
met = {s = 0x2b2fe86d4ab1 "PUBLISH", len = 7}
str_hdr = <value optimized out>
expires = 3600
result = <value optimized out>
__FUNCTION__ = "update_pua"
#2 0x00002b2fe86c2f74 in hashT_clean (ticks=<value optimized out>, param=<value optimized out>) at pua.c:625
i = <value optimized out>
now = 1259078247
p = (ua_pres_t *) 0x2b2fe940c1f8
__FUNCTION__ = "hashT_clean"
#3 0x000000000048bf63 in start_timer_processes () at timer.c:325
tpl = (struct sr_timer_process *) 0x784b20
pid = <value optimized out>
__FUNCTION__ = "start_timer_processes"
#4 0x00000000004297e1 in main (argc=3, argv=0x4) at main.c:867
cfg_log_stderr = <value optimized out>
cfg_stream = (FILE *) 0x1a715010
c = <value optimized out>
r = <value optimized out>
tmp = 0x4f7d67 "H\215\005\222Â#"
tmp_len = <value optimized out>
port = <value optimized out>
proto = <value optimized out>
ret = <value optimized out>
seed = 2113776588
rfd = <value optimized out>
__FUNCTION__ = "main"
I'm using opensips 1.6. Revision: 6358.
For my tests, I just adapted the sample from here:
http://opensips.org/index.php?n=Resources.PuaDialoinfoConfig
(I'm attaching my cfg, just in case)
----------------------------------------------------------------------
>Comment By: Anca Vamanu (anca_vamanu)
Date: 2009-11-25 14:46
Message:
Hi,
I have made a fix now for that crash. Please update.
Regards,
Anca
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2903244&group_id=232389
More information about the Devel
mailing list