<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=128151116-19062007><FONT face=Arial 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=128151116-19062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=128151116-19062007>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2>i downloaded 
the freeswitch snapshot from 16.06.07 and compiled it<SPAN 
class=128151116-19062007> (with 2 little probs, i wrote 
it).</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007>Now i see that only the debug version is 
ok,</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007>with release version i get a "null pointer exception" 
(0xC0000005: access exception on position 0x00000060)&nbsp;on every call i make 
(portaudio-&gt;sofia and vv).</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007>Last log entries:</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007>2007-06-19 18:08:25 [DEBUG] mod_dialplan_xml.c:372 
dialplan_hunt() <A 
href="mailto:PortAudio/60@192.168.1.12">PortAudio/60@192.168.1.12</A> State 
Change CS_RING -&gt; CS_EXECUTE<BR>2007-06-19 18:08:25 [DEBUG] 
switch_core_session.c:647 switch_core_session_signal_state_change() Kill <A 
href="mailto:PortAudio/60@192.168.1.12">PortAudio/60@192.168.1.12</A> 
[BREAK]<BR>2007-06-19 18:08:25 [DEBUG] mod_portaudio.c:481 
channel_kill_channel() <A 
href="mailto:PortAudio/60@192.168.1.12">PortAudio/60@192.168.1.12</A> CHANNEL 
KILL<BR>2007-06-19 18:08:25 [DEBUG] switch_core_state_machine.c:447 
switch_core_session_run() (<A 
href="mailto:PortAudio/60@192.168.1.12">PortAudio/60@192.168.1.12</A>) State 
EXECUTE<BR>2007-06-19 18:08:25 [DEBUG] mod_portaudio.c:335 channel_on_execute() 
<A href="mailto:PortAudio/60@192.168.1.12">PortAudio/60@192.168.1.12</A> CHANNEL 
EXECUTE<BR>2007-06-19 18:08:25 [DEBUG] switch_core_state_machine.c:114 
switch_core_standard_on_execute() Standard EXECUTE<BR>2007-06-19 18:08:25 
[NOTICE] switch_core_state_machine.c:124 switch_core_standard_on_execute() 
Execute bridge(<A 
href="mailto:sofia/192.168.1.111/60@192.168.1.12">sofia/192.168.1.111/60@192.168.1.12</A>)</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=826025309-18062007><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT></SPAN>&nbsp;</DIV></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN class=128151116-19062007>Debugger shows 
problem during:</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=128151116-19062007>
<P><FONT face=Arial><FONT size=2>switch_ivr_multi_threaded_bridge<SPAN 
class=128151116-19062007>() in switch_ivr_bridge.c, line 
519:</SPAN></FONT></FONT></P><FONT><SPAN class=128151116-19062007>
<P><FONT size=2><FONT face=Arial>a_leg = switch_core_session_alloc(session, 
</FONT><FONT face=Arial><FONT 
color=#0000ff>sizeof</FONT>(*a_leg));</FONT></FONT></P>
<P><SPAN class=128151116-19062007><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</P>
<P><SPAN class=128151116-19062007><FONT face=Arial size=2>which results 
in:</FONT></SPAN></P><SPAN class=128151116-19062007>
<P><FONT face=Arial size=2>switch_core_session_get_channel(switch_core_session_t 
*session)</FONT></P>
<P><FONT face=Arial><FONT size=2>{<SPAN 
class=128151116-19062007>&nbsp;&nbsp;&nbsp; </SPAN>return 
session-&gt;channel;<SPAN class=128151116-19062007>&nbsp;&nbsp;&nbsp; 
&lt;---------------------------- here session is NULL 
!!!!!!</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT>&nbsp;</P>
<P><FONT face=Arial><FONT size=2><SPAN class=128151116-19062007>But in debug 
version everything is ok,</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN class=128151116-19062007>what 
happens?</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007></SPAN></FONT></FONT>&nbsp;</P>
<P><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007>regards,</SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN 
class=128151116-19062007>Thomas</SPAN></FONT></FONT></P>
<P><FONT size=2></FONT>&nbsp;</P>
<P><FONT 
size=2>&nbsp;</P></FONT></SPAN></SPAN></FONT></SPAN></FONT></DIV></BODY></HTML>