Segmentation fault MeteoIO with Alpine3D and MPI
Alpine3D crashes regularly when finishing a simulation (with MPI), leading in corrupted SNO and HAZ files. The cause seems to be in the destructors of MeteoIO objects.
#0 0x00002ae9eedab0f0 in ?? () #1 #2 0x00002ae9eedab0f0 in ?? () #3 (closed) #4 (closed) 0x00002ae9e692ee30 in mio::InterpolationAlgorithm::~InterpolationAlgorithm() () from /home/wever/usr/lib/libmeteoio.so.2 #5 (closed) 0x00002ae9e692f596 in mio::USERInterpolation::~USERInterpolation() () from /home/wever/usr/lib/libmeteoio.so.2 #6 0x00002ae9e6934f22 in mio::Meteo2DInterpolator::~Meteo2DInterpolator (this=0x7fff61f75360, __in_chrg=) at /home/wever/alpine3d/meteoio/trunk/meteoio/Meteo2DInterpolator.cc:48 #7 (closed) 0x000000000042b66d in mio::IOManager::~IOManager (this=0x7fff61f74e60, __in_chrg=) at /home/wever/usr/include/meteoio/IOManager.h:35 #8 0x000000000042c1cd in ~MeteoObj (this=0x7fff61f74d50, __in_chrg=) at /home/wever/alpine3d/alpine3d/trunk/main/MeteoObj.h:9 #9 (closed) AlpineControl::~AlpineControl (this=0x7fff61f74d50, __in_chrg=) at /home/wever/alpine3d/alpine3d/trunk/main/AlpineControl.h:21 #10 (closed) 0x000000000042ffe3 in real_main (argc=7, argv=) at /home/wever/alpine3d/alpine3d/trunk/main/AlpineMain.cc:378 #11 0x0000000000431bf9 in main ()