From: Jeremy F. <je...@go...> - 2003-06-20 02:51:49
|
On Thu, 2003-06-19 at 18:24, Dan Kegel wrote: > Hi, > I'm trying valgrind on an app I wrote a while ago > but that has since had shared memory stuff added to it. > Valgrind is complaining about invalid addresses when > the app copies stuff to the shared area. Is this a known > problem, or are valgrinded apps able to share memory > properly with nonvalgrinded apps? That's gotta be a toughie > to implement... I think its an oversight more than anything: V simply doesn't add the shared memory segment to the list of valid addresses, like it does with mmap. You're right that doing validity checking would be hard, but simply treating shared memory as always valid would be OK. J |