add error in case of valgrind error
add error in case of valgrind error

dimagol/trex-core,kisel/trex-core,kisel/trex-core,dimagol/trex-core,kisel/trex-core,dimagol/trex-core,kisel/trex-core,dimagol/trex-core,dimagol/trex-core,dimagol/trex-core,kisel/trex-core,kisel/trex-core