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 -----
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]> 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://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."
Sent from the freeswitch-users mailing list archive at Nabble.com.