I've tried printing the value of retval and it is 1 (and not 6...).  BTW, after adding the printf()'s I cannot examine anymore the value of retval in gdb as it is optimized away. Maybe this is the reason for a value of 6 which does not exist in the code that returns it.
 
nua_base_server_report() returns one as "terminated" variable is false.
Hope this helps.
 
                           Regards, __Yehavi:
2010/1/24 Yehavi Bourvine <yehavi.bourvine@gmail.com>
About getting into my box: It is a production machine with quite tight access control, so this is close to impossible...
I am trying to reproduce it on a backup system. If it works, then I might be able to give access to it. I am working on it now...
 
                          __Yehavi:

2010/1/23 Brian West <brian@freeswitch.org>
Best to find us on IRC when anthm is around and lets get into your box and fix this.


/b

On Jan 23, 2010, at 12:55 PM, Sergey Okhapkin wrote:

> GOOD! You have a consistent way to reproduce the problem!