[OpenSIPS-Users] Segmentation fault at ip_addr.h:418 when starting opensips 1.6
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Dec 1 23:45:48 CET 2009
Hi Kristijan,
The fix is available on SVN - please update sources from SVN tree and it
should work.
Thanks for your report,
Bogdan
Kristijan Vrban wrote:
> without the "listen" line (comment out)
> listen = tls:192.168.2.100:5061 <http://192.168.2.100:5061/>
> it's working
>
> 2009/11/24 Kristijan Vrban <vrban.lkml at googlemail.com
> <mailto:vrban.lkml at googlemail.com>>
>
>
> Just the default script. I only uncomment the tls settings, and
> added my internal ip
>
> /* uncomment the following lines to enable TLS support (default
> off) */
> disable_tls = no
> listen = tls:192.168.2.100:5061 <http://192.168.2.100:5061>
> tls_verify_server = 1
> tls_verify_client = 1
> tls_require_client_certificate = 0
> tls_method = TLSv1
> tls_certificate = "/usr/local/etc/opensips/tls/user/user-cert.pem"
> tls_private_key = "/usr/local/etc/opensips/tls/user/user-privkey.pem"
> tls_ca_list = "/usr/local/etc/opensips/tls/user/user-calist.pem"
>
>
> 2009/11/24 Bogdan-Andrei Iancu <bogdan at voice-system.ro
> <mailto:bogdan at voice-system.ro>>
>
> Hi Kristijan,
>
> What are the configured listening interfaces in your script ?
>
> Regards,
> Bogdan
>
> Kristijan Vrban wrote:
> > Hello, i just fetched latest 1.6 svn branch (revision 6356)
> and when starting it on my Debian/Etch:
> >
> > 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"
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
> --
> Bogdan-Andrei Iancu
> www.voice-system.ro <http://www.voice-system.ro>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list