Valgrind and Shared Memory
I use the excellentdebugging tool, Valgrind, for all my programming. However if I allocate some shared memory, detach it, then try to access it through valgrind it (sometimes) gives me a memory access violation, when used without valgrind, it works fine.
Thing is, it doesn't always happen. I've checked and re-checked my code and the area of memory im accessing is DEFINETLY within the shared region, has anyone else had this experience? PS. Im on a windows machine at the moment so I don't have any code handy but I'll post some code later tonight that hopefully shows this |
All times are GMT -5. The time now is 10:32 AM. |