On Thu, Oct 16, 2014 at 09:53:15AM +0200, Gustaf Neumann wrote:
> Am 16.10.14 08:14, schrieb Gustaf Neumann:
> > i can look into the issue, ...
> nevermind, fixed on tip. The problem was missing tcl initialization 
> (required in Tcl 8.5)

So it just needed a call to Tcl_FindExecutable()!  The Tcl docs aren't
very clear on that, but the comments in the Tcl source code are very
clear that you must call it.  Good to know.

Gustaf, I just merged in all your fixes, and now nsthreadtest runs to
completion for me on both Linux and Windows, and with Tcl 8.4 and 8.5.
So nsthreadtest looks good now.


https://bitbucket.org/naviserver/naviserver/commits/72b9fbac08d60479328ded73afd668faa993da70

http://tcl.activestate.com/man/tcl8.5/TclLib/FindExec.htm
 
tcl-core-8-5-branch/win/tclWin32Dll.c 

* The three NULL function pointers will only be set when 
* Tcl_FindExecutable is called. If you don't ever call that function, the 
* application will crash whenever WinTcl tries to call functions through 
* these null pointers. That is not a bug in Tcl - Tcl_FindExecutable is 
* mandatory in recent Tcl releases. 

-- 
Andrew Piskorski <a...@piskorski.com>

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to