On Tue, Oct 07, 2014 at 12:09:41AM +0200, Gustaf Neumann wrote: > Please something more to try: to provide some potential evidence for > my "too early for tcl calls" hypothesis, i've deactivated for the > time being the mutex time monitoring for windows, since the earliest > calls are from mutex calls. Can you check when possible, whether > Tcl_GetTime() can be used now inside Ns_GetTime()?
I merged in all your changes to my sandbox. Your change deactivating the mutex timings, here: https://bitbucket.org/naviserver/naviserver/commits/6ba02284c80242b3046fc7e8cddc63cc0677b2b5 definitely does make a difference - the server now gets slightly farther and then exits: C:\> C:\web\nsd-atp\bin\nsd -c [384.e14][-main-] Notice: nsmain: NaviServer/4.99 starting [384.e14][-main-] Fatal: nsthreads: localtime_s failed in ns_localtime: win32 err: 22 C:\> C:\web\nsd-atp\bin\nsd -f -t C:\web\nsd-atp\conf\nsd-config.tcl [3768.9b4][-main-] Notice: nsmain: enable progess statistics for uploads >= 1048576 bytes [3768.9b4][-main-] Fatal: nsthreads: localtime_s failed in ns_localtime: win32 err: 22 The (partial) backtrace from WinDbg looks like this: tcl85!Tcl_Panic nsthread!NsThreadFatal nsthread!ns_localtime nsd_7fef0060000!Ns_InfoNameOfExecutable nsd_7fef0060000!Ns_InfoNameOfExecutable nsd!main So this looks like the same problem as before, just reached from a later point in the Naviserver startup. -- Andrew Piskorski <a...@piskorski.com> ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel