[Freeswitch-users] Seg Fault on Mac

Jonathan Palley jpalley at idapted.com
Tue Dec 25 01:34:46 PST 2007


Hoping someone can help debug this.  I'm getting a seg fault (OS X  
10.4) whenever the dialplan hits an expression with brackets in it.   
This happens on a fresh install, latest trunk, no modifications to  
config files.  Here's what the console output looks like if you make  
the first item of the dialplan include a bracket:

2007-12-25 17:33:59 [DEBUG] sofia_glue.c:1447 sofia_glue_negotiate_sdp 
() Set 2833 dtmf payload to 101
2007-12-25 17:33:59 [DEBUG] sofia.c:1444 sofia_handle_sip_i_state()  
sofia/default/1000 at 192.168.1.4:5060 State Change CS_NEW -> CS_INIT
2007-12-25 17:33:59 [DEBUG] switch_core_session.c:633  
switch_core_session_signal_state_change() Kill sofia/default/ 
1000 at 192.168.1.4:5060 [BREAK]
2007-12-25 17:33:59 [DEBUG] switch_core_state_machine.c:402  
switch_core_session_run() sofia/default/1000 at 192.168.1.4:5060 Running  
State Change CS_INIT
2007-12-25 17:33:59 [DEBUG] switch_core_state_machine.c:414  
switch_core_session_run() (sofia/default/1000 at 192.168.1.4:5060) State  
INIT
2007-12-25 17:33:59 [DEBUG] mod_sofia.c:87 sofia_on_init() sofia/ 
default/1000 at 192.168.1.4:5060 SOFIA INIT
2007-12-25 17:33:59 [DEBUG] mod_sofia.c:100 sofia_on_init() sofia/ 
default/1000 at 192.168.1.4:5060 State Change CS_INIT -> CS_RING
2007-12-25 17:33:59 [DEBUG] switch_core_session.c:633  
switch_core_session_signal_state_change() Kill sofia/default/ 
1000 at 192.168.1.4:5060 [BREAK]
2007-12-25 17:33:59 [DEBUG] switch_core_state_machine.c:402  
switch_core_session_run() sofia/default/1000 at 192.168.1.4:5060 Running  
State Change CS_RING
2007-12-25 17:33:59 [DEBUG] switch_core_state_machine.c:417  
switch_core_session_run() (sofia/default/1000 at 192.168.1.4:5060) State  
RING
2007-12-25 17:33:59 [DEBUG] mod_sofia.c:117 sofia_on_ring() sofia/ 
default/1000 at 192.168.1.4:5060 SOFIA RING
2007-12-25 17:33:59 [DEBUG] switch_core_state_machine.c:64  
switch_core_standard_on_ring() Standard RING sofia/default/ 
1000 at 192.168.1.4:5060
2007-12-25 17:33:59 [INFO] mod_dialplan_xml.c:217 dialplan_hunt()  
Processing test->20!
2007-12-25 17:33:59 [DEBUG] mod_dialplan_xml.c:106 parse_exten() test  
conditions ${numbering_plan}() =~ /^[0-9]$/


Here's what I get from gdb on the core file:

#0  0x00000000 in _mh_dylib_header ()
No symbol table info available.

So not that helpful and I don't know where to go from here...

Thanks!

JP




More information about the FreeSWITCH-users mailing list