Here is an Asterisk on Redhat Enterprise 4.
Asterisk Restarted after some hours and start again (run with safe_asterisk).
I am using SIP and H323 .
There is no any dumped core and the line below is from a Full log and I see there is nothing and after 4 sec (which is defined in safe_asterisk) it is restarting.
[Dec 1 10:33:08] VERBOSE[18057] logger.c: – 14085178191 has cleared the call
[Dec 1 10:33:08] DEBUG[18057] chan_h323.c: Cleaning connection to ip$localhost/15122
[Dec 1 10:33:12] VERBOSE[22516] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log
[Dec 1 10:33:12] VERBOSE[22516] logger.c: Asterisk Dynamic Loader Starting:
Without a backtrace from a core dump, it’s going to be next to impossible to tell why Asterisk crashed. Please make sure Asterisk gets started with the -g option and that you’re allowing core files (see the ulimit command under Linux).
If you’re using the /usr/sbin/safe_asterisk script to start Asterisk (which it appears that you are), Asterisk should already be started with the -g switch, and the core file should be dumped in /tmp.
Jared Smith
Community Relations Manager
Digium, Inc.
#0 0x4f4e4d4c in ?? ()
No symbol table info available. #1 0x00ad6ac8 in PThread::PX_ThreadEnd () from /lib/libpt_linux_x86_r.so.1.10.0
No symbol table info available. #2 0x0029f159 in unwind_stop () from /lib/tls/libpthread.so.0
No symbol table info available. #3 0x0032e13a in _Unwind_RaiseException () from /lib/tls/libgcc_s.so.1
No symbol table info available. #4 0x0032e236 in _Unwind_ForcedUnwind () from /lib/tls/libgcc_s.so.1
No symbol table info available. #5 0x002a13f2 in _Unwind_ForcedUnwind () from /lib/tls/libpthread.so.0
No symbol table info available. #6 0x0029f221 in __pthread_unwind () from /lib/tls/libpthread.so.0
No symbol table info available. #7 0x002993eb in sigcancel_handler () from /lib/tls/libpthread.so.0
No symbol table info available. #8
No symbol table info available. #9 0x001227a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available. #10 0x001f621b in __read_nocancel () from /lib/tls/libc.so.6
No symbol table info available. #11 0x0019a518 in _IO_file_read_internal () from /lib/tls/libc.so.6
No symbol table info available. #12 0x0019929e in _IO_new_file_underflow () from /lib/tls/libc.so.6
No symbol table info available. #13 0x0019b8bb in _IO_default_uflow_internal () from /lib/tls/libc.so.6
No symbol table info available. #14 0x0019b6ad in __uflow () from /lib/tls/libc.so.6
No symbol table info available. #15 0x00196797 in getchar () from /lib/tls/libc.so.6
No symbol table info available. #16 0x00adcb34 in PAssertFunc () from /lib/libpt_linux_x86_r.so.1.10.0
No symbol table info available. #17 0x00b0620c in PAssertFunc () from /lib/libpt_linux_x86_r.so.1.10.0
No symbol table info available. #18 0x00b06468 in PAssertFunc () from /lib/libpt_linux_x86_r.so.1.10.0
No symbol table info available. #19 0x0666260c in H323TransportTCP::AcceptControlChannel () from /lib/libh323_linux_x86_r.so.1.18.0
No symbol table info available. #20 0x06660f98 in H245TransportThread::Main () from /lib/libh323_linux_x86_r.so.1.18.0
No symbol table info available. #21 0x00ad6a7f in PThread::PX_ThreadStart () from /lib/libpt_linux_x86_r.so.1.10.0
No symbol table info available. #22 0x0029a3cc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available. #23 0x002051ae in clone () from /lib/tls/libc.so.6
No symbol table info available.
Unfortunately, this appears to be a crash in the H323 drivers themselves, and not a problem with the core of Asterisk as far as I can tell. It also looks as if there is no symbol table information for your H323 libraries, so it’s next to impossible to tell what’s causing them to crash.