Program crashing in ntdll.dll upon function return
===

My Windows C++ program is behaving worse than ever. It crashes spontaneously, usually just when/after a function returns anything. The fault module indicated is, at times the program itself, at times ntdll.dll, at times StackHash_something and the exception code is at times access violation, at times 40000015. This has driven me crazy. I've seen this crash one time occuring just after assigning a value to a certain variable, and not occuring anymore if I commented the line that did that assignment (and occuring elsewhere...).

Yet I am unable to trace the problem... Any hints?