Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Asterisk аварийно закрывается

Asterisk аварийно закрывается

после команды sip reload либо sip prune realtime all
Сообщений: 276

Re: Asterisk аварийно закрывается

GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
"/tmp/core.7725": not in executable format: File format not recognized
(gdb)
2009-04-30 12:00

Сообщений: 866

Re: Asterisk аварийно закрывается

man gdb
у него два параметра - первый бинарка. а потом уже кора
2009-04-30 14:04

Сообщений: 276

Re: Asterisk аварийно закрывается

да, надо было с ключом запускать

# gdb --core core.7725
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk -U asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0 0xb52756c8 in ?? ()
(gdb) bt
#0 0xb52756c8 in ?? ()
(gdb) thread apply all bt

Thread 36 (process 7859):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8ed31 in ?? ()

Thread 35 (process 7860):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 34 (process 7861):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 33 (process 7927):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 32 (process 7928):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 31 (process 7933):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 30 (process 7934):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f87d1 in ?? ()

Thread 29 (process 8241):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 28 (process 8242):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73cb866 in ?? ()

Thread 27 (process 8243):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73cb866 in ?? ()

Thread 26 (process 8244):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 25 (process 8245):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 24 (process 8246):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 23 (process 8247):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 22 (process 8248):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 21 (process 8249):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 20 (process 8250):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 19 (process 8251):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 18 (process 8252):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 17 (process 8253):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 16 (process 8254):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c7ec in ?? ()

Thread 15 (process 8255):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 14 (process 8256):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8f7e6 in ?? ()

Thread 13 (process 8260):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 12 (process 8261):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f87d1 in ?? ()

Thread 11 (process 8262):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 10 (process 8263):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 9 (process 8264):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f87d1 in ?? ()

Thread 8 (process 8265):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 7 (process 8266):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 6 (process 7725):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8effb in ?? ()

Thread 5 (process 8268):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 4 (process 8269):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 3 (process 8310):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb7d8c566 in ?? ()

Thread 2 (process 8326):
#0 0xb7f2c424 in __kernel_vsyscall ()
#1 0xb73f5ca3 in ?? ()

Thread 1 (process 8267):
#0 0xb52756c8 in ?? ()
(gdb)


вот только что дальше делать с этими цифирками?...
2009-04-30 14:22

Avatara of IgorG
Откуда: Омск
Сообщений: 478

Re: Asterisk аварийно закрывается

Обычно всё-таки и бинарник нужно указать:

gdb /usr/sbin/asterisk core.7725

OpenSUSE 11.2 / Asterisk 1.6.x / Vicidial / UniMRCP
2009-04-30 22:29

Сообщений: 1129

Re: Asterisk аварийно закрывается

>Newborn
так у тебя астериск без дебага собран
что ты там хочешь найти в нем
ортодоксальный антиастерискер || антилинуксоид! (астериск || линукс) - иррациональное решение!. и здесь я тоже http://forum.asterisk.ru
2009-05-01 00:32

Сообщений: 866

Re: Asterisk аварийно закрывается

2009-05-01 01:32

Сообщений: 276

Re: Asterisk аварийно закрывается

ddkprog:

>Newborn
так у тебя астериск без дебага собран
что ты там хочешь найти в нем
откуда дровишки? что без дебага
2009-05-04 09:37

Сообщений: 276

Re: Asterisk аварийно закрывается

вот более правильные данные
dimas спасибо за линк


(gdb) bt
#0 0xb524d6c8 in __ast_pthread_mutex_lock (filename=0xb52b4e14 "chan_sip.c", lineno=2315, func=0xb52b5794 "unref_peer",
mutex_name=0xb52b579f "&(peer)->_lock", t=0x5c) at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:372
#1 0xb524e80a in unref_peer (peer=0x0) at chan_sip.c:2315
#2 0xb5273ef6 in expire_register (data=0xb71353a8) at chan_sip.c:9962
#3 0x0813ec86 in ast_sched_runq (con=0xb71db338) at sched.c:369
#4 0xb52a290b in do_monitor (data=0x0) at chan_sip.c:19451
#5 0x08153059 in dummy_start (data=0xb71de0d8) at utils.c:861
#6 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#7 0xb73d609e in clone () from /lib/libc.so.6


