<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828">
<DIV><FONT size=2 face=Arial>Sorry, trunk does not compile on win7, here are the
details:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>rev.15247</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>---------------------------<BR>Microsoft Visual C++
Debug Library<BR>---------------------------<BR>Debug Assertion
Failed!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Program:
...ev\Projects\External\FreeSWITCH\Original\Debug\FreeSwitch.exe<BR>File:
f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c<BR>Line: 1317</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Expression:
_CrtIsValidHeapPointer(pUserData)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>For information on how your program can cause an
assertion<BR>failure, see the Visual C++ documentation on asserts.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>(Press Retry to debug the
application)<BR>---------------------------<BR>Abort
Retry Ignore
<BR>---------------------------</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>VS Call stack:</FONT></DIV>
<DIV><FONT size=2 face=Arial><BR> ntdll.dll!77ccfadc()
<BR> [Frames below may be incorrect and/or missing, no symbols
loaded for ntdll.dll] <BR> ntdll.dll!77c9272c()
<BR> ntdll.dll!77c5e1ef()
<BR> msvcr90d.dll!_free_dbg_nolock(void * pUserData=0x00664b88,
int nBlockUse=1) Line 1317 + 0x9
bytes C++<BR> msvcr90d.dll!_free_dbg(void *
pUserData=0x00664b88, int nBlockUse=1) Line 1258 + 0xd
bytes C++<BR> msvcr90d.dll!free(void *
pUserData=0x00664b88) Line 49 + 0xb
bytes C++<BR>> FreeSwitch.dll!switch_core_mime_add_type(const char
* type=0x003bcd1c, const char * ext=0x003bcd37) Line 748 + 0xc
bytes C<BR> FreeSwitch.dll!load_mime_types() Line
791 C<BR> FreeSwitch.dll!switch_core_init(unsigned int flags=65,
switch_bool_t console=SWITCH_TRUE, const char * * err=0x003bf68c) Line
1244 C<BR> FreeSwitch.dll!switch_core_init_and_modload(unsigned
int flags=65, switch_bool_t console=SWITCH_TRUE, const char * *
err=0x003bf68c) Line 1454 + 0x11
bytes C<BR> FreeSwitch.exe!main(int argc=1, char * *
argv=0x02144c40) Line 764 + 0x23
bytes C<BR> FreeSwitch.exe!__tmainCRTStartup() Line 586 +
0x19 bytes C<BR> FreeSwitch.exe!mainCRTStartup() Line
403 C<BR> kernel32.dll!77713677()
<BR> ntdll.dll!77c39d72()
<BR> ntdll.dll!77c39d45() </DIV>
<DIV> </DIV>
<DIV><BR>Error occurs in :</DIV>
<DIV> </DIV>
<DIV>SWITCH_DECLARE(switch_status_t) switch_core_mime_add_type(const char *type,
const char *ext)<BR>{<BR> const char *check;<BR> switch_status_t
status = SWITCH_STATUS_FALSE;</DIV>
<DIV> </DIV>
<DIV> switch_assert(type);<BR> switch_assert(ext);</DIV>
<DIV> </DIV>
<DIV> check = (const char *) switch_core_hash_find(runtime.mime_types,
ext);</DIV>
<DIV> </DIV>
<DIV> if (!check) {<BR> char *ptype =
switch_core_permanent_strdup(type);<BR> char *ext_list =
strdup(ext);<BR> int argc = 0;<BR> char *argv[20] = { 0
};<BR> int x;</DIV>
<DIV> </DIV>
<DIV> switch_assert(ext_list);</DIV>
<DIV> </DIV>
<DIV> if ((argc = switch_separate_string(ext_list, ' ', argv,
(sizeof(argv) / sizeof(argv[0]))))) {</DIV>
<DIV> </DIV>
<DIV> for (x = 0; x < argc; x++)
{<BR> if (argv[x] && ptype)
{<BR> switch_core_hash_insert(runtime.mime_types,
argv[x], ptype);<BR> }<BR> }</DIV>
<DIV> </DIV>
<DIV> status = SWITCH_STATUS_SUCCESS;<BR> }</DIV>
<DIV> </DIV>
<DIV> free(ext_list); // <--- HERE<BR> }</DIV>
<DIV> </DIV>
<DIV> return status;<BR>}</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3899478&i=0" target="_top" rel="nofollow">[hidden email]</a> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3899478&i=1" target="_top" rel="nofollow">[hidden email]</a> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 26, 2009 10:32
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] "Can not
record session. Media not enabled on channel."</DIV>
<DIV><BR></DIV><BR><BR>
<DIV class=gmail_quote>On Mon, Oct 26, 2009 at 12:21 AM, Maciej Aniserowicz
<SPAN dir=ltr><<A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3895104&i=0" rel="nofollow" target=_top>[hidden email]</A>></SPAN> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote><BR>Yes, I can confirm - this exact error occurs each time
when I start recording<BR>before the call is answered (just after sending
ORIGINATE command) - but I<BR>think that's completely understandable that
media is not ready for an<BR>unanswered call.<BR>But... is there any other
event that guarantees media to be ready?<BR>
<DIV>
<DIV></DIV>
<DIV class=h5><BR></DIV></DIV></BLOCKQUOTE>
<DIV>Update to latest SVN and try
again.<BR>-MC<BR></DIV></DIV><BR><BR>_______________________________________________
<BR>FreeSWITCH-users mailing list <BR><A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3895104&i=1" rel="nofollow" target=_top>[hidden email]</A> <BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target=_top>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target=_top>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org" rel="nofollow" target=_top>http://www.freeswitch.org</A><BR></BLOCKQUOTE>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Can-not-record-session-Media-not-enabled-on-channel-tp3857858p3899478.html">Re: [Freeswitch-users] "Can not record session. Media not enabled on channel."</a><br>
Sent from the <a href="http://n2.nabble.com/freeswitch-users-f2379917.html">freeswitch-users mailing list archive</a> at Nabble.com.<br>