I have a buggy program that pushes a variable onto stack and may use it without initialization.
I take the same binary and run it on different Linux boxes. Those boxes have different CPUs (i5, i7), but other than that they run the same Fedora distro.
One one box, I can easily catch the problem because the variable has random data.
On another box, however, the stack variables are always initialized to 0 (even though they should not be).
I am trying to pin down the cause of this different behavior. Where should I look at? What can possibly cause this? Are there any kernel features that can affect this?