won't compile or won't run? maybe you should try rebuilding it.
On Tue, Oct 27, 2009 at 9:55 AM, Maciej Aniserowicz < [email protected]> wrote: > Sorry, trunk does not compile on win7, here are the details: > > > rev.15247 > > --------------------------- > Microsoft Visual C++ Debug Library > --------------------------- > Debug Assertion Failed! > > Program: ...ev\Projects\External\FreeSWITCH\Original\Debug\FreeSwitch.exe > File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c > Line: 1317 > > Expression: _CrtIsValidHeapPointer(pUserData) > > For information on how your program can cause an assertion > failure, see the Visual C++ documentation on asserts. > > (Press Retry to debug the application) > --------------------------- > Abort Retry Ignore > --------------------------- > > VS Call stack: > > ntdll.dll!77ccfadc() > [Frames below may be incorrect and/or missing, no symbols loaded for > ntdll.dll] > ntdll.dll!77c9272c() > ntdll.dll!77c5e1ef() > msvcr90d.dll!_free_dbg_nolock(void * pUserData=0x00664b88, int > nBlockUse=1) Line 1317 + 0x9 bytes C++ > msvcr90d.dll!_free_dbg(void * pUserData=0x00664b88, int nBlockUse=1) > Line 1258 + 0xd bytes C++ > msvcr90d.dll!free(void * pUserData=0x00664b88) Line 49 + 0xb bytes C++ > > FreeSwitch.dll!switch_core_mime_add_type(const char * type=0x003bcd1c, > const char * ext=0x003bcd37) Line 748 + 0xc bytes C > FreeSwitch.dll!load_mime_types() Line 791 C > FreeSwitch.dll!switch_core_init(unsigned int flags=65, switch_bool_t > console=SWITCH_TRUE, const char * * err=0x003bf68c) Line 1244 C > 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 > FreeSwitch.exe!main(int argc=1, char * * argv=0x02144c40) Line 764 + > 0x23 bytes C > FreeSwitch.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C > FreeSwitch.exe!mainCRTStartup() Line 403 C > kernel32.dll!77713677() > ntdll.dll!77c39d72() > ntdll.dll!77c39d45() > > > Error occurs in : > > SWITCH_DECLARE(switch_status_t) switch_core_mime_add_type(const char *type, > const char *ext) > { > const char *check; > switch_status_t status = SWITCH_STATUS_FALSE; > > switch_assert(type); > switch_assert(ext); > > check = (const char *) switch_core_hash_find(runtime.mime_types, ext); > > if (!check) { > char *ptype = switch_core_permanent_strdup(type); > char *ext_list = strdup(ext); > int argc = 0; > char *argv[20] = { 0 }; > int x; > > switch_assert(ext_list); > > if ((argc = switch_separate_string(ext_list, ' ', argv, (sizeof(argv) / > sizeof(argv[0]))))) { > > for (x = 0; x < argc; x++) { > if (argv[x] && ptype) { > switch_core_hash_insert(runtime.mime_types, argv[x], ptype); > } > } > > status = SWITCH_STATUS_SUCCESS; > } > > free(ext_list); // <--- HERE > } > > return status; > } > > > > ----- Original Message ----- > *From:* [hidden > email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3899478&i=0> > *To:* [hidden > email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3899478&i=1> > *Sent:* Monday, October 26, 2009 10:32 PM > *Subject:* Re: [Freeswitch-users] "Can not record session. Media not > enabled on channel." > > > > On Mon, Oct 26, 2009 at 12:21 AM, Maciej Aniserowicz <[hidden > email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3895104&i=0> > > wrote: > >> >> Yes, I can confirm - this exact error occurs each time when I start >> recording >> before the call is answered (just after sending ORIGINATE command) - but I >> think that's completely understandable that media is not ready for an >> unanswered call. >> But... is there any other event that guarantees media to be ready? >> >> Update to latest SVN and try again. > -MC > > > _______________________________________________ > FreeSWITCH-users mailing list > [hidden > email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3895104&i=1> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > ------------------------------ > View this message in context: Re: [Freeswitch-users] "Can not record > session. Media not enabled on > channel."<http://n2.nabble.com/Can-not-record-session-Media-not-enabled-on-channel-tp3857858p3899478.html> > > Sent from the freeswitch-users mailing list > archive<http://n2.nabble.com/freeswitch-users-f2379917.html>at Nabble.com. > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> iax:[email protected]/888 googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
