[Asterisk-Users] core dump in chan_h323 (again) (and again)
Roy Sigurd Karlsbakk
roy at karlsbakk.net
Mon Mar 24 07:23:08 MST 2003
recompiled pwlib, openh323 and chan_h323 - this time with lots of debug info
Can someone help me please???????
chan_h323 core dumps every time I compile it.
This is on a relatively new (or at least unused) Duron 1200 PC with 512 megs
of RAM. It's running Debian SID. (woody didn't work)
roy
(gdb) bt
#0 0x40133161 in mallopt () from /lib/libc.so.6
#1 0x40132145 in malloc () from /lib/libc.so.6
#2 0x404ec95b in PAbstractArray::SetSize(int) () from
/usr/src/pwlib/lib/libpt_linux_x86_r.so.1
#3 0x404efe06 in PString::SetSize(int) () from
/usr/src/pwlib/lib/libpt_linux_x86_r.so.1
#4 0x404f2eb0 in PStringStream::Buffer::Buffer(PStringStream&, int) () from
/usr/src/pwlib/lib/libpt_linux_x86_r.so.1
#5 0x404f3598 in PStringStream::PStringStream() () from
/usr/src/pwlib/lib/libpt_linux_x86_r.so.1
#6 0x40c6845a in H323TransportUDP::DiscoverGatekeeper(H323Gatekeeper&,
H323RasPDU&, H323TransportAddress const&) ()
from /usr/src/openh323/lib/libh323_linux_x86_r.so.1
#7 0x40c5ee6f in
H323TransportAddress::H323TransportAddress(PIPSocket::Address const&,
unsigned short) ()
from /usr/src/openh323/lib/libh323_linux_x86_r.so.1
#8 0x40c62614 in H323ListenerTCP::GetTransportAddress() const () from
/usr/src/openh323/lib/libh323_linux_x86_r.so.1
#9 0x402a181e 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:827
#10 0x4029d070 in load_module () at chan_h323.c:1580
#11 0x08053736 in ast_load_resource (resource_name=0x80c4468 "chan_h323.so")
at loader.c:272
#12 0x080538c2 in load_modules () at loader.c:318
#13 0x0807804b in main (argc=2, argv=0xbffff954) at asterisk.c:1293
On Monday 24 March 2003 13:46, Roy Sigurd Karlsbakk wrote:
> On Saturday 22 March 2003 16:30, Roy Sigurd Karlsbakk wrote:
> > > This looks a whole lot like the -rx 'reload' problem we've been having.
> > >
> > > Are you running latest CVS of everything?
> >
> > yes
> >
> > roy
>
> Just update to libc-2.3.1 and ran asterisk with freshly compiled pwlib,
> openh323 and chan_capi. all fresh from cvs. What's wrong with this? I just
> updated to Debian SID as Jeremy meant chan_h323 required newer libraries.
>
> Please help
>
> roy
> ---------------------------------------------------------------------------
>-------------------------------------- ...
> NOTICE[16384]: File chan_capi.c, Line 1884 (supported_sservices): CCNR
> == Registered channel type 'CAPI' (Common ISDN API Driver)
> [chan_h323.so] => (The NuFone Network's Open H.323 Channel Driver)
> == Creating H.323 Endpoint
> == Parsing '/etc/asterisk/h323.conf': Found
> == Registered channel type 'H323' (The NuFone Network's Open H.323
> Channel Driver)
> Segmentation fault
> ---------------------------------------------------------------------------
>--------------------------------------
>
> this are the libs I'm using:
> ---------------------------------------------------------------------------
>-------------------------------------- asterisk1:~# ldd
> /usr/lib/asterisk/modules/chan_h323.so
> libpt_linux_x86_r.so.1 => /usr/src/pwlib/lib/libpt_linux_x86_r.so.1
> (0x40025000)
> libh323_linux_x86_r.so.1 =>
> /usr/src/openh323/lib/libh323_linux_x86_r.so.1 (0x402fb000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x40c8c000)
> libdl.so.2 => /lib/libdl.so.2 (0x40cdb000)
> libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
> (0x40cde000)
> libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40dce000)
> libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40dfd000)
> libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40e1c000)
> libm.so.6 => /lib/libm.so.6 (0x40ec5000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40ee6000)
> libc.so.6 => /lib/libc.so.6 (0x40eee000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> ---------------------------------------------------------------------------
>--------------------------------------
>
> and here's the backtrace
> ---------------------------------------------------------------------------
>-------------------------------------- (gdb) bt
> #0 0x40133161 in mallopt () from /lib/libc.so.6
> #1 0x40132145 in malloc () from /lib/libc.so.6
> #2 0x410cfc76 in operator new(unsigned) () from /usr/lib/libstdc++.so.5
> #3 0x40c62318 in H323ListenerTCP::Accept(PTimeInterval const&) () from
> /usr/src/openh323/lib/libh323_linux_x86_r.so.1
> #4 0x40c62ee6 in H323ListenerTCP::Main() () from
> /usr/src/openh323/lib/libh323_linux_x86_r.so.1
> #5 0x404e3185 in PThread::PX_ThreadStart(void*) () from
> /usr/src/pwlib/lib/libpt_linux_x86_r.so.1
> #6 0x4001fd53 in pthread_start_thread () from /lib/libpthread.so.0
> ---------------------------------------------------------------------------
>--------------------------------------
--
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.
More information about the asterisk-users
mailing list