masarati@aero.polimi.it wrote:
Another quick check you could probably do relatively quickly is zero out that "e" pointer before calling be_entry_get_rw() within refresh_merge().
Forget about it: it's already done from within be_entry_get_rw() itself. The fact you get a corrupted "e" sounds odd, though. It would be interesting to track how and where it is set. This should appear from valgrind's inspection when *e is dereferenced.
p.