Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#223 Segfault at ip_addr.h:418 when listen=tls:<IP>:<PORT>

1.6.x
closed-fixed
core (110)
5
2009-11-30
2009-11-26
Anonymous
No

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"

Discussion

  • Fix is available on all versions starting with 1.5.

    Thanks and regards,
    Bogdan

     
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-fixed