i have executable i'm running on remote linux machine.
when run executable (./execute arg_one), program crashes in middle of while loop " error in `./execute': malloc(): memory corruption (fast)"
however, when run program under simplest valgrind (valgrind ./execute arg_one), program doesn't crash, runs way through main, , produces correct output.
why case??
sometimes happens program crashes, valgrind executing possible valgrind runs end, , correct output. doesn't mean program correct. should check errors/contexts shown valgrind , correct them if want program work.
Comments
Post a Comment