search for: ast_closestream

Displaying 2 results from an estimated 2 matches for "ast_closestream".

2010 Nov 22
1
res_musiconhold.c Bug - Patch to solve?
...r260345 | mmichelson | 2010-04-30 22:08:15 +0200 (Fri, 30 Apr 2010) | 18 lines Fix potential crash from race condition due to accessing channel data without the channel locked. In res_musiconhold.c, there are several places where a channel's stream's existence is checked prior to calling ast_closestream on it. The issue here is that in several cases, the channel was not locked while checking the stream. The result was that if two threads checked the state of the channel's stream at approximately the same time, then there could be a situation where both threads attempt to call ast_closestream o...
2009 Jun 08
1
Help with asterisk core dump
...t_free () from /lib/libc.so.6 #5 0x005f7070 in free () from /lib/libc.so.6 #6 0x005e2876 in fclose@@GLIBC_2.1 () from /lib/libc.so.6 #7 0x0809eb2a in filestream_destructor (arg=0xb1f0f200) at file.c:340 #8 0x0806e412 in ao2_ref (user_data=0xb1f0f200, delta=-1) at astobj2.c:229 #9 0x0809c1e9 in ast_closestream (f=0xb1f0f200) at file.c:902 #10 0x00b03422 in local_ast_moh_stop (chan=0xb2150fd0) at res_musiconhold.c:1058 #11 0x00a6e510 in sip_indicate (ast=0xb2150fd0, condition=17, data=0x0, datalen=0) at chan_sip.c:4049 #12 0x08081512 in ast_indicate_data (chan=0xb2150fd0, _condition=17, data=0x0, datal...