Hi Joseph,

thanks for sharing. 

I just ran into the same assert on debian lenny with the packaged boost
1.35 from the repositories and wt from git.

I don't use json_spirit. 
Besides the and it's required libs as well as some more boost libs which
I link dynamically, I only link dtemplatelib statically.

The same app works without problems on ubuntu with boost 1.38

So far, I didn't investigate further, as the debian machine is only a
vbox with console to build for the voyage linux box.

Rgds
Richard

> From: Joseph VanAndel <vanan...@uc...> - 2009-06-09 21:48

> 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 <k...@em...>
> 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. 


------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to