hi just after talking to Jeremy, I downloaded the source he's using and compiled. core dump! This was without gatekeeper: (gdb) bt #0 0x40141118 in mallopt () from /lib/libc.so.6 #1 0x401400fc in malloc () from /lib/libc.so.6 #2 0x405e981b in PAbstractArray::SetSize(int) () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #3 0x405ed006 in PString::SetSize(int) () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #4 0x405e8d4c in PContainer::SetMinSize(int) () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #5 0x405f0686 in PStringStream::Buffer::Buffer(PStringStream&, int) () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #6 0x405f0cfb in PStringStream::PStringStream() () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #7 0x410b95ea in H323TransportUDP::DiscoverGatekeeper(H323Gatekeeper&, H323RasPDU&, H323TransportAddress const&) () from /usr/local/lib/libh323_linux_x86_r.so.1 #8 0x410aa5df in H323TransportAddress::H323TransportAddress(PIPSocket::Address const&, unsigned short) () from /usr/local/lib/libh323_linux_x86_r.so.1 #9 0x410b23b4 in H323ListenerTCP::GetTransportAddress() const () from /usr/local/lib/libh323_linux_x86_r.so.1 #10 0x402b281d in h323_start_listener (listenPort=1720, bindaddr {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\0\0\0\0\0\0\0"}, _jitter=100) at ast_h323.cpp:833 #11 0x402ae2ea in load_module () at chan_h323.c:1646 #12 0x08054146 in ast_load_resource (resource_name=0x80cd028 "chan_h323.so") at loader.c:298 #13 0x08054794 in load_modules () at loader.c:344 #14 0x0807af8a in main (argc=-1073744208, argv=0x0) at asterisk.c:1330 and this was with one (gdb) bt #0 0x40140f92 in mallopt () from /lib/libc.so.6 #1 0x401400fc in malloc () from /lib/libc.so.6 #2 0x41612c56 in operator new(unsigned) () from /usr/lib/libstdc++.so.5 #3 0x405b09fd in PChannel::PChannel() () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #4 0x405b22d2 in PIndirectChannel::PIndirectChannel() () from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1 #5 0x410ac7cf in H323Transport::H323Transport(H323EndPoint&) () from /usr/local/lib/libh323_linux_x86_r.so.1 #6 0x410b2e2a in H323TransportIP::H323TransportIP(H323EndPoint&, PIPSocket::Address, unsigned short) () from /usr/local/lib/libh323_linux_x86_r.so.1 #7 0x410b572c in H323TransportUDP::H323TransportUDP(H323EndPoint&, PIPSocket::Address, unsigned short) () from /usr/local/lib/libh323_linux_x86_r.so.1 #8 0x402b2f53 in h323_set_gk (gatekeeper_discover=0, gatekeeper=0x402bab60 "192.168.0.10", secret=0x402babe0 "") at ast_h323.cpp:907 #9 0x402ae354 in load_module () at chan_h323.c:1654 #10 0x08054146 in ast_load_resource (resource_name=0x80cd018 "chan_h323.so") at loader.c:298 #11 0x08054794 in load_modules () at loader.c:344 #12 0x0807af8a in main (argc=-1073744208, argv=0x0) at asterisk.c:1330 -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 9801 3356 Computers are like air conditioners. They stop working when you open Windows.
No clue... Cannot reproduce this on any of my systems. Jeremy McNamara Roy Sigurd Karlsbakk wrote:>hi > >just after talking to Jeremy, I downloaded the source he's using and compiled. >core dump! This was without gatekeeper: > >(gdb) bt >#0 0x40141118 in mallopt () from /lib/libc.so.6 >#1 0x401400fc in malloc () from /lib/libc.so.6 >#2 0x405e981b in PAbstractArray::SetSize(int) () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#3 0x405ed006 in PString::SetSize(int) () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#4 0x405e8d4c in PContainer::SetMinSize(int) () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#5 0x405f0686 in PStringStream::Buffer::Buffer(PStringStream&, int) () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#6 0x405f0cfb in PStringStream::PStringStream() () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#7 0x410b95ea in H323TransportUDP::DiscoverGatekeeper(H323Gatekeeper&, >H323RasPDU&, H323TransportAddress const&) () > from /usr/local/lib/libh323_linux_x86_r.so.1 >#8 0x410aa5df in >H323TransportAddress::H323TransportAddress(PIPSocket::Address const&, >unsigned short) () > from /usr/local/lib/libh323_linux_x86_r.so.1 >#9 0x410b23b4 in H323ListenerTCP::GetTransportAddress() const () from >/usr/local/lib/libh323_linux_x86_r.so.1 >#10 0x402b281d in h323_start_listener (listenPort=1720, bindaddr> {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = >"\0\0\0\0\0\0\0"}, _jitter=100) at ast_h323.cpp:833 >#11 0x402ae2ea in load_module () at chan_h323.c:1646 >#12 0x08054146 in ast_load_resource (resource_name=0x80cd028 "chan_h323.so") >at loader.c:298 >#13 0x08054794 in load_modules () at loader.c:344 >#14 0x0807af8a in main (argc=-1073744208, argv=0x0) at asterisk.c:1330 > >and this was with one > >(gdb) bt >#0 0x40140f92 in mallopt () from /lib/libc.so.6 >#1 0x401400fc in malloc () from /lib/libc.so.6 >#2 0x41612c56 in operator new(unsigned) () from /usr/lib/libstdc++.so.5 >#3 0x405b09fd in PChannel::PChannel() () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#4 0x405b22d2 in PIndirectChannel::PIndirectChannel() () from >/usr/src/pwlib/lib/libpt_linux_x86_r.so.1 >#5 0x410ac7cf in H323Transport::H323Transport(H323EndPoint&) () from >/usr/local/lib/libh323_linux_x86_r.so.1 >#6 0x410b2e2a in H323TransportIP::H323TransportIP(H323EndPoint&, >PIPSocket::Address, unsigned short) () > from /usr/local/lib/libh323_linux_x86_r.so.1 >#7 0x410b572c in H323TransportUDP::H323TransportUDP(H323EndPoint&, >PIPSocket::Address, unsigned short) () > from /usr/local/lib/libh323_linux_x86_r.so.1 >#8 0x402b2f53 in h323_set_gk (gatekeeper_discover=0, gatekeeper=0x402bab60 >"192.168.0.10", secret=0x402babe0 "") at ast_h323.cpp:907 >#9 0x402ae354 in load_module () at chan_h323.c:1654 >#10 0x08054146 in ast_load_resource (resource_name=0x80cd018 "chan_h323.so") >at loader.c:298 >#11 0x08054794 in load_modules () at loader.c:344 >#12 0x0807af8a in main (argc=-1073744208, argv=0x0) at asterisk.c:1330 > > > >