I'm also now seeing runtime errors that seem to involve
variant_filter_iterator:
/sw/lib/gcc4.4/lib/gcc/i386-apple-darwin9.8.0/4.4.4/../../../../include/c++/4.4.4/debug/safe_iterator.h:175:
error: attempt to dereference a past-the-end iterator.
Objects involved in the operation:
iterator "this" @ 0x0x49310c4 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPN7libMesh4ElemENSt6__norm6vectorIS5_SaIS5_EEEEENSt7__debug6vectorIS5_S9_EEEE
(mutable iterator);
state = past-the-end;
references sequence with type
`NSt7__debug6vectorIPN7libMesh4ElemESaIS3_EEE' @ 0x0x49310c4
}
Program received signal SIGABRT, Aborted.
0x9043ce42 in __kill ()
(gdb) where
#0 0x9043ce42 in __kill ()
#1 0x9043ce34 in kill$UNIX2003 ()
#2 0x904af23a in raise ()
#3 0x904bb679 in abort ()
#4 0x046f782a in __gnu_debug::_Error_formatter::_M_error ()
#5 0x00e42971 in
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<libMesh::Elem**,
std::__norm::vector<libMesh::Elem*,
std::allocator<libMesh::Elem*> > >, std::__debug::vector<libMesh::Elem*,
std::allocator<libMesh::Elem*> > >::operator* (this=0x49310c4) at
debug/safe_iterator.h:173
#6 0x00e3e364 in
variant_filter_iterator<libMesh::Predicates::multi_predicate,
libMesh::Elem*, libMesh::Elem*&,
libMesh::Elem**>::Iter<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<libMesh::Elem**,
std::__norm::vector<libMesh::Elem*, std::allocator<libMesh::Elem*> > >,
std::__debug::vector<libMesh::Elem*, std::allocator<libMesh::Elem*> > >
>::operator* (this=0x49310c0) at variant_filter_iterator.h:179
#7 0x00e61282 in
variant_filter_iterator<libMesh::Predicates::multi_predicate,
libMesh::Elem*, libMesh::Elem*&, libMesh::Elem**>::operator*
(this=0xbfff792c) at variant_filter_iterator.h:408
#8 0x00e56b7b in libMesh::UnstructuredMesh::find_neighbors
(this=0xbfffd79c, reset_remote_elements=false, reset_current_list=true)
at src/mesh/unstructured_mesh.C:200
#9 0x00ce79b1 in libMesh::MeshBase::prepare_for_use (this=0xbfffd79c,
skip_renumber_nodes_and_elements=false) at src/mesh/mesh_base.C:98
#10 0x00d59b5b in libMesh::MeshTools::Generation::build_cube
(mesh=@0xbfffd79c, nx=56, ny=2, nz=0, xmin=0, xmax=1.5707963267948966,
ymin=0, ymax=0.0625, zmin=0, zmax=0, type=libMeshEnums::QUAD4,
gauss_lobatto_grid=false) at src/mesh/mesh_generation.C:1438
#11 0x00d59d5e in libMesh::MeshTools::Generation::build_square
(mesh=@0xbfffd79c, nx=56, ny=2, xmin=0, xmax=1.5707963267948966, ymin=0,
ymax=0.0625, type=libMeshEnums::QUAD4, gauss_lobatto_grid=false) at
src/mesh/mesh_generation.C:1501
#12 0x00004a26 in main (argc=2, argv=0xbfffe004) at
../../../../../IBAMR/examples/IBFE/explicit/ex1/main.C:355
On 3/13/11 10:55 PM, Boyce Griffith wrote:
> Hi, Guys --
>
> I just updated to the latest svn HEAD, and I am now getting compiler
> errors in my application code like:
>
> /Users/griffith/sfw/libmesh/include/base/variant_filter_iterator.h:204:
> error: ‘libmesh_cast_ptr’ was not declared in this scope
>
> /Users/griffith/sfw/libmesh/include/base/variant_filter_iterator.h:290:
> error: ‘libmesh_cast_ptr’ was not declared in this scope
>
> These look like namespace issues --- if I change libmesh_cast_ptr to
> libMesh::cast_ptr, everything works fine.
>
> -- Boyce
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel