[Asterisk-Users] Segmentation Fault on reload (gdb output included)

Tais M. Hansen th at comx.as
Wed Sep 24 02:52:47 MST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 23 September 2003 19:04, jerk face wrote:
> I keep getting segmentation faults when I do a reload.

Do what Critchfield and Pycko told you to do, but I'm betting you're using 
chan_h323 with a gatekeeper (it's a known bug I think). That's what's killing 
my Asterisk on reload:

(gdb) bt
#0  0x40571b3e in PSocket::os_select(int, fd_set*, fd_set*, fd_set*, 
PScalarArray<int> const&, PTimeInterval const&) ()
   from /usr/lib/libpt_linux_x86_r.so.1.5.2
#1  0x4056aef2 in PSocket::Select(PSocket::SelectList&, PSocket::SelectList&, 
PSocket::SelectList&, PTimeInterval const&) ()
   from /usr/lib/libpt_linux_x86_r.so.1.5.2
#2  0x4056a8c5 in PSocket::Select(PSocket::SelectList&, PTimeInterval const&) 
() from /usr/lib/libpt_linux_x86_r.so.1.5.2
#3  0x40c380e7 in H323TransportUDP::DiscoverGatekeeper(H323Gatekeeper&, 
H323RasPDU&, H323TransportAddress const&) ()
   from /usr/lib/libh323_linux_x86_r.so.1.12.2
#4  0x40c48ebf in H323Gatekeeper::StartDiscovery(H323TransportAddress const&) 
() from /usr/lib/libh323_linux_x86_r.so.1.12.2
#5  0x40c48cfc in H323Gatekeeper::DiscoverByAddress(H323TransportAddress 
const&) () from /usr/lib/libh323_linux_x86_r.so.1.12.2
#6  0x40bfd59c in H323EndPoint::SetGatekeeper(PString const&, H323Transport*) 
() from /usr/lib/libh323_linux_x86_r.so.1.12.2
#7  0x403ac4d4 in h323_set_gk (gatekeeper_discover=0, gatekeeper=0x403b4dc0 
"195.135.216.2", secret=0x403b4e40 "") at ast_h323.cpp:1005
#8  0x403a5231 in reload () at chan_h323.c:1643
#9  0x080554c2 in ast_module_reload () at loader.c:159
#10 0x0806d10a in handle_reload (fd=153, argc=1, argv=0xbd9ff61c) at cli.c:105
#11 0x0806cefa in ast_cli_command (fd=153, s=0x0) at cli.c:1006
#12 0x08085770 in netconsole (vconsole=0x80bcc28) at asterisk.c:193
#13 0x40023463 in pthread_detach () from /lib/libpthread.so.0

- -- 
Regards,
Tais M. Hansen
ComX Networks
Tel: +45-70257474
Fax: +45-70257374
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/cWlx2TEAILET3McRAhjnAKCCJI93ty4OxpGZwIMNlchRaWiiTwCeNk/Y
HVqmHi76DIZsofmMF46Bp1w=
=gIC7
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list