[OpenSIPS-Devel] [ opensips-Bugs-2904684 ] Segfault at ip_addr.h:418 when listen=tls:<IP>:<PORT>

SourceForge.net noreply at sourceforge.net
Mon Nov 30 09:56:19 CET 2009


Bugs item #2904684, was opened at 2009-11-26 22:22
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2904684&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: core
Group: 1.6.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Segfault at ip_addr.h:418 when listen=tls:<IP>:<PORT>

Initial Comment:
happen with latest 1.6 (rev 6359) when listen=tls:<IP>:<PORT> or listen=tcp:<IP>:<PORT> is set in opensips.cfg
does not happen when listen=udp:<IP>:<PORT> is set

Program received signal SIGSEGV, Segmentation fault.
init_acc_extra () at ../../ip_addr.h:418
418             switch(ip->af){
(gdb) bt
#0  init_acc_extra () at ../../ip_addr.h:418
#1  0xb7b8d06c in mod_init () at acc_mod.c:363
#2  0x080c00d5 in init_mod (m=0x81c2ff0) at sr_module.c:457
#3  0x08070c6a in main (argc=1, argv=0xbfd5ef14) at main.c:1351
(gdb) bt full
#0  init_acc_extra () at ../../ip_addr.h:418
No locals.
#1  0xb7b8d06c in mod_init () at acc_mod.c:363
        tmp = <value optimized out>
        __FUNCTION__ = "mod_init"
#2  0x080c00d5 in init_mod (m=0x81c2ff0) at sr_module.c:457
        __FUNCTION__ = "init_mod"
#3  0x08070c6a in main (argc=1, argv=0xbfd5ef14) at main.c:1351
        cfg_log_stderr = 0
        cfg_stream = (FILE *) 0x82be008
        c = <value optimized out>
        r = <value optimized out>
        tmp = 0xb7f1c028 ""
        tmp_len = <value optimized out>
        port = <value optimized out>
        proto = <value optimized out>
        ret = <value optimized out>
        seed = 1029995666
        rfd = 7
        __FUNCTION__ = "main"


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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-11-30 10:56

Message:
Fix is available on all versions starting with 1.5.

Thanks and regards,
Bogdan

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

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



More information about the Devel mailing list