CHAI
CHAI copied to clipboard
Exit time error with 2.3.0
When using CHAI 2.3.0 with Umpire 4.1.2 and RAJA 0.13.0 I get a segfault when free'ing a ManagedArray
that is destroyed at exit time (after main). This occurred with GCC 8.3.1 but not clang 10.0.1. When using CHAI 2.2.1 with Umpire 4.1.2 and RAJA 0.12.1 both compilers work fine.
terminate called after throwing an instance of 'umpire::util::Exception'
what(): ! Umpire Exception [/usr/WS2/corbett5/geosx/uberenv_libs/builds/spack-stage-umpire-4.1.2-qs26ycp2lqi32tsvjid6wzboag6p4lrq/spack-src/src/umpire/ResourceManager.cpp:405]: getAllocator Allocator "2" not found. Available allocators:
Backtrace: 18 frames
0 0x2aaaae7d7cd5 No dladdr: /usr/WS2/corbett5/geosx/uberenv_libs/[email protected]/[email protected]/lib/libumpire.so(+0x3dcd5) [0x2aaaae7d7cd5]
1 0x2aaaae7d7d40 No dladdr: /usr/WS2/corbett5/geosx/uberenv_libs/[email protected]/[email protected]/lib/libumpire.so(_ZN6umpire4util10backtracerINS0_12trace_alwaysEE13get_backtraceERNS0_9backtraceE+0x10) [0x2aaaae7d7d40]
2 0x2aaaae7d33b2 No dladdr: /usr/WS2/corbett5/geosx/uberenv_libs/[email protected]/[email protected]/lib/libumpire.so(_ZN6umpire15ResourceManager12getAllocatorEi+0x1b2) [0x2aaaae7d33b2]
3 0x2aaaad18baa3 No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN4chai12ArrayManager4freeEPNS_13PointerRecordENS_14ExecutionSpaceE+0x113) [0x2aaaad18baa3]
4 0x4bc17e No dladdr: ./tests/testFunctions(_ZN7LvArray10ChaiBufferIlE4freeEv+0x40) [0x4bc17e]
5 0x4b475e No dladdr: ./tests/testFunctions(_ZN7LvArray18bufferManipulation4freeINS_10ChaiBufferIlEEEEvRT_l+0x2f) [0x4b475e]
6 0x2aaaac43f684 No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN7LvArray5ArrayIlLi1EN4camp7int_seqIlJLl0EEEElNS_10ChaiBufferEED1Ev+0x2e) [0x2aaaac43f684]
7 0x2aaaac84b8f8 No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx13TableFunctionD1Ev+0x30) [0x2aaaac84b8f8]
8 0x2aaaac84b98c No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx13TableFunctionD0Ev+0x18) [0x2aaaac84b98c]
9 0x2aaaac7c0d9d No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx12MappedVectorINS_14dataRepository5GroupEPS2_SslE11deleteValueIS3_EENSt9enable_ifIXsrSt7is_sameIT_S3_E5valueEvE4typeEl+0x5d) [0x2aaaac7c0d9d]
10 0x2aaaac7bf9dd No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx12MappedVectorINS_14dataRepository5GroupEPS2_SslE5clearEv+0x49) [0x2aaaac7bf9dd]
11 0x2aaaac7bee80 No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx12MappedVectorINS_14dataRepository5GroupEPS2_SslED1Ev+0x18) [0x2aaaac7bee80]
12 0x2aaaac7ba938 No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx14dataRepository5GroupD1Ev+0x42) [0x2aaaac7ba938]
13 0x2aaaac86d056 No dladdr: /usr/WS2/corbett5/geosx/[email protected]/lib/libgeosx_core.so(_ZN5geosx15FunctionManagerD1Ev+0x2a) [0x2aaaac86d056]
14 0x2aaac4934ce9 No dladdr: /lib64/libc.so.6(+0x39ce9) [0x2aaac4934ce9]
15 0x2aaac4934d37 No dladdr: /lib64/libc.so.6(+0x39d37) [0x2aaac4934d37]
16 0x2aaac491d55c No dladdr: /lib64/libc.so.6(__libc_start_main+0xfc) [0x2aaac491d55c]
17 0x4a4459 No dladdr: ./tests/testFunctions() [0x4a4459]