My program is in C++ and Assembly. What happens is:
1) When I run on SMP, I get a crash. If I use Valgrind, the crash is no longer there.
2) When I run on non-SMP, I don't get a crash. Regardless of the use of Valgrind.
User Profile
Collapse
-
Valgrind is preventing the crash in my program
Hello
I have a situation, my program has a crash (SIGSEGV) for a reason that I don't know yet. I tried to analyze it using Valgrind but when I invoke the program with Valgrind, the crash no longer occurs.
Another observation is the crash only happens on SMP linux kernel. When I run the program on thhe non-SMP kernel it doesn't crash.
So does anyone know what exactly does Valgrind do that may have prevented the occurence...
No activity results to display
Show More
Leave a comment: