Hi!

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? 

Thanks,
--
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 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to