[Nouveau] [Bug 79823] [NV30/gallium] Mozilla apps freeze on startup with nouveau-dri-10.2.1 libs on dual-screen
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 18 15:23:08 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=79823
--- Comment #23 from Ilia Mirkin <imirkin at alum.mit.edu> ---
OK, well, I can't repro this, but clearly the device is getting closed
_somehow_. It appears that you're relatively able at debugging things, let me
know if I've misunderstood.
Can you load up glxtest in gdb (with my fixes), and do
break main
r
break close
break nv30_screen_destroy
c
and look at what happens. The first couple of closes will actually be at
creation time because it opens/closes some config files, continue past those.
This is what I see:
(gdb) c
Continuing.
Breakpoint 2, nv50_screen_destroy (pscreen=0x633c60) at nv50/nv50_screen.c:295
295 struct nv50_screen *screen = nv50_screen(pscreen);
(gdb) n
297 if (!nouveau_drm_screen_unref(&screen->base))
(gdb) p screen->base.device->fd
$1 = 8
(gdb) c
Continuing.
Breakpoint 3, 0x00007ffff6db23d0 in close () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff6db23d0 in close () from /lib64/libc.so.6
#1 0x00007ffff643797a in dri2DestroyScreen (base=0x618c50) at dri2_glx.c:712
#2 0x00007ffff63fcdb5 in FreeScreenConfigs (priv=0x615600) at glxext.c:208
#3 0x00007ffff63fce3f in glx_display_free (priv=0x615600) at glxext.c:231
#4 0x00007ffff63fd01a in __glXCloseDisplay (dpy=0x6070f0, codes=0x615688)
at glxext.c:279
#5 0x00007ffff78bc0c2 in XCloseDisplay () from /usr/lib64/libX11.so.6
#6 0x00000000004011be in glxtest () at glxtest.cpp:202
#7 0x000000000040120a in main (argc=1, argv=0x7fffffffdda8) at glxtest.cpp:211
(gdb) up
#1 0x00007ffff643797a in dri2DestroyScreen (base=0x618c50) at dri2_glx.c:712
712 close(psc->fd);
(gdb) p psc->fd
$2 = 8
(gdb) c
Continuing.
Breakpoint 3, 0x00007ffff6db23d0 in close () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff6db23d0 in close () from /lib64/libc.so.6
#1 0x00007ffff6abddee in xcb_disconnect () from /usr/lib64/libxcb.so.1
#2 0x00007ffff78bc0f7 in XCloseDisplay () from /usr/lib64/libX11.so.6
#3 0x00000000004011be in glxtest () at glxtest.cpp:202
#4 0x000000000040120a in main (argc=1, argv=0x7fffffffdda8) at glxtest.cpp:211
(gdb) c
[this is actually with nv50, but the nv30 flow should be no different]
You must be getting something else, otherwise how is that fd getting closed
already.
--
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/20140618/f51f223e/attachment.html>
More information about the Nouveau
mailing list