[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609858: xorg: xrandr 2>&- hangs the terminal, xrandr 2>/dev/null works



> unreproducible for me.

blacklisting nouveau makes it go away for me.  with nouveau:

jthill@gadabout:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0*
jthill@gadabout:~$ xrandr 2>&-
^C
jthill@gadabout:~$ lsmod
Module                  Size  Used by
nouveau               404295  2
ttm                    42720  1 nouveau
drm_kms_helper         21917  1 nouveau
psmouse                32725  0
video                  10917  1 nouveau
jthill@gadabout:~$ xrandr 2>/dev/null
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0*
jthill@gadabout:~$ cd src/X11/xrandr/
jthill@gadabout:~/src/X11/xrandr$ git describe
xrandr-1.3.2-20-g61fc9cc
jthill@gadabout:~/src/X11/xrandr$ gdb ./xrandr
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jthill/src/X11/xrandr/xrandr...done.
(gdb) run 2>&-
Starting program: /home/jthill/src/X11/xrandr/xrandr 2>&-
^C
Program received signal SIGINT, Interrupt.
0x00007ffff71700d8 in poll () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff71700d8 in poll () from /lib/libc.so.6
#1  0x00007ffff6c878ca in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffff6c89c0c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007ffff76d6acd in _XReply (dpy=0x60c010, rep=0x7fffffffdf10,
    extra=<value optimized out>, discard=<value optimized out>) at xcb_io.c:533
#4  0x00007ffff7bdbe49 in XRRGetOutputPrimary (dpy=0x60c010, window=67)
    at XrrOutput.c:182
#5  0x0000000000403bfb in output_is_primary () at xrandr.c:942
#6  set_output_info () at xrandr.c:1163
#7  get_outputs () at xrandr.c:1695
#8  0x000000000040688f in main (argc=0, argv=0x1) at xrandr.c:2919
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2722] will be killed.

Quit anyway? (y or n) y
jthill@gadabout:~/src/X11/xrandr$ ./xrandr
./xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024       0.0*
jthill@gadabout:~/src/X11/xrandr$



Reply to: