[Freeswitch-users] FreeSwitch on WinXP
Brian Young ARA/CFD
byoung at ara.com
Wed Feb 13 22:49:38 EST 2008
I am running WinXP SP2, built latest trunk (rev 7602) with VS2005. I get
a very similar error to a post I found from October 2007
([Freeswitch-users] FeeSwitch doesn't start on windows 2003 Hassan
Firouzbakht). The thread indicates that issue was resolved though.
This is my first time using FreeSwitch (or any voip app for that matter)
so it may be I am missing something. I am using the default config
(havent yet modified anything from conf/*). I simply built the
FreeSwitchConsole project. Pls advise if there are required setup steps.
This page (http://wiki.freeswitch.org/wiki/Getting_Started_Guide) has a
section labelled "Preprocessor Variables" which says to update the sip
profile, but best I can gather that is now autodetected. Pls verify.
------------
Here is my stdout:
D:\Projects\EMST\VOIP\Freeswitch\trunk\debug>FreeSwitch.exe
Error including
D:\Projects\EMST\VOIP\Freeswitch\trunk\debug\conf\dialplan\extensions/*.
xml
Error including
D:\Projects\EMST\VOIP\Freeswitch\trunk\debug\conf\lang/*/*.xml
WARNING: no real random source present!
2008-02-13 22:23:50 [CONSOLE] switch_core.c:904
switch_core_init_and_modload() Bringing up environment.
2008-02-13 22:23:50 [CONSOLE] switch_core.c:905
switch_core_init_and_modload() Loading Modules.
2008-02-13 22:23:50 [CONSOLE] switch_loadable_module.c:749
switch_loadable_module_load_file() Successfully Loaded [softtimer]
------------
Here is stacktrace from the debugger:
> FreeSwitch.dll!switch_hash_this(HashElem * hi=0xf2200000, const
void * * key=0x00000000, int * klen=0x00000000, void * * val=0x0012f48c)
Line 148 + 0x6 bytes C
FreeSwitch.dll!switch_loadable_module_runtime() Line 114
C
FreeSwitch.dll!switch_loadable_module_init() Line 1058 C
FreeSwitch.dll!switch_core_init_and_modload(switch_core_flag_t
flags=SCF_USE_SQL, switch_bool_t console=SWITCH_TRUE, const char * *
err=0x0012fe20) Line 906 + 0x5 bytes C
FreeSwitch.exe!main(int argc=1, char * * argv=0x008f8fa0) Line
475 + 0x23 bytes C
FreeSwitch.exe!__tmainCRTStartup() Line 597 + 0x19 bytes
C
FreeSwitch.exe!mainCRTStartup() Line 414 C
kernel32.dll!7c816fd7()
[Frames below may be incorrect and/or missing, no symbols loaded
for kernel32.dll]
------------
I have noticed a very strange phenomena. You'll notice "hi" in the trace
above looks suspicious (0xf2200000). It is the value returned from
switch_hash_first(). But if you look at the value that hi should receive
(as far as I can gather) from the debugger "quick watch" below, which is
loadable_modules.module_hash.table.first (0x00e1f220) you'll see 2 bytes
(f220) match.
------------
- loadable_modules.module_hash 0x00b00fa0 {table={...}
} switch_hash *
- table {keyClass='' copyKey='' count=1 ...} Hash
keyClass 3 '?' char
copyKey 1 '?' char
count 1 int
+ first 0x00e1f220 {next=0x00000000 prev=0x00000000
data=0x00b016f0 ...} HashElem *
xMalloc 0x10081240 sqlite3MallocX(int) void * (int)*
xFree 0x10081220 sqlite3FreeX(void *) void (void *)*
htsize 8 int
+ ht 0x00afaee0 {count=0 chain=0x00000000 } _ht *
------------
Almost appears to be some byte alignment issue... Any help getting
FreeSwitch up and running would be greatly appreciated.
-Brian
More information about the Freeswitch-users
mailing list