[Asterisk-Dev] bug in res_monitor ?
Alexandru Coseru
alex_spam at distinctgroup.net
Fri Jan 7 06:21:23 MST 2005
Here is what I've got when exit from an custom application the does some monitoring on a channel (using pbx_findapp and pbx_exec).
== Spawn extension (default, 16173, 1) exited non-zero on 'Zap/31-1'
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:2498 zt_setoption: Set option AUDIO MODE, value: ON(1) on Zap/31-1
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:2003 zt_hangup: Hangup: channel: 31 index = 0, normal = 43, callwait = -1, thirdcall = -1
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:2140 zt_hangup: Not yet hungup... Calling hangup once with icause, and clearing call
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:1290 zt_disable_ec: disabled echo cancellation on channel 31
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:2410 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/31-1
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:1227 update_conf: Updated conferencing on 31, with 0 conference users
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:2492 zt_setoption: Set option AUDIO MODE, value: OFF(0) on Zap/31-1
Jan 7 15:04:08 DEBUG[23888]: chan_zap.c:1290 zt_disable_ec: disabled echo cancellation on channel 31
-- Hungup 'Zap/31-1'
Segmentation fault (core dumped)
Here is the gdb output:
Reading symbols from /usr/lib/asterisk/modules/app_while.so...done.
Loaded symbols for /usr/lib/asterisk/modules/app_while.so
Reading symbols from /usr/lib/asterisk/modules/cdr_pgsql.so...done.
Loaded symbols for /usr/lib/asterisk/modules/cdr_pgsql.so
#0 0xb7e6edce in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7e6edce in mallopt () from /lib/tls/libc.so.6
#1 0xb7e6ec62 in mallopt () from /lib/tls/libc.so.6
#2 0xb7e6cdda in free () from /lib/tls/libc.so.6
#3 0xb5af2ccc in ast_monitor_stop (chan=0x8118818, need_lock=0) at res_monitor.c:258
#4 0x0805c92d in ast_channel_free (chan=0x8136288) at channel.c:642
#5 0x0805cd20 in ast_hangup (chan=0x8136288) at channel.c:790
#6 0x0807f766 in ast_pbx_run (c=0x8136288) at pbx.c:2060
#7 0x08088fc1 in pbx_thread (data=0x80ee041) at pbx.c:2072
#8 0xb7fd6b3c in start_thread () from /lib/tls/libpthread.so.0
#9 0xb7ec993a in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0 0xb7e6edce in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
#1 0xb7e6ec62 in mallopt () from /lib/tls/libc.so.6
No symbol table info available.
#2 0xb7e6cdda in free () from /lib/tls/libc.so.6
No symbol table info available.
#3 0xb5af2ccc in ast_monitor_stop (chan=0x8118818, need_lock=0) at res_monitor.c:258
tmp = '\0' <repeats 1023 times>
dir = 0x0
tmp2 = '\0' <repeats 1023 times>
format = 0x0
name = 0x0
filename = '\0' <repeats 64 times>, "G~ý·\000\000\000\000\000\000\000\000\210b\023\bù\033\016\b\002\000\000\000èX¨¬\234\036\n\b\214\022\020\b", '\0' <repeats 52 times>, "d\214æ·¤®å·\000\000\000\000¡1ä·\000\000\000\000\030bò·Ê\020¯¬\000\000\000\000üN¨¬ÉDä· O¨¬Ê\020¯¬", '\0' <repeats 40 times>, "èN¨¬¸J¨¬\000\000\000\000\000\000\000\000XVä·", '\0' <repeats 174 times>, "d ", '\0' <repeats 48 times>, "\n", '\0' <repeats 15 times>, "s\000\000\000\001\000\000\000<P¨¬èN¨¬\000\000\000\000È\020¯¬\001\000\000\000ÿÿÿÿ", '\0' <repeats 92 times>...
execute = Variable "execute" is not available.
Sistem info:
Glibc: glibc-2.3.3-23.1.101mdk
Asterisk CVS-HEAD-01/07/05-14:19:20 built by root at voce1 on a i686 running Linux
Linux voce1 2.6.9 #5 SMP Wed Dec 22 13:28:40 EET 2004 i686 unknown unknown GNU/Linux
Any clues ?
Thanks
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050107/1a5f12cb/attachment.htm
More information about the asterisk-dev
mailing list