<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [NV30/gallium] Mozilla apps freeze on startup with nouveau-dri-10.2.1 libs on dual-screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79823#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [NV30/gallium] Mozilla apps freeze on startup with nouveau-dri-10.2.1 libs on dual-screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79823">bug 79823</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=79823#c26">comment #26</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=101338" name="attach_101338" title="GDB log with "avoid dangling..." patch">attachment 101338</a> <a href="attachment.cgi?id=101338&action=edit" title="GDB log with "avoid dangling..." patch">[details]</a></span>
> GDB log with "avoid dangling..." patch
>
> /dev/dri/card0 on fd #4 closed,
> /dev/dri/card0 on fd #5 remained open.</span >
So... for some *unknown* reason, the thing decides to create two screens. Fine.
Now we have this thing which reuses screens for the same device... makes sense.
But after it tries to close one of the screens, it also closes the fd that it
used to create the screen with. Reasonable enough. However that fd is the one
that's being used by the device.
Perhaps it should be dup'ing the fd and doing all the ioctl's on that, so that
this sort of thing doesn't happen. Maarten, thoughts?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>