won&#39;t compile or won&#39;t run?<br>maybe you should try rebuilding it.<br><br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 9:55 AM, Maciej Aniserowicz <span dir="ltr">&lt;<a href="mailto:maciej.aniserowicz@gmail.com">maciej.aniserowicz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font face="Arial" size="2">Sorry, trunk does not compile on win7, here are the 
details:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">rev.15247</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">---------------------------<br>Microsoft Visual C++ 
Debug Library<br>---------------------------<br>Debug Assertion 
Failed!</font></div>
<div> </div>
<div><font face="Arial" size="2">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 face="Arial" size="2">Expression: 
_CrtIsValidHeapPointer(pUserData)</font></div>
<div> </div>
<div><font face="Arial" size="2">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 face="Arial" size="2">(Press Retry to debug the 
application)<br>---------------------------<br>Abort   
Retry   Ignore   
<br>---------------------------</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">VS Call stack:</font></div>
<div><font face="Arial" size="2"><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>&gt; 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()  </font></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, &#39; &#39;, argv, 
(sizeof(argv) / sizeof(argv[0]))))) {</div>
<div> </div>
<div>   for (x = 0; x &lt; argc; x++) 
{<br>    if (argv[x] &amp;&amp; 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);  // &lt;--- HERE<br> }</div>
<div> </div>
<div> return status;<br>}</div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<b>From:</b> 
  <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3899478&amp;i=0" rel="nofollow" target="_blank">[hidden email]</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3899478&amp;i=1" rel="nofollow" target="_blank">[hidden email]</a> </div>

  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Monday, October 26, 2009 10:32 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [Freeswitch-users] &quot;Can not 
  record session. Media not enabled on channel.&quot;</div><div class="im">
  <div><br></div><br><br>
  <div class="gmail_quote">On Mon, Oct 26, 2009 at 12:21 AM, Maciej Aniserowicz 
  <span dir="ltr">&lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3895104&amp;i=0" rel="nofollow" target="_blank">[hidden email]</a>&gt;</span> wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); 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&#39;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><br></div></div></blockquote>
  <div>Update to latest SVN and try 
  again.<br>-MC<br></div></div><br><br></div>_______________________________________________ 
  <br>FreeSWITCH-users mailing list <br><a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3895104&amp;i=1" rel="nofollow" target="_blank">[hidden email]</a> <br><div class="im"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" rel="nofollow" target="_blank">http://www.freeswitch.org</a><br>
</div></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" target="_blank">Re: [Freeswitch-users] &quot;Can not record session. Media not enabled on channel.&quot;</a><div>
<div></div><div class="h5"><br>
Sent from the <a href="http://n2.nabble.com/freeswitch-users-f2379917.html" target="_blank">freeswitch-users mailing list archive</a> at Nabble.com.<br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>