https://bugs.freedesktop.org/show_bug.cgi?id=75279 --- Comment #38 from Benoit Jacob --- I wasn't clear enough in comment 34, let me explain better :-) The Mozilla change that exposed this, https://bugzilla.mozilla.org/show_bug.cgi?id=860254, is exactly about having memory overwritten immediately on free(). So this is _exactly_ what is happening here :-) The reason why the stand-alone glxtest program doesn't hang is that it doesn't use Mozilla's modified memory allocator that overwrites memory on free(). If you ran it with this memory allocator, no doubt that it would hang there, as this loop would keep reading a wrong fence->status. So what you can hope to reproduce yourself with this glxtest program is not the hang, it's the valgrind-detected use-after-free, and I really believe that that is the root cause for the hang when running with Mozilla's memory allocator. -- You are receiving this mail because: You are the assignee for the bug.