#446: 1D HDF5 output nonfunctional with multipatch - std::out_of_range ---------------------+------------------------------------------------------ Reporter: hinder | Owner: eschnett Type: defect | Status: new Priority: major | Milestone: Component: Carpet | Version: Resolution: | Keywords: ---------------------+------------------------------------------------------
Comment (by hinder):
Running under a debugger, I get
#0 0x00007fff873615d6 in __kill () #1 0x00007fff87401cd6 in abort () #2 0x00000001034ded95 in __gnu_cxx::__verbose_terminate_handler () #3 0x00000001034dcc0a in __cxxabiv1::__terminate () #4 0x00000001034dcc53 in std::terminate () #5 0x00000001034dcd56 in __cxa_throw () #6 0x0000000103472786 in std::__throw_out_of_range () #7 0x00000001007b275e in CarpetIOHDF5::GetAllActive (dd=<value temporarily unavailable, due to optimizations>, hh=<value temporarily unavailable, due to optimizations>, ml=<value temporarily unavailable, due to optimizations>, rl=<value temporarily unavailable, due to optimizations>, allactive=<value temporarily unavailable, due to optimizations>) at stl_vector.h:634 #8 0x00000001007ad93c in CarpetIOHDF5::IOHDF5<1>::OutputDirection (cctkGH=<value temporarily unavailable, due to optimizations>, vindex=<value temporarily unavailable, due to optimizations>, alias=<value temporarily unavailable, due to optimizations>, basefilename=<value temporarily unavailable, due to optimizations>, dirs=<value temporarily unavailable, due to optimizations>, is_new_file=<value temporarily unavailable, due to optimizations>, truncate_file=true) at OutputSlice.cc:564 #9 0x00000001007aef7b in std::string::_M_rep () at /sw/lib/gcc4.4/include/c++/4.4.4/bits/basic_string.h:483 #10 0x00000001007aef7b in CarpetIOHDF5::IOHDF5<1>::OutputVarAs (cctkGH=0x104a03880, varname=<value temporarily unavailable, due to optimizations>, alias=0x103b747e0 "u") at basic_string.h:503 #11 0x00000001007af255 in CarpetIOHDF5::IOHDF5<1>::TriggerOutput (cctkGH=0x104a03880, vindex=285) at OutputSlice.cc:366 #12 0x00000001007af32a in CarpetIOHDF5::IOHDF5<1>::OutputGH (cctkGH=0x104a03880) at OutputSlice.cc:242 #13 0x0000000100c5c660 in std::vector<Carpet::Timer*, std::allocatorCarpet::Timer* >::size () at /sw/lib/gcc4.4/include/c++/4.4.4/bits/stl_vector.h:54 #14 0x0000000100c5c660 in std::vector<Carpet::Timer*, std::allocatorCarpet::Timer* >::_M_range_check () at OutputGH.cc:633 #15 std::vector<Carpet::Timer*, std::allocatorCarpet::Timer* >::at () at /sw/lib/gcc4.4/include/c++/4.4.4/bits/stl_vector.h:652 #16 0x0000000100c5c660 in Carpet::OutputGH (cctkGH=<value temporarily unavailable, due to optimizations>) at stl_vector.h:55 #17 0x0000000100c5565d in CallAnalysis (cctkGH=0x104a03880) at Initialise.cc:1307 #18 0x0000000100c59380 in Carpet::Initialise (fc=<value temporarily unavailable, due to optimizations>) at Initialise.cc:141 #19 0x000000010001990d in main (argc=2, argv=0x7fff5fbfe760) at flesh.cc:80
The OutputSlice.cc:564 line is the GetAllActive call here:
// re-compute the active (non-buffered) region ibset allactive; GetAllActive (dd, hh, m, rl, allactive);