[asterisk-users] identifying channel for softhangup

Markus Weiler markus_weiler at mailworks.org
Thu Dec 31 08:26:45 CST 2009


Hi,

I'm issuing a Bridgeaction through the manager interface.
One Person is called, when answered second one is called first gets MoH. After the second person
answers both channels are bridged together.
Randomly (approx. 1/5.000 calls (sometimes twice a day, sometimes once a week)) asterisk crashes.
I suspected res_musiconhold and updated to the latest Version (repository) but nothing changed.
here are some backtraces( number xxxx'd).
I can offer various core dumps, dialplan etc:
Help would be greatly appreciated as I don't get any further on this problem and I have no Idea what to do.

Verision: Asterisk 1.6.0.19


03.dec

#0  0xb7d24572 in free () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7d20ac4 in _IO_free_backup_area () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7d213c9 in __underflow () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d1d868 in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7d1fcf8 in _IO_sgetn () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7d12fe0 in fread () from /lib/tls/i686/cmov/libc.so.6
#6  0xb5e6fced in wav_read (s=0x87c7c08, whennext=0xb54fca14) at
format_wav.c:363
#7  0x080dcebb in read_frame (s=0x87c7c08, whennext=0xb54fca14) at
file.c:697
#8  0x080dcf48 in ast_readframe (s=0x87c7c08) at file.c:718
#9  0xb760088a in spawn_mp3 (class=0xb54f7a34) at res_musiconhold.c:501
#10 0xb7600909 in spawn_mp3 (class=0x0) at res_musiconhold.c:511
#11 0x0809abc0 in ast_read_generator_actions (chan=0xb63b7a90,
f=0xb63b6c40) at channel.c:2514
#12 0x0809c9e3 in __ast_read (chan=0xb63b7a90, dropaudio=0) at
channel.c:3001
#13 0x0809cd50 in ast_read (chan=0xb63b7a90) at channel.c:3037
#14 0x08097743 in ast_safe_sleep_conditional (chan=0xb63b7a90, ms=9967,
cond=0, data=0x0) at channel.c:1297
#15 0x080977a2 in ast_safe_sleep (chan=0xb63b7a90, ms=10000) at
channel.c:1309
#16 0xb760214c in moh_alloc (chan=0xb63b7a90, params=0xb54ff0b8) at
res_musiconhold.c:905
#17 0x08107446 in pbx_exec (c=0xb63b7a90, app=0xb7a09960,
data=0xb54ff0b8) at pbx.c:951
#18 0x0810ee3f in pbx_extension_helper (c=0xb63b7a90, con=0x0,
context=0xb63b7cd8 "Click2Call4_0", exten=0xb63b7d28 "142", priority=3,
label=0x0,
      callerid=0xb63e7b70 "49711XXXXXXX", action=E_SPAWN,
found=0xb5501208, combined_find_spawn=1) at pbx.c:3138
#19 0x08110b76 in ast_spawn_extension (c=0xb63b7a90, context=0xb63b7cd8
"Click2Call4_0", exten=0xb63b7d28 "142", priority=3,
      callerid=0xb63e7b70 "49711XXXXXXX", found=0xb5501208,
combined_find_spawn=1) at pbx.c:3605
#20 0x081112ed in __ast_pbx_run (c=0xb63b7a90, args=0x0) at pbx.c:3692
#21 0x08112714 in pbx_thread (data=0xb63b7a90) at pbx.c:3965
#22 0x0816a6ed in dummy_start (data=0xb63e7dd0) at utils.c:861
#23 0xb7c9c4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb7d9749e in clone () from /lib/tls/i686/cmov/libc.so.6


08. Dec

#0  0xb8000424 in __kernel_vsyscall ()
#1  0xb7d2d6d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7d2f098 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7d6b24d in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7d71604 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7d6d57d in _IO_file_seekoff () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7d63760 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xb7d6ad37 in ftello64 () from /lib/tls/i686/cmov/libc.so.6
#8  0xb715cc19 in wav_read (s=0x8f08d78, whennext=0xb6adba14) at
format_wav.c:352
#9  0x080dcebb in read_frame (s=0x8f08d78, whennext=0xb6adba14) at
file.c:697
#10 0x080dcf48 in ast_readframe (s=0x8f08d78) at file.c:718
#11 0xb76508b3 in spawn_mp3 (class=0xb6ad6a34) at res_musiconhold.c:504
#12 0xb7650909 in spawn_mp3 (class=0x0) at res_musiconhold.c:511
#13 0x0809abc0 in ast_read_generator_actions (chan=0xb650a2d8,
f=0xb650b810) at channel.c:2514
#14 0x0809c9e3 in __ast_read (chan=0xb650a2d8, dropaudio=0) at
channel.c:3001
#15 0x0809cd50 in ast_read (chan=0xb650a2d8) at channel.c:3037
#16 0x08097743 in ast_safe_sleep_conditional (chan=0xb650a2d8, ms=1887,
cond=0, data=0x0) at channel.c:1297
#17 0x080977a2 in ast_safe_sleep (chan=0xb650a2d8, ms=10000) at
channel.c:1309
#18 0xb765214c in moh_alloc (chan=0xb650a2d8, params=0xb6ade0b8) at
res_musiconhold.c:905
#19 0x08107446 in pbx_exec (c=0xb650a2d8, app=0xb7a16d28,
data=0xb6ade0b8) at pbx.c:951
#20 0x0810ee3f in pbx_extension_helper (c=0xb650a2d8, con=0x0,
context=0xb650a520 "Click2Call4_0", exten=0xb650a570 "142", priority=3,
label=0x0,
      callerid=0xb6509a58 "49711XXXXXXX", action=E_SPAWN,
found=0xb6ae0208, combined_find_spawn=1) at pbx.c:3138
#21 0x08110b76 in ast_spawn_extension (c=0xb650a2d8, context=0xb650a520
"Click2Call4_0", exten=0xb650a570 "142", priority=3,
      callerid=0xb6509a58 "49711XXXXXXX", found=0xb6ae0208,
combined_find_spawn=1) at pbx.c:3605
#22 0x081112ed in __ast_pbx_run (c=0xb650a2d8, args=0x0) at pbx.c:3692
#23 0x08112714 in pbx_thread (data=0xb650a2d8) at pbx.c:3965
#24 0x0816a6ed in dummy_start (data=0xb6502e98) at utils.c:861
#25 0xb7ceb4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#26 0xb7de649e in clone () from /lib/tls/i686/cmov/libc.so.6


29. Dec

#0  0xb7e07572 in free () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7e03ac4 in _IO_free_backup_area () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e043c9 in __underflow () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7e00868 in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7e02cf8 in _IO_sgetn () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7df5fe0 in fread () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7174ced in wav_read (s=0x98f2418, whennext=0xb6716a14) at
format_wav.c:363
#7  0x080dcebb in read_frame (s=0x98f2418, whennext=0xb6716a14) at
file.c:697
#8  0x080dcf48 in ast_readframe (s=0x98f2418) at file.c:718
#9  0xb76a4aac in moh_files_readframe (chan=0xb6935d60) at
res_musiconhold.c:292
#10 0xb76a4b02 in moh_files_generator (chan=0xb6935d60, data=0x98a7eb0,
len=320, samples=160) at res_musiconhold.c:307
#11 0x0809abc0 in ast_read_generator_actions (chan=0xb6935d60,
f=0xb6911318) at channel.c:2514
#12 0x0809c9e3 in __ast_read (chan=0xb6935d60, dropaudio=0) at
channel.c:3001
#13 0x0809cd50 in ast_read (chan=0xb6935d60) at channel.c:3037
#14 0x08097743 in ast_safe_sleep_conditional (chan=0xb6935d60, ms=8240,
cond=0, data=0x0) at channel.c:1297
#15 0x080977a2 in ast_safe_sleep (chan=0xb6935d60, ms=10000) at
channel.c:1309
#16 0xb76a65ed in play_moh_exec (chan=0xb6935d60, data=0xb67190b8) at
res_musiconhold.c:732
#17 0x08107446 in pbx_exec (c=0xb6935d60, app=0xb7b15870,
data=0xb67190b8) at pbx.c:951
#18 0x0810ee3f in pbx_extension_helper (c=0xb6935d60, con=0x0,
context=0xb6935fa8 "Click2Call4_0", exten=0xb6935ff8 "142", priority=3,
label=0x0,
      callerid=0xb6928030 "49711XXXXX", action=E_SPAWN, found=0xb671b208,
combined_find_spawn=1) at pbx.c:3138
#19 0x08110b76 in ast_spawn_extension (c=0xb6935d60, context=0xb6935fa8
"Click2Call4_0", exten=0xb6935ff8 "142", priority=3,
      callerid=0xb6928030 "49XXXXX", found=0xb671b208,
combined_find_spawn=1) at pbx.c:3605
#20 0x081112ed in __ast_pbx_run (c=0xb6935d60, args=0x0) at pbx.c:3692
#21 0x08112714 in pbx_thread (data=0xb6935d60) at pbx.c:3965
#22 0x0816a6ed in dummy_start (data=0xb698f048) at utils.c:861
#23 0xb7d7f4ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0xb7e7a49e in clone () from /lib/tls/i686/cmov/libc.so.6



thanks all

Markus


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091231/eb9dc257/attachment.htm 


More information about the asterisk-users mailing list