#267 double free or corruption

open
nobody
None
5
2014-08-22
2008-05-13
Anonymous
No

This is the first time rdesktop has crashed on me. Great tool! Not sure if this is maybe an X bug instead.

*** glibc detected *** rdesktop: double free or corruption (fasttop): 0x083f5580 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7ca7d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7cab800]
/usr/lib/libX11.so.6(XFree+0x1d)[0xb7dc4d6d]
rdesktop[0x805bf16]
rdesktop[0x8056a6d]
rdesktop[0x805d5d3]
rdesktop[0x805d838]
rdesktop[0x805d998]
rdesktop[0x805df4d]
rdesktop[0x805ea3b]
rdesktop[0x80605b2]
rdesktop[0x8060bc8]
rdesktop[0x80617fc]
rdesktop[0x804d3f7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7c54050]
rdesktop[0x804b611]
======= Memory map: ========
08048000-08073000 r-xp 00000000 08:01 4182617 /usr/bin/rdesktop
08073000-08076000 rw-p 0002a000 08:01 4182617 /usr/bin/rdesktop
08076000-0843e000 rw-p 08076000 00:00 0 [heap]
b7900000-b7921000 rw-p b7900000 00:00 0
b7921000-b7a00000 ---p b7921000 00:00 0
b7a90000-b7a9a000 r-xp 00000000 08:01 8060930 /lib/libgcc_s.so.1
b7a9a000-b7a9b000 rw-p 0000a000 08:01 8060930 /lib/libgcc_s.so.1
b7a9b000-b7a9f000 r-xp 00000000 08:01 4178911 /usr/lib/libXfixes.so.3.1.0
b7a9f000-b7aa0000 rw-p 00003000 08:01 4178911 /usr/lib/libXfixes.so.3.1.0
b7aa0000-b7aa7000 r-xp 00000000 08:01 4178637 /usr/lib/libXrender.so.1.3.0
b7aa7000-b7aa8000 rw-p 00006000 08:01 4178637 /usr/lib/libXrender.so.1.3.0
b7aa8000-b7ab0000 r-xp 00000000 08:01 4179188 /usr/lib/libXcursor.so.1.0.2
b7ab0000-b7ab1000 rw-p 00007000 08:01 4179188 /usr/lib/libXcursor.so.1.0.2
b7ab1000-b7aba000 r-xp 00000000 08:01 7164516 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7aba000-b7abc000 rw-p 00008000 08:01 7164516 /lib/tls/i686/cmov/libnss_files-2.6.1.so
b7abc000-b7ac4000 r-xp 00000000 08:01 7164518 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7ac4000-b7ac6000 rw-p 00007000 08:01 7164518 /lib/tls/i686/cmov/libnss_nis-2.6.1.so
b7ac6000-b7ada000 r-xp 00000000 08:01 7164513 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7ada000-b7adc000 rw-p 00013000 08:01 7164513 /lib/tls/i686/cmov/libnsl-2.6.1.so
b7adc000-b7ade000 rw-p b7adc000 00:00 0
b7ade000-b7ae5000 r-xp 00000000 08:01 7164514 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7ae5000-b7ae7000 rw-p 00006000 08:01 7164514 /lib/tls/i686/cmov/libnss_compat-2.6.1.so
b7afc000-b7b3b000 r--p 00000000 08:01 4227427 /usr/lib/locale/en_US.utf8/LC_CTYPE
b7b3b000-b7c1b000 r--p 00000000 08:01 4227429 /usr/lib/locale/en_US.utf8/LC_COLLATE
b7c1b000-b7c1d000 rw-p b7c1b000 00:00 0
b7c1d000-b7c21000 r-xp 00000000 08:01 4178187 /usr/lib/libXdmcp.so.6.0.0
b7c21000-b7c22000 rw-p 00003000 08:01 4178187 /usr/lib/libXdmcp.so.6.0.0
b7c22000-b7c24000 r-xp 00000000 08:01 4178070 /usr/lib/libXau.so.6.0.0
b7c24000-b7c25000 rw-p 00001000 08:01 4178070 /usr/lib/libXau.so.6.0.0
b7c25000-b7c39000 r-xp 00000000 08:01 8781984 /usr/lib/libz.so.1.2.3.3
b7c39000-b7c3a000 rw-p 00013000 08:01 8781984 /usr/lib/libz.so.1.2.3.3
b7c3a000-b7c3c000 r-xp 00000000 08:01 7164509 /lib/tls/i686/cmov/libdl-2.6.1.so
b7c3c000-b7c3e000 rw-p 00001000 08:01 7164509 /lib/tls/i686/cmov/libdl-2.6.1.so
b7c3e000-b7d82000 r-xp 00000000 08:01 3112989 /lib/tls/i686/cmov/libc-2.6.1.so
b7d82000-b7d83000 r--p 00143000 08:01 3112989 /lib/tls/i686/cmov/libc-2.6.1.so
b7d83000-b7d85000 rw-p 00144000 08:01 3112989 /lib/tls/i686/cmov/libc-2.6.1.so
b7d85000-b7d89000 rw-p b7d85000 00:00 0
b7d89000-b7e76000 r-xp 00000000 08:01 4178567 /usr/lib/libX11.so.6.2.0
b7e76000-b7e7a000 rw-p 000ed000 08:01 4178567 /usr/lib/libX11.so.6.2.0
b7e7a000-b7fa5000 r-xp 00000000 08:01 10813447 /usr/lib/i686/cmov/libcrypto.so.0.9.8
b7fa5000-b7fba000 rw-p 0012a000 08:01 10813447 /usr/lib/i686/cmov/libcrypto.so.0.9.8
b7fba000-b7fbd000 rw-p b7fba000 00:00 0
b7fbd000-b7fbf000 r-xp 00000000 08:01 4196277 /usr/lib/gconv/UTF-16.so
b7fbf000-b7fc1000 rw-p 00001000 08:01 4196277 /usr/lib/gconv/UTF-16.so
b7fc1000-b7fc2000 r--p 00000000 08:01 4228534 /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7fc2000-b7fc3000 r--p 00000000 08:01 4227488 /usr/lib/locale/en_US.utf8/LC_TIME
b7fc3000-b7fc4000 r--p 00000000 08:01 4227489 /usr/lib/locale/en_US.utf8/LC_MONETARY
b7fc4000-b7fc5000 r--p 00000000 08:01 4243534 /usr/lib/locale/en_US.utf8/LC_ME

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Forgot to include version:

    rdesktop: A Remote Desktop Protocol client.
    Version 1.5.0. Copyright (C) 1999-2005 Matt Chapman.
    See http://www.rdesktop.org/ for more information.

     
  • Nobody/Anonymous

    Logged In: NO

    Forgot to include version:

    rdesktop: A Remote Desktop Protocol client.
    Version 1.5.0. Copyright (C) 1999-2005 Matt Chapman.
    See http://www.rdesktop.org/ for more information.

     
  • Nobody/Anonymous

    Logged In: NO

    What were you doing when rdesktop crashed? Were you pasting something?

    Do you feel like compiling your own rdesktop? You may notice the addresses inside rdesktop given in the backtrace don't have function names with them. It's much easier for anyone who can debug the problem to do so with those function names, but that requires you to compile rdesktop yourself, with debug flags.

    Another thing you could try is to check out the CVS HEAD and see if that version crashes the same way.