Just to be clear... this is happening when compiling libMesh with TBB support.  Without TBB everything is fine (obviously).


On Oct 25, 2010, at 2:23 PM, David Andrs wrote:


I think I found a bug when I was working on the periodic-boundary patch (submitted earlier today). If I compiled libmesh in debug mode and ran my application, it locked up. I figured out that point_locator() is called (mesh_base.C line 287), it allocated a mutex and then it called a constructor for PointLocatorBase::build() created object. Since PointLocatorBase inherits from ReferenceCountedObject, the increment_constructor_count was called (reference_counter.h, line 167) and it tried to allocated the same mutex there again. Everything works fine in OPT mode, since the body of increment_constructor_count is empty.

Could anyone verify this?

David Andrs
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
Libmesh-devel mailing list