[Asterisk-Users] chan_h323 core dump on reload, works fine at startup

Martin Pycko martinp at digium.com
Tue Sep 2 09:24:22 MST 2003


This happens only on relaod. You can disable reload routine in chan_h323.c
...

Martin

On 1 Sep 2003, Michael wrote:

> I'm running the CVS from last week and from day one (over 4 months now)
> I've had this problem where asterisk core dumps when using chan_h323.
>
> It appears to be a problem with pwlib and the console, but I'm not sure
> how to read the below output from gdb. I can start Asterisk just fine
> and chan_h323 works great when sending and receiving calls. I only have
> this core dump problem when sending a reload to Asterisk via the CLI or
> "asterisk -rx "reload"".
>
> Environment paths:
> LD_LIBRARY_PATH=/usr/src/pwlib/lib:/usr/src/openh323/lib
> PWLIBDIR=/usr/src/pwlib
> OPENH323DIR=/usr/src/openh323
>
> Core dump info:
> (gdb) bt
> #0  0x4831e20c in PSocket::os_select(int, fd_set*, fd_set*, fd_set*,
> PIntArray const&, PTimeInterval const&) ()
>    from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1
> #1  0x48315a2a in PSocket::Select(PSocket::SelectList&,
> PSocket::SelectList&, PSocket::SelectList&, PTimeInterval const&) ()
> from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1
> #2  0x483151a7 in PSocket::Select(PSocket::SelectList&, PTimeInterval
> const&) ()
>    from /usr/src/pwlib/lib/libpt_linux_x86_r.so.1
> #3  0x48aec440 in H323TransportUDP::DiscoverGatekeeper(H323Gatekeeper&,
> H323RasPDU&, H323TransportAddress const&)
>     () from /usr/src/openh323/lib/libh323_linux_x86_r.so.1
> #4  0x48b023b9 in H323Gatekeeper::StartDiscovery(H323TransportAddress
> const&) ()
>    from /usr/src/openh323/lib/libh323_linux_x86_r.so.1
> #5  0x48b020e3 in H323Gatekeeper::DiscoverByAddress(H323TransportAddress
> const&) ()
>    from /usr/src/openh323/lib/libh323_linux_x86_r.so.1
> #6  0x48aa10ae in H323EndPoint::SetGatekeeper(PString const&,
> H323Transport*) ()
>    from /usr/src/openh323/lib/libh323_linux_x86_r.so.1
> #7  0x41ef5d11 in h323_set_gk (gatekeeper_discover=0,
> gatekeeper=0x41efe680 "65.39.220.195",
>     secret=0x41efe700 "") at ast_h323.cpp:949
> #8  0x41eeed81 in reload () at chan_h323.c:1595
> #9  0x08055362 in ast_module_reload () at loader.c:159
> #10 0x0806b63a in handle_reload (fd=10, argc=1, argv=0x4effe6dc) at
> cli.c:105
> #11 0x0806b42a in ast_cli_command (fd=10, s=0x0) at cli.c:1006
> #12 0x08080aa0 in netconsole (vconsole=0x80b6348) at asterisk.c:192
> #13 0x4002f2b6 in start_thread () from /lib/tls/libpthread.so.0
>
> Thanks,
>
> Michael
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list