[Nouveau] [Bug 75279] XCloseDisplay() takes one minute around nouveau_dri.so, freezing Firefox startup
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 5 12:57:36 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75279
--- Comment #38 from Benoit Jacob <bjacob at mozilla.com> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140305/2301c0d8/attachment.html>
More information about the Nouveau
mailing list