jerk face
2003-Sep-23 10:04 UTC
[Asterisk-Users] Segmentation Fault on reload (gdb output included)
I keep getting segmentation faults when I do a reload. Here are the core file outputs from gdb: (I have three of them and they produce the same output) (gdb) core core.6044 Core was generated by `asterisk'. Program terminated with signal 11, Segmentation fault. #0 0x401519fc in ?? () I have no idea what that means, but if somebody could point me in the right direction, that would be great. Thank you for your time. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Martin Pycko
2003-Sep-23 11:47 UTC
[Asterisk-Users] Segmentation Fault on reload (gdb output included)
gdb /usr/src/asterisk core.6044 then 'bt' Martin On Tue, 23 Sep 2003, jerk face wrote:> I keep getting segmentation faults when I do a reload. > > Here are the core file outputs from gdb: > (I have three of them and they produce the same > output) > > (gdb) core core.6044 > Core was generated by `asterisk'. > Program terminated with signal 11, Segmentation fault. > #0 0x401519fc in ?? () > > > I have no idea what that means, but if somebody could > point me in the right direction, that would be great. > > Thank you for your time. > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Martin Pycko
2003-Sep-23 11:48 UTC
[Asterisk-Users] Segmentation Fault on reload (gdb output included)
actually gdb /usr/sbin/asterisk core.6044, sorry On Tue, 23 Sep 2003, jerk face wrote:> I keep getting segmentation faults when I do a reload. > > Here are the core file outputs from gdb: > (I have three of them and they produce the same > output) > > (gdb) core core.6044 > Core was generated by `asterisk'. > Program terminated with signal 11, Segmentation fault. > #0 0x401519fc in ?? () > > > I have no idea what that means, but if somebody could > point me in the right direction, that would be great. > > Thank you for your time. > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Steven Critchfield
2003-Sep-23 11:49 UTC
[Asterisk-Users] Segmentation Fault on reload (gdb output included)
On Tue, 2003-09-23 at 12:04, jerk face wrote:> I keep getting segmentation faults when I do a reload. > > Here are the core file outputs from gdb: > (I have three of them and they produce the same > output) > > (gdb) core core.6044you need to run gdb like follows gdb core.6044 `which asterisk` This lets gdb load the asterisk binary with all the symbols in it to understand the core file. Then if you could issue the command 'bt' inside of gdb it will give a nice listing of functions called to get to the point the crash happened.> Core was generated by `asterisk'. > Program terminated with signal 11, Segmentation fault. > #0 0x401519fc in ?? () > > > I have no idea what that means, but if somebody could > point me in the right direction, that would be great. > > Thank you for your time. > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- Steven Critchfield <critch@basesys.com>
Tais M. Hansen
2003-Sep-24 02:52 UTC
[Asterisk-Users] Segmentation Fault on reload (gdb output included)
-----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-----