[OpenSIPS-Devel] opensips on FreeBSD 8.1 GENERIC Amd64

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Thu Feb 17 14:13:05 CET 2011


Hi.

This is more right gdb backtrace:

(gdb) bt full
#0  0x0000000800d2d500 in stat () from
/usr/local/lib64/opensips/modules/b2b_logic.so
No symbol table info available.
#1  0x0000000800861a1d in nsdispatch () from /lib/libc.so.7
No symbol table info available.
#2  0x00000008008613f3 in gethostbyaddr_r () from /lib/libc.so.7
No symbol table info available.
#3  0x000000080086154c in gethostbyaddr () from /lib/libc.so.7
No symbol table info available.
#4  0x000000000047aefa in fix_socket_list (list=0x661328) at
socket_info.c:635
        si = (struct socket_info *) 0x6a2030
        l = Variable "l" is not available.


As I see gethostbyaddrs() fails. When I changed it to gethostbyname then
openSIPS starts without segfault.






WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru
www.oyster-telecom.ru


> -----Original Message-----
> From: devel-bounces at lists.opensips.org [mailto:devel-
> bounces at lists.opensips.org] On Behalf Of Anton Zagorskiy
> Sent: Wednesday, February 16, 2011 1:30 PM
> To: 'OpenSIPS devel mailling list'
> Subject: [OpenSIPS-Devel] opensips on FreeBSD 8.1 GENERIC Amd64
> 
> Hi.
> 
> Does openSIPS support FreeBSD amd64?
> I'm trying to run it, but openSIPS is getting segfault 11.
> It seems that it can't initialize b2b_logic module.
> 
> Gdb on core dump:
> 
> (gdb) bt full
> #0  0x0000000803380560 in stat () from
> /usr/local/lib64/opensips/modules/b2b_logic.so
> No symbol table info available.
> #1  0x000000080085ca1d in nsdispatch () from /lib/libc.so.7 No symbol
> table info available.
> #2  0x000000080085bed3 in sethostent () from /lib/libc.so.7 No symbol
> table info available.
> #3  0x000000080085c0ef in gethostbyname_r () from /lib/libc.so.7 No
> symbol table info available.
> #4  0x000000080085c17c in gethostbyname () from /lib/libc.so.7 No
> symbol table info available.
> #5  0x000000000047616c in fix_socket_list (list=0x65da08) at
> resolve.h:349
>         si = (struct socket_info *) 0x69e770
>         l = Variable "l" is not available.
> 
> 
> 
> 
> 
> 
> WBR, Anton Zagorskiy
> VoIP Developer, Oyster Telecom
> Phone.: +7 812 601-0666
> Fax: +7 812 601-0593
> a.zagorskiy at oyster-telecom.ru
> www.oyster-telecom.ru
> 
> 





More information about the Devel mailing list