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

Bug#426970: marked as done (xrandr segfaults)



Your message dated Sat, 02 Jun 2007 00:31:06 +0200
with message-id <46609E2A.7010602@ens-lyon.org>
and subject line Bug#426970: xbase-clients: xrandr segfaults reading /lib/i686/cmov/libdl.so.2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xbase-clients
Version: 1:7.1.ds1-2
Severity: normal


xrandr segfaults when invoked.

If I'm reading strace correctly, it's failing in a read of
/lib/i686/cmov/libdl.so.2:


    access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
    open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\n\0\000"..., 512) = 51
    2
    fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
    mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d
    3a000
    mmap2(0xb7d3c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT
    E, 3, 0x1) = 0xb7d3c000
    close(3)                                = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
    d39000
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
    d38000
    set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d386c0, limit:1048575, seg_
    32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, usea
    ble:1}) = 0
    mprotect(0xb7e91000, 4096, PROT_READ)   = 0
    munmap(0xb7f92000, 95251)               = 0
    brk(0)                                  = 0x804c000
    brk(0x806d000)                          = 0x806d000
    uname({sys="Linux", node="lnx-kself", ...}) = 0
    socket(PF_FILE, SOCK_STREAM, 0)         = 3
    uname({sys="Linux", node="lnx-kself", ...}) = 0
    uname({sys="Linux", node="lnx-kself", ...}) = 0
    connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
    uname({sys="Linux", node="lnx-kself", ...}) = 0
    fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
    access("/home/kself/.Xauthority", R_OK) = 0
    open("/home/kself/.Xauthority", O_RDONLY) = 4
    fstat64(4, {st_mode=S_IFREG|0600, st_size=103, ...}) = 0
    mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
    fa9000
    read(4, "\0\0\0\4\236\214/F\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 103
    read(4, "", 4096)                       = 0
    close(4)                                = 0
    munmap(0xb7fa9000, 4096)                = 0
    writev(3, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0
    ", 2}, {"\23s\"+ `6/ip,dO\2N:", 16}], 4) = 48
    fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
    fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
    read(3, "\1\0\v\0\0\0c\0", 8)           = 8
    read(3, "\10\250-\4\0\0`\5\377\377\37\0\0\1\0\0\24\0\377\377\1\7"..., 396) = 396
    write(3, "7\0\5\0\0\0`\5f\0\0\0\10\0\0\0\377\377\0\0b\0\5\0\f\0\0"..., 64) = 64
    read(3, "\1\0\2\0\0\0\0\0\1\205\0\0\0\0\0\0\24\0\0\0\0\0\0\0\24"..., 32) = 32
    read(3, "\1\10\3\0#\7\0\0\37\0\0\0\0\0\0\0\213\34\0\0\30\0\0\0\0"..., 32) = 32
    readv(3, [{"*VT100.Translations:\t#override ~"..., 7307}, {"\0", 1}], 2) = 7308
    write(3, "\205\0\1\0", 4)               = 4
    read(3, "\1\0\4\0\0\0\0\0\377\377?\0\0\0\0\0\4\0\0\0(\0\0\0\4\0"..., 32) = 32
    writev(3, [{"b\0\5\0\t\0`\5", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
    read(3, "\1\0\5\0\0\0\0\0\1\223n\255\0\0\0\0\24\0\0\0(\0\0\0\24"..., 32) = 32
    write(3, "\223\0\2\0\1\0\0\0", 8)       = 8
    read(3, "\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\240\333A\n\23\0\0\0\10"..., 32) = 32
    writev(3, [{"b\0\4\0\5\0\0\0", 8}, {"RANDR", 5}, {"\0\0\0", 3}], 3) = 16
    read(3, "\1\0\7\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\0\0(\0\0\0\20\0\0"..., 32) = 32
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++
    Process 19634 detached

Additional info:

    [kself@lnx-kself:~]$ ll /lib/i686/cmov/libdl.so.2
    lrwxrwxrwx 1 root root 12 May 24 02:14 /lib/i686/cmov/libdl.so.2 -> libdl-2.5.so
    [kself@lnx-kself:~]$ dpkg -S /lib/i686/cmov/libdl-2.5.so
    libc6-i686: /lib/i686/cmov/libdl-2.5.so
    [kself@lnx-kself:~]$ COLUMNS=100 dpkg -l libc6-i686
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
    ||/ Name                Version             Description
    +++-===================-===================-======================================================
    ii  libc6-i686          2.5-8               GNU C Library: Shared libraries [i686 optimized]


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (950, 'testing'), (750, 'stable'), (500, 'oldstable'), (400, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages xbase-clients depends on:
ii  libc6                     2.5-8          GNU C Library: Shared libraries
ii  libfontconfig1            2.4.2-1.2      generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libfs6                    2:1.0.0-4      X11 Font Services library
ii  libgl1-mesa-glx [libgl1]  6.5.1-0.6      A free implementation of the OpenG
ii  libice6                   1:1.0.3-2      X11 Inter-Client Exchange library
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libsm6                    1:1.0.2-2      X11 Session Management library
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxau6                   1:1.0.1-2      X11 authorisation library
ii  libxaw7                   1:1.0.2-4      X11 Athena Widget library
ii  libxcursor1               1.1.7-4        X cursor management library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxft2                   2.1.12-2       FreeType-based font drawing librar
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxkbfile1               1:1.0.3-2      X11 keyboard file manipulation lib
ii  libxmu6                   1:1.0.2-2      X11 miscellaneous utility library
ii  libxmuu1                  1:1.0.2-2      X11 miscellaneous micro-utility li
ii  libxrandr2                2:1.2.1-1      X11 RandR extension library
ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
ii  libxss1                   1:1.1.0-1      X11 Screen Saver extension library
ii  libxt6                    1:1.0.5-2      X11 toolkit intrinsics library
ii  libxtrap6                 1:1.0.0-4      X11 event trapping extension libra
ii  libxtst6                  1:1.0.1-5      X11 Testing -- Resource extension 
ii  libxv1                    1:1.0.2-1      X11 Video extension library
ii  libxxf86dga1              2:1.0.1-2      X11 Direct Graphics Access extensi
ii  libxxf86vm1               1:1.0.1-2      X11 XFree86 video mode extension l
ii  x11-common                1:7.1.0-18     X Window System (X.Org) infrastruc
ii  zlib1g                    1:1.2.3-13     compression library - runtime

xbase-clients recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1:7.2.ds2-2



Karsten M. Self wrote:
>> Does it happen with xbase-clients 1:7.2.ds2-2
>>     
>
> Nope.
>
>     $ xrandr
>     Xlib:  extension "RANDR" missing on display ":0.0".
>     RandR extension missing
>
> ... which is progress.
>  
>   
>> I have seen xrandr segfault a couple times, without ever being able to
>> reproduce. Is it easy to reproduce on your side? Can you get a
>> backtrace with gdb? What command line argument did you pass to it?
>>     
>
> Yes, it was fully reproducible.
>
> I was generally passing _no_ arguments, though results were consistent
> with any of the following (from history):
>
>     xrandr
>     xrandr -s 1024x768
>     sudo xrandr -s 1024x768
>     sudo xrandr -d :0 -s 1024x768
>     xrandr -d :0 -s 1024x768
>     strace xrandr -d :0 -s 1024x768
>
> Fix at present appears to be to upgrade.  I'm a bit more interested in
> making this work than finding out wat was wrong with the old version,
> I'll be playing with my display settings some more.
>
> I think we can close this as fixed in unstable for now, I'll leave that
> call to you.
>   

Thanks for a quick reply and testing, I am marking this bug as fixed
with the unstable version.
cheers,
Brice


--- End Message ---

Reply to: