MapBlockMesh::animate causing an inconsistent seg fault in irrlicht CMatrix4::memcpy.
I just tried the latest version of next (next.2016-11-17-2024d47d)
I placed 3 iron ingots in a furnace with 1 piece of coal, 1 steel ingot was created, but it immediately crashed soon after giving the backtrace that follows. I believe this is happening due to a change to the node animations caused by the commit above (to add animated nodes for water/lava)
This crash seems to be inconsistent, because I tried it again and it didn't crash
Thread 1 "voxelands" received signal SIGSEGV, Segmentation fault. irr::core::CMatrix4<float>::operator= (other=..., this=0x55555b21d800) at /usr/local/include/irrlicht/matrix4.h:1449 1449 memcpy(M, other.M, 16*sizeof(T)); (gdb) bt #0 irr::core::CMatrix4<float>::operator= (other=..., this=0x55555b21d800) at /usr/local/include/irrlicht/matrix4.h:1449 #1 irr::core::CMatrix4<float>::CMatrix4 (constructor=irr::core::CMatrix4<float>::EM4CONST_COPY, other=..., this=0x55555b21d800) at /usr/local/include/irrlicht/matrix4.h:456 #2 irr::core::irrAllocatorFast<irr::core::CMatrix4<float> >::construct (this=0x7fffffff994c, e=..., ptr=0x55555b21d800) at /usr/local/include/irrlicht/irrAllocator.h:94 #3 irr::video::SMaterialLayer::operator= (other=..., this=0x7fffffff9940) at /usr/local/include/irrlicht/SMaterialLayer.h:105 #4 irr::video::SMaterial::operator= (other=..., this=0x7fffffff9940) at /usr/local/include/irrlicht/SMaterial.h:272 #5 irr::video::SMaterial::SMaterial (other=..., this=0x7fffffff9940) at /usr/local/include/irrlicht/SMaterial.h:249 #6 TileSpec::TileSpec (this=0x7fffffff9910) at /home/william/My_Programming_files/Local/misc_src/voxelands/voxelands/src/tile.h:280 #7 AnimationData::AnimationData (this=0x7fffffff9910) at /home/william/My_Programming_files/Local/misc_src/voxelands/voxelands/src/mapblock_mesh.h:221 #8 MapBlockMesh::animate (this=<optimized out>, time=<optimized out>) at /home/william/My_Programming_files/Local/misc_src/voxelands/voxelands/src/mapblock_mesh.cpp:481 Backtrace stopped: Cannot access memory at address 0x7fffffff9b98