On Thu, Jun 04, 2020 at 05:26:04PM +0200, Gustaf Neumann wrote:
> >    Assertion failed: (addr != ((void *)0)), file tclobj.c, line 325

> Probably "Ns_ThreadSelf(&tid);" does not work under windows (get the
> id of the current thread). Ns_ThreadSelf() is defined in the OS specific
> part (winthread.c). The exception is probably coming from
> test thread-2.3, it looks to me as if the the thread (here the
> thread running the tests) is not properly initiated under windows.
> 
> i have added one more assert, to make it easier to pinpoint the
> problem.

Yes, with your new change, when running ns_thread.test on Windows I
now always get this:

  Assertion failed: tid != NULL, file tclthread.c, line 238

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


_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to