Re: asterisk 12 pjsip
Добавлено: 17 янв 2014, 01:21
вот что получилось
сначала
вот bt
вот то что большое
сначала
Код: Выделить всё
01:22:46.810 sip_endpoint.c !Distributing rdata to modules: Request msg REGISTER/cseq=2 (rdata0x1817b08)
01:22:46.810 endpoint .Response msg 401/REGISTER/cseq=2 (tdta0x1b19e80) created
01:22:46.810 tdta0x1b19e80 .Destroying txdata Response msg 401/REGISTER/cseq=2 (tdta0x1b19e80)
01:22:46.811 endpoint !Response msg 200/REGISTER/cseq=2 (tdta0x17bdec0) created
-- Added contact 'sip:6001@192.168.10.100:1878;rinstance=44fd673ae287fbf6' to AOR '6001' with expiration of 120 seconds
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffefffa700 (LWP 1034)]
0x00007fffe05ee215 in pj_scan_peek () from /usr/lib/asterisk/modules/res_pjsip_registrar.so
Код: Выделить всё
(gdb) bt
#0 0x00007fffe05ee215 in pj_scan_peek () from /usr/lib/asterisk/modules/res_pjsip_registrar.so
#1 0x00007fffe05d814f in int_parse_uri_or_name_addr () from /usr/lib/asterisk/modules/res_pjsip_registrar.so
#2 0x00007fffe05d82b5 in pjsip_parse_uri () from /usr/lib/asterisk/modules/res_pjsip_registrar.so
#3 0x00007fffe05d14f5 in registrar_add_contact (obj=0x1bc1190, arg=0x17bdf68, flags=<value optimized out>) at res_pjsip_registrar.c:190
#4 0x000000000045ae96 in internal_ao2_traverse (self=0x18f9980, flags=OBJ_SEARCH_NONE, cb_fn=<value optimized out>, arg=<value optimized out>,
data=<value optimized out>, type=<value optimized out>, tag=0x0, file=0x0, line=0, func=0x0) at astobj2.c:1329
#5 0x000000000045b3a1 in __ao2_callback (c=0x0, flags=115, cb_fn=0x7fffefff9660, arg=0x17bec08) at astobj2.c:1467
#6 0x00007fffe05d126c in rx_task (data=<value optimized out>) at res_pjsip_registrar.c:478
#7 0x000000000059879a in ast_taskprocessor_execute (tps=0x1317418) at taskprocessor.c:766
#8 0x000000000059eb90 in execute_tasks (data=<value optimized out>) at threadpool.c:1152
#9 0x000000000059879a in ast_taskprocessor_execute (tps=0x15c74d8) at taskprocessor.c:766
#10 0x000000000059fa56 in threadpool_execute (arg=<value optimized out>) at threadpool.c:351
#11 worker_active (arg=<value optimized out>) at threadpool.c:1072
#12 worker_start (arg=<value optimized out>) at threadpool.c:992
#13 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
#14 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
#15 0x00007ffff794ab6d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()
(gdb)
Код: Выделить всё
(gdb) thread apply all bt full
Thread 53 (Thread 0x7fffd0bc6700 (LWP 1065)):
#0 0x00007ffff793fc13 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x0000000000451722 in monitor_sig_flags (unused=<value optimized out>) at asterisk.c:3598
p = {fd = 22, events = 1, revents = 0}
a = 0
#2 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {20297360, -6222960721757256453, 140737488344992, 140736695396096, 140737354125376, 3,
6222913969912497403, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0bc5f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#3 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 52 (Thread 0x7fffd0c42700 (LWP 1064)):
#0 0x00007ffff62423c0 in sem_wait () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000000000599170 in ast_sem_wait (data=<value optimized out>) at /usr/src/asterisk-src/asterisk-12.0.0/include/asterisk/sem.h:59
No locals.
#2 default_tps_processing_function (data=<value optimized out>) at taskprocessor.c:177
listener = 0x1cb6e08
tps = 0x1555f28
pvt = 0x12d2c70
sem_value = 0
res = <value optimized out>
__PRETTY_FUNCTION__ = "default_tps_processing_function"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {22372368, -6222960721757256453, 140737488344048, 0, 140737354125376, 3, 6222914453096318203,
-6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0c41f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 51 (Thread 0x7fffd0cbe700 (LWP 1063)):
#0 0x00007ffff62423c0 in sem_wait () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000000000599170 in ast_sem_wait (data=<value optimized out>) at /usr/src/asterisk-src/asterisk-12.0.0/include/asterisk/sem.h:59
No locals.
#2 default_tps_processing_function (data=<value optimized out>) at taskprocessor.c:177
listener = 0x12a8528
tps = 0x1d76b18
pvt = 0x1bdd6d0
sem_value = 0
res = <value optimized out>
__PRETTY_FUNCTION__ = "default_tps_processing_function"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {22370384, -6222960721757256453, 140737488344080, 0, 140737354125376, 3, 6222914369344455931,
-6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0cbdf40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 50 (Thread 0x7fffd0d3a700 (LWP 1062)):
#0 0x00007ffff793fc13 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x00007fffe483ea39 in do_monitor (data=<value optimized out>) at chan_phone.c:1095
fds = 0x0
nfds = 0
inuse_fds = 0
---Type <return> to continue, or q <return> to quit---
res = <value optimized out>
i = 0x0
to = {tv_sec = 0, tv_usec = 0}
__PRETTY_FUNCTION__ = "do_monitor"
#2 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736617289136, -6222960721757256453, 140737488344064, 0, 140737354125376, 3,
6222914302772462843, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0d39f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#3 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 49 (Thread 0x7fffd0db6700 (LWP 1061)):
#0 0x00007ffff793fc13 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x000000000050bfee in ast_io_wait (ioc=0x7fffcc0d9440, howlong=1000) at io.c:279
res = <value optimized out>
x = <value optimized out>
origcnt = <value optimized out>
#2 0x00007fffd9a447d6 in do_monitor (data=<value optimized out>) at chan_unistim.c:5715
cur = 0x0
dw_timeout = 4160737344
tick = 2632929217
res = 1
reloading = 0
__PRETTY_FUNCTION__ = "do_monitor"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736616848736, -6222960721757256453, 140737488344224, 0, 140737354125376, 3,
6222914236200469755, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0db5f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 48 (Thread 0x7fffd0e32700 (LWP 1060)):
#0 0x00007ffff791bc5d in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff791bad0 in sleep () from /lib/libc.so.6
No symbol table info available.
#2 0x00007fffeca23313 in process_clearcache (ignore=<value optimized out>) at pbx_dundi.c:2232
db_entry = 0x7fffd0e31e20
db_tree = 0x0
now = 1389907342
__PRETTY_FUNCTION__ = "process_clearcache"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736616986128, -6222960721757256453, 140737488344400, 0, 140737354125376, 3,
6222914719384290555, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0e31f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 47 (Thread 0x7fffd0eae700 (LWP 1059)):
#0 0x00007ffff791bc5d in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff791bad0 in sleep () from /lib/libc.so.6
No symbol table info available.
#2 0x00007fffeca2a8d6 in process_precache (ign=<value optimized out>) at pbx_dundi.c:2269
qe = <value optimized out>
now = 1389907366
context = '\000' <repeats 56 times>, "0", '\000' <repeats 15 times>"\250, \216\275\367\377\177\000\000\000\000\000\000\000\000\000\000 ", '\000' <repeats 11 times>, "\003\000\000\000P\216\275\367\377\177\000\000P", '\000' <repeats 11 times>, "\003", '\000' <repeats 19 times>, " \234\001\000\000\000\000\000\340\223\352\00---Type <return> to continue, or q <return> to quit---
1\000\000\000\000 \000\000\000\000\000\000\000@\216\275\367\377\177\000\000@\216\275\367\377\177\000\000R\022\217\367\377\177\000\000\000\000\000\000\000\000\000\000\200\203\r\314\377\177\000\000\200\203\r\314\377\177\000\000P\325\377\377\377\177\000\000\000\000\000\000\000\000\000\000\200\204Z\000\000\000\000\000\003\000\000\000\000\000\000\000\030\374D\000\000\000\000"
number = '\000' <repeats 255 times>
__PRETTY_FUNCTION__ = "process_precache"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736616825728, -6222960721757256453, 140737488344400, 0, 140737354125376, 3,
6222914635632428283, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0eadf40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 46 (Thread 0x7fffd0f2a700 (LWP 1058)):
#0 0x00007ffff793fc13 in poll () from /lib/libc.so.6
No symbol table info available.
#1 0x000000000050bfee in ast_io_wait (ioc=0x7fffcc0fcc90, howlong=1000) at io.c:279
res = <value optimized out>
x = <value optimized out>
origcnt = <value optimized out>
#2 0x00007fffeca24800 in network_thread (ignore=<value optimized out>) at pbx_dundi.c:2191
res = -516
socket_read_id = 0x17419a0
__PRETTY_FUNCTION__ = "network_thread"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736616974672, -6222960721757256453, 140737488344400, 0, 140737354125376, 3,
6222914569060435195, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0f29f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 45 (Thread 0x7fffd0fa6700 (LWP 1057)):
#0 0x00007ffff791bc5d in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00007fffd5cf3e13 in cleanup (unused=<value optimized out>) at pbx_realtime.c:134
forever = {tv_sec = 999999999, tv_nsec = 0}
one_second = {tv_sec = 1, tv_nsec = 0}
now = {tv_sec = 140736616693376, tv_usec = 140737488344432}
#2 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736616693376, -6222960721757256453, 140737488344432, 0, 140737354125376, 3,
6222914502488442107, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd0fa5f40, 0x0, 0x0, 0x0}}
not_first_call = <value optimized out>
ret = <value optimized out>
#3 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 44 (Thread 0x7fffd1022700 (LWP 1056)):
#0 0x00007ffff62423c0 in sem_wait () from /lib/libpthread.so.0
No symbol table info available.
#1 0x0000000000599170 in ast_sem_wait (data=<value optimized out>) at /usr/src/asterisk-src/asterisk-12.0.0/include/asterisk/sem.h:59
No locals.
#2 default_tps_processing_function (data=<value optimized out>) at taskprocessor.c:177
listener = 0x7fffcc056a88
tps = 0x7fffcc058c88
pvt = 0x7fffcc052740
sem_value = 0
res = <value optimized out>
__PRETTY_FUNCTION__ = "default_tps_processing_function"
#3 0x00000000005a8fab in dummy_start (data=<value optimized out>) at utils.c:1169
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140736616303872, -6222960721757256453, 140737488344272, 0, 140737354125376, 3,
6222910587625751803, -6222960365562411781}, __mask_was_saved = 0}}, __pad = {0x7fffd1021f40, 0x0, 0x0, 0x0}}
---Type <return> to continue, or q <return> to quit---
not_first_call = <value optimized out>
ret = <value optimized out>
#4 0x00007ffff623b8ca in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007ffff794ab6d in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
................
.................