(gdb) bt full
#0 0xb524d6c8 in __ast_pthread_mutex_lock (filename=0xb52b4e14 "chan_sip.c", lineno=2315, func=0xb52b5794 "unref_peer",
mutex_name=0xb52b579f "&(peer)->_lock", t=0x5c) at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:372
res = -1255361792
canlog = -1256152752
__PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock"
#1 0xb524e80a in unref_peer (peer=0x0) at chan_sip.c:2315
newcount = 0
__PRETTY_FUNCTION__ = "unref_peer"
#2 0xb5273ef6 in expire_register (data=0xb71353a8) at chan_sip.c:9962
peer = (struct sip_peer *) 0x0
__PRETTY_FUNCTION__ = "expire_register"
#3 0x0813ec86 in ast_sched_runq (con=0xb71db338) at sched.c:369
current = (struct sched *) 0x81ffca8
tv = {tv_sec = 1241438293, tv_usec = 391151}
numevents = 0
res = 1
__PRETTY_FUNCTION__ = "ast_sched_runq"
#4 0xb52a290b in do_monitor (data=0x0) at chan_sip.c:19451
res = 0
dialog = (struct sip_pvt *) 0x0
t = 1241438293
reloading = 0
__PRETTY_FUNCTION__ = "do_monitor"
#5 0x08153059 in dummy_start (data=0xb71de0d8) at utils.c:861
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1210654732, 0, 4001536, -1256152152, -1925937192, -433305438},
__mask_was_saved = 0}}, __pad = {0xb520a470, 0x0, 0x0, 0x0}}
__cancel_routine = (void (*)(void *)) 0x8074903 <ast_unregister_thread>
__cancel_arg = (void *) 0xb520ab90
not_first_call = 0
ret = (void *) 0x0
a = {start_routine = 0xb52a24aa <do_monitor>, data = 0x0,
name = 0xb71de178 "do_monitor", ' ' <repeats 11 times>, "started at [19479] chan_sip.c restart_monitor()"}
lock_info = (struct thr_lock_info *) 0x81fcf98
mutex_attr = {__size = "\001\000\000", __align = 1}
#6 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0xb73d609e in clone () from /lib/libc.so.6
No symbol table info available.


(gdb) thread apply all bt

Thread 35 (process 7962):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x080c0be4 in __ast_cond_wait (filename=0x818d9b4 "event.c", lineno=762, func=0x818de7c "ast_event_dispatcher",
cond_name=0x818dcbe "&event_thread.cond", mutex_name=0x818dcab "&event_thread.lock", cond=0x81b8540, t=0x81b8570)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0x080c065c in ast_event_dispatcher (unused=0x0) at event.c:762
#4 0x08153059 in dummy_start (data=0x81eaca0) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 34 (process 7963):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x080773de in listener (unused=0x0) at asterisk.c:1062
#3 0x08153059 in dummy_start (data=0x81ea920) at utils.c:861
#4 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#5 0xb73d609e in clone () from /lib/libc.so.6

