|
From: Dirk M. <dm...@gm...> - 2005-07-26 19:39:28
|
On Tuesday 26 July 2005 21:11, rak_25 wrote: > ==22338== Warning: client switching stacks? %esp: 0x52BFA96C --> > 0x528FA820 . Do you have something in your application that does a huge allocation on the stack or that implements threads / stack switches in userspace? > ==22338== Invalid write of size 4 its a false warning triggered by valgrind being confused about a huge jump in stack usage. it seems to me that your app didn't actually switch the stack but just allocated a huge amount of memory on the stack, so all following stack-based accesses are incorrectly interpreted. Dirk |