[Freeswitch-dev] Problems with release version

Sluschny, Thomas Thomas.Sluschny at siemens.com
Tue Jun 19 12:25:26 EDT 2007


Hi,
 
i downloaded the freeswitch snapshot from 16.06.07 and compiled it (with
2 little probs, i wrote it).
 
Now i see that only the debug version is ok,
with release version i get a "null pointer exception" (0xC0000005:
access exception on position 0x00000060) on every call i make
(portaudio->sofia and vv).
 
Last log entries:
2007-06-19 18:08:25 [DEBUG] mod_dialplan_xml.c:372 dialplan_hunt()
PortAudio/60 at 192.168.1.12 State Change CS_RING -> CS_EXECUTE
2007-06-19 18:08:25 [DEBUG] switch_core_session.c:647
switch_core_session_signal_state_change() Kill PortAudio/60 at 192.168.1.12
[BREAK]
2007-06-19 18:08:25 [DEBUG] mod_portaudio.c:481 channel_kill_channel()
PortAudio/60 at 192.168.1.12 CHANNEL KILL
2007-06-19 18:08:25 [DEBUG] switch_core_state_machine.c:447
switch_core_session_run() (PortAudio/60 at 192.168.1.12) State EXECUTE
2007-06-19 18:08:25 [DEBUG] mod_portaudio.c:335 channel_on_execute()
PortAudio/60 at 192.168.1.12 CHANNEL EXECUTE
2007-06-19 18:08:25 [DEBUG] switch_core_state_machine.c:114
switch_core_standard_on_execute() Standard EXECUTE
2007-06-19 18:08:25 [NOTICE] switch_core_state_machine.c:124
switch_core_standard_on_execute() Execute
bridge(sofia/192.168.1.111/60 at 192.168.1.12)
 
 
 
Debugger shows problem during:
switch_ivr_multi_threaded_bridge() in switch_ivr_bridge.c, line 519:

a_leg = switch_core_session_alloc(session, sizeof(*a_leg));

 

which results in:

switch_core_session_get_channel(switch_core_session_t *session)

{    return session->channel;    <---------------------------- here
session is NULL !!!!!!

 

But in debug version everything is ok,

what happens?

 

regards,

Thomas

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20070619/ab808436/attachment.html 


More information about the Freeswitch-dev mailing list