I have following random problem with hyper-threading/OpenMP.
Function B | Function B
Function A | Function A
Accidentally, registers in function A getting screwed up, generating access violation. If I?ll restart function A in debug mode, it loads registers correct, and function completes.
It seems that during hyperthreading, somehow registers are corrupted. Stack seems to be intact. No static variables. Anybody has seen such problem or have an advice? Maybe it's cache related?