I solved this (mysterious!) problem, and just thought I'd save someone  
else time.

Using wt-2.99.2 or wt from git
commit 792fda688292be10756dea1607581a7dc10f8e61
Author: Koen Deforche <[email protected]>
Date:   Tue Jun 2 16:54:40 2009 +0200

on Mac OS 10.5.7, with boost 1.18.0_0  (from Mac Ports).

When I try to access my application's URL, my Wt based application  
prints the message:
/opt/local/include/boost/thread/pthread/mutex.hpp:50: failed assertion  
`!pthread_mutex_lock(&m)'

The problem was caused by linking to the json_spirit library, which  
was (accidently) built with non-threaded BOOST code.  Once I rebuilt  
json_spirit to be thread-safe, the runtime assertion failure vanished.



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to