Thread 33 (process 7964):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x080e8c87 in __ast_cond_wait (filename=0x8196028 "logger.c", lineno=888, func=0x8197b03 "logger_thread",
cond_name=0x8197b31 "&logcond", mutex_name=0x8197b23 "&logmsgs.lock", cond=0x81d2960, t=0x81bad48)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0x080e863d in logger_thread (data=0x0) at logger.c:888
#4 0x08153059 in dummy_start (data=0xb7100988) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 32 (process 8036):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x081533d4 in ast_wait_for_input (fd=8, ms=5000) at utils.c:950
#3 0x081457cb in ast_tcptls_server_root (data=0x81bd5e0) at tcptls.c:134
#4 0x08153059 in dummy_start (data=0xb7100e38) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 31 (process 8037):
#0 0xb7d63a50 in pthread_cond_signal@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x003d0f00 in ?? ()
#2 0xb7d6dff4 in ?? () from /lib/libpthread.so.0
#3 0x080c025e in __ast_cond_signal (filename=Cannot access memory at address 0x4000009
) at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:565
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 30 (process 8038):
---Type <return> to continue, or q <return> to quit---
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x08101f3a in __ast_cond_wait (filename=0x819b774 "pbx.c", lineno=3344, func=0x81a036b "device_state_thread",
cond_name=0x81a0358 "&device_state.cond", mutex_name=0x81a0345 "&device_state.lock", cond=0x81bd800, t=0x81bd728)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0x08101b65 in device_state_thread (data=0x0) at pbx.c:3344
#4 0x08153059 in dummy_start (data=0xb710a5b8) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 29 (process 8039):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73cf7d1 in select () from /lib/libc.so.6
#2 0x080cbaa9 in ast_select (nfds=0, rfds=0xb6c911d0, wfds=0x0, efds=0xb6c91150, tvp=0x0)
at /usr/src/asterisk-1.6.0.9/include/asterisk/channel.h:1644
#3 0x080cba72 in do_parking_thread (ignore=0x0) at features.c:2856
#4 0x08153059 in dummy_start (data=0xb7101668) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 28 (process 8445):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x080e0c60 in ast_io_wait (ioc=0xb714bc38, howlong=1000) at io.c:275
#3 0xb68d0232 in network_thread (ignore=0x0) at pbx_dundi.c:2146
#4 0x08153059 in dummy_start (data=0xb7139a58) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 27 (process 8446):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73a2866 in nanosleep () from /lib/libc.so.6
#2 0xb73a268b in sleep () from /lib/libc.so.6
#3 0xb68d05fa in process_precache (ign=0x0) at pbx_dundi.c:2223
#4 0x08153059 in dummy_start (data=0xb7139748) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 26 (process 8447):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73a2866 in nanosleep () from /lib/libc.so.6
#2 0xb73a268b in sleep () from /lib/libc.so.6
#3 0xb68d0452 in process_clearcache (ignore=0x0) at pbx_dundi.c:2186
#4 0x08153059 in dummy_start (data=0xb7138d38) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 25 (process 8448):
---Type <return> to continue, or q <return> to quit---
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb7182404, t=0xb718232c)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7181298) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb710de30) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 24 (process 8449):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb71835cc, t=0xb71834f4)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7182460) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb713b028) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 23 (process 8450):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb7184794, t=0xb71846bc)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7183628) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb713b028) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 22 (process 8451):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb7195e3c, t=0xb7195d64)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7194cd0) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb71643c0) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 21 (process 8452):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb7197004, t=0xb7196f2c)
---Type <return> to continue, or q <return> to quit---
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7195e98) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb71643c0) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 20 (process 8453):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb71981cc, t=0xb71980f4)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7197060) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb713b700) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 19 (process 8454):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb7199394, t=0xb71992bc)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb7198228) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb713b700) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 18 (process 8455):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb719a55c, t=0xb719a484)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb71993f0) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb7100e48) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 17 (process 8456):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb719b724, t=0xb719b64c)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb719a5b8) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb7100e48) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 16 (process 8457):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76fc2 in __ast_cond_wait (filename=0xb5f8b274 "chan_iax2.c", lineno=9819, func=0xb5f90b7c "iax2_process_thread",
cond_name=0xb5f8b752 "&thread->cond", mutex_name=0xb5f8b744 "&thread->lock", cond=0xb719c8ec, t=0xb719c814)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb5f762eb in iax2_process_thread (data=0xb719b780) at chan_iax2.c:9819
#4 0x08153059 in dummy_start (data=0xb710b928) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 15 (process 8458):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d637ec in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5f76aa1 in __ast_cond_timedwait (filename=0xb5f8b274 "chan_iax2.c", lineno=10277, func=0xb5f911fd "sched_thread",
cond_name=0xb5f91216 "&sched_cond", mutex_name=0xb5f9120a "&sched_lock", cond=0xb5f98040, t=0xb5f96600, abstime=0xb5c68300)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:697
#3 0xb5f78f87 in sched_thread (ignore=0x0) at chan_iax2.c:10277
#4 0x08153059 in dummy_start (data=0xb710b928) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 14 (process 8459):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x080e0c60 in ast_io_wait (ioc=0xb7186c98, howlong=-1) at io.c:275
#3 0xb5f793da in network_thread (ignore=0x0) at chan_iax2.c:10345
#4 0x08153059 in dummy_start (data=0xb7100e48) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 13 (process 8460):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d667e6 in nanosleep () from /lib/libpthread.so.0
#2 0xb5bd0bb3 in scan_thread (unused=0x0) at pbx_spool.c:453
#3 0x08153059 in dummy_start (data=0xb71643c0) at utils.c:861
#4 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#5 0xb73d609e in clone () from /lib/libc.so.6

Thread 12 (process 8464):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb76fb78d in PSyncPoint::Wait () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#3 0xb7b2268c in H323ConnectionsCleaner::Main () from /usr/lib/libh323_linux_x86_n.so.1.18.0
#4 0xb76fb14f in PThread::PX_ThreadStart () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 11 (process 8465):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73cf7d1 in select () from /lib/libc.so.6
#2 0xb76fa5be in PThread::PXBlockOnIO () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#3 0xb76eec09 in PChannel::PXSetIOBlock () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#4 0xb76ea2fd in PSocket::os_accept () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#5 0xb770635b in PTCPSocket::Accept () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#6 0xb7b593ad in H323ListenerTCP::Accept () from /usr/lib/libh323_linux_x86_n.so.1.18.0
#7 0xb7b5ab59 in H323ListenerTCP::Main () from /usr/lib/libh323_linux_x86_n.so.1.18.0
#8 0xb76fb14f in PThread::PX_ThreadStart () from /usr/lib/libpt_linux_x86_r.so.1.10.10
#9 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#10 0xb73d609e in clone () from /lib/libc.so.6

Thread 10 (process 8466):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x080e0c60 in ast_io_wait (ioc=0xb71b5cf8, howlong=1000) at io.c:275
#3 0xb5a2d8d5 in do_monitor (data=0x0) at chan_h323.c:2579
#4 0x08153059 in dummy_start (data=0xb71b6690) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 9 (process 8467):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x080e0c60 in ast_io_wait (ioc=0xb71cada0, howlong=1000) at io.c:275
#3 0xb584b910 in do_monitor (data=0x0) at chan_unistim.c:4562
#4 0x08153059 in dummy_start (data=0xb71cd920) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 8 (process 8468):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73cf7d1 in select () from /lib/libc.so.6
#2 0xb57cbf87 in ast_select (nfds=0, rfds=0xb57c627c, wfds=0x0, efds=0xb57c61fc, tvp=0x0)
at /usr/src/asterisk-1.6.0.9/include/asterisk/channel.h:1644
#3 0xb57cbd06 in do_monitor (data=0x0) at chan_phone.c:1076
#4 0x08153059 in dummy_start (data=0xb71ce198) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 7 (process 8469):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb573c8e7 in __ast_cond_wait (filename=0xb5755754 "app_queue.c", lineno=801, func=0xb57575f8 "device_state_thread",
cond_name=0xb575761f "&device_state.cond", mutex_name=0xb575760c "&device_state.lock", cond=0xb575e540, t=0xb575e468)
---Type <return> to continue, or q <return> to quit---
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0xb573c49c in device_state_thread (data=0x0) at app_queue.c:801
#4 0x08153059 in dummy_start (data=0xb71d4248) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 6 (process 8470):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x081533d4 in ast_wait_for_input (fd=30, ms=-1) at utils.c:950
#3 0x081457cb in ast_tcptls_server_root (data=0xb52ca9a0) at tcptls.c:134
#4 0x08153059 in dummy_start (data=0xb71076b0) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 5 (process 7834):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d65ffb in read () from /lib/libpthread.so.0
#2 0x0815d811 in read_char (el=0x81e9498, cp=0xbf81d2db "\b") at read.c:298
#3 0x08158982 in el_getc (el=0x81e9498, cp=0xbf81d2db "\b") at read.c:350
#4 0x08158d8b in el_gets (el=0x81e9498, nread=0xbf81d714) at read.c:243
#5 0x0807eeb0 in main (argc=5, argv=0xbf81d9a4) at asterisk.c:3490
#6 0xb732afdc in __libc_start_main () from /lib/libc.so.6
#7 0x0805deb1 in ?? ()

Thread 4 (process 8472):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x0807cc59 in monitor_sig_flags (unused=0x0) at asterisk.c:2846
#3 0x08153059 in dummy_start (data=0xb71ddb20) at utils.c:861
#4 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#5 0xb73d609e in clone () from /lib/libc.so.6

Thread 3 (process 8534):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb73ccca3 in poll () from /lib/libc.so.6
#2 0x080771ac in netconsole (vconsole=0x81d92c0) at asterisk.c:1015
#3 0x08153059 in dummy_start (data=0x81ff9f8) at utils.c:861
#4 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#5 0xb73d609e in clone () from /lib/libc.so.6

Thread 2 (process 8536):
#0 0xb7f03424 in __kernel_vsyscall ()
#1 0xb7d63566 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0x0808511b in __ast_cond_wait (filename=0x8181b44 "autoservice.c", lineno=91, func=0x8181b52 "autoservice_run",
cond_name=0x8181b80 "&as_cond", mutex_name=0x8181b73 "&aslist.lock", cond=0x81d1840, t=0x81b66e8)
at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:626
#3 0x08084986 in autoservice_run (ign=0x0) at autoservice.c:91
---Type <return> to continue, or q <return> to quit---
#4 0x08153059 in dummy_start (data=0x81fef48) at utils.c:861
#5 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#6 0xb73d609e in clone () from /lib/libc.so.6

Thread 1 (process 8471):
#0 0xb524d6c8 in __ast_pthread_mutex_lock (filename=0xb52b4e14 "chan_sip.c", lineno=2315, func=0xb52b5794 "unref_peer",
mutex_name=0xb52b579f "&(peer)->_lock", t=0x5c) at /usr/src/asterisk-1.6.0.9/include/asterisk/lock.h:372
#1 0xb524e80a in unref_peer (peer=0x0) at chan_sip.c:2315
#2 0xb5273ef6 in expire_register (data=0xb71353a8) at chan_sip.c:9962
#3 0x0813ec86 in ast_sched_runq (con=0xb71db338) at sched.c:369
#4 0xb52a290b in do_monitor (data=0x0) at chan_sip.c:19451
#5 0x08153059 in dummy_start (data=0xb71de0d8) at utils.c:861
#6 0xb7d5f17b in start_thread () from /lib/libpthread.so.0
#7 0xb73d609e in clone () from /lib/libc.so.6

2009-05-04 16:19

Сообщений: 276

Re: Asterisk аварийно закрывается

похоже что решилась проблема. тему можно закрывать.
2009-05-06 11:34

Сообщений: 6521

Re: Asterisk аварийно закрывается

Newborn, не надо постить большие куски, колесо мыши дымится.
2009-05-06 11:45

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru