reopen 565552 !
found 565552 1.7.4p4-2.squeeze.2
thanks

Hello,

I am reopening this bug as I just encountered the same error on my fresh
Squeeze installation. To reproduce it, just add the "comment" following
line in the /etc/sudoers file:
--------8<----------------------8<--------
#includedir /tmp
--------8<----------------------8<--------

Here is the output of my users's sudo command:
--------8<----------------------8<--------
~$ sudo -s
sudo: can't stat : No such file or directory
*** glibc detected *** sudo: double free or corruption (out):
0x0000000001cb24d0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71bd6)[0x7fa8b7349bd6]
/lib/libc.so.6(cfree+0x6c)[0x7fa8b734e94c]
sudo[0x416c20]
sudo[0x417e1a]
sudo[0x41311a]
sudo[0x40d13c]
sudo[0x40e825]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fa8b72f6c8d]
sudo[0x403b59]
======= Memory map: ========
00400000-00427000 r-xp 00000000 fd:06
468944                             /usr/bin/sudo
00626000-00628000 rw-p 00026000 fd:06
468944                             /usr/bin/sudo
00628000-0062d000 rw-p 00000000 00:00 0 
01c9f000-01cc0000 rw-p 00000000 00:00 0
[heap]
7fa8b0000000-7fa8b0021000 rw-p 00000000 00:00 0 
7fa8b0021000-7fa8b4000000 ---p 00000000 00:00 0 
7fa8b6653000-7fa8b6669000 r-xp 00000000 fd:06
468531                     /lib/libgcc_s.so.1
7fa8b6669000-7fa8b6868000 ---p 00016000 fd:06
468531                     /lib/libgcc_s.so.1
7fa8b6868000-7fa8b6869000 rw-p 00015000 fd:06
468531                     /lib/libgcc_s.so.1
7fa8b6869000-7fa8b6875000 r-xp 00000000 fd:06
469342                     /lib/libnss_files-2.11.3.so
7fa8b6875000-7fa8b6a74000 ---p 0000c000 fd:06
469342                     /lib/libnss_files-2.11.3.so
7fa8b6a74000-7fa8b6a75000 r--p 0000b000 fd:06
469342                     /lib/libnss_files-2.11.3.so
7fa8b6a75000-7fa8b6a76000 rw-p 0000c000 fd:06
469342                     /lib/libnss_files-2.11.3.so
7fa8b6a76000-7fa8b6a80000 r-xp 00000000 fd:06
469344                     /lib/libnss_nis-2.11.3.so
7fa8b6a80000-7fa8b6c7f000 ---p 0000a000 fd:06
469344                     /lib/libnss_nis-2.11.3.so
7fa8b6c7f000-7fa8b6c80000 r--p 00009000 fd:06
469344                     /lib/libnss_nis-2.11.3.so
7fa8b6c80000-7fa8b6c81000 rw-p 0000a000 fd:06
469344                     /lib/libnss_nis-2.11.3.so
7fa8b6c81000-7fa8b6c96000 r-xp 00000000 fd:06
469339                     /lib/libnsl-2.11.3.so
7fa8b6c96000-7fa8b6e95000 ---p 00015000 fd:06
469339                     /lib/libnsl-2.11.3.so
7fa8b6e95000-7fa8b6e96000 r--p 00014000 fd:06
469339                     /lib/libnsl-2.11.3.so
7fa8b6e96000-7fa8b6e97000 rw-p 00015000 fd:06
469339                     /lib/libnsl-2.11.3.so
7fa8b6e97000-7fa8b6e99000 rw-p 00000000 00:00 0 
7fa8b6e99000-7fa8b6ea0000 r-xp 00000000 fd:06
469340                     /lib/libnss_compat-2.11.3.so
7fa8b6ea0000-7fa8b709f000 ---p 00007000 fd:06
469340                     /lib/libnss_compat-2.11.3.so
7fa8b709f000-7fa8b70a0000 r--p 00006000 fd:06
469340                     /lib/libnss_compat-2.11.3.so
7fa8b70a0000-7fa8b70a1000 rw-p 00007000 fd:06
469340                     /lib/libnss_compat-2.11.3.so
7fa8b70a1000-7fa8b70a9000 r-xp 00000000 fd:06
469218                     /lib/libcrypt-2.11.3.so
7fa8b70a9000-7fa8b72a8000 ---p 00008000 fd:06
469218                     /lib/libcrypt-2.11.3.so
7fa8b72a8000-7fa8b72a9000 r--p 00007000 fd:06
469218                     /lib/libcrypt-2.11.3.so
7fa8b72a9000-7fa8b72aa000 rw-p 00008000 fd:06
469218                     /lib/libcrypt-2.11.3.so
7fa8b72aa000-7fa8b72d8000 rw-p 00000000 00:00 0 
7fa8b72d8000-7fa8b7431000 r-xp 00000000 fd:06
469145                     /lib/libc-2.11.3.so
7fa8b7431000-7fa8b7630000 ---p 00159000 fd:06
469145                     /lib/libc-2.11.3.so
7fa8b7630000-7fa8b7634000 r--p 00158000 fd:06
469145                     /lib/libc-2.11.3.so
7fa8b7634000-7fa8b7635000 rw-p 0015c000 fd:06
469145                     /lib/libc-2.11.3.so
7fa8b7635000-7fa8b763a000 rw-p 00000000 00:00 0 
7fa8b763a000-7fa8b763c000 r-xp 00000000 fd:06
469257                     /lib/libdl-2.11.3.so
7fa8b763c000-7fa8b783c000 ---p 00002000 fd:06
469257                     /lib/libdl-2.11.3.so
7fa8b783c000-7fa8b783d000 r--p 00002000 fd:06
469257                     /lib/libdl-2.11.3.so
7fa8b783d000-7fa8b783e000 rw-p 00003000 fd:06
469257                     /lib/libdl-2.11.3.so
7fa8b783e000-7fa8b784a000 r-xp 00000000 fd:06
467773                     /lib/libpam.so.0.82.2
7fa8b784a000-7fa8b7a49000 ---p 0000c000 fd:06
467773                     /lib/libpam.so.0.82.2
7fa8b7a49000-7fa8b7a4a000 rw-p 0000b000 fd:06
467773                     /lib/libpam.so.0.82.2
7fa8b7a4a000-7fa8b7a4c000 r-xp 00000000 fd:06
469351                     /lib/libutil-2.11.3.so
7fa8b7a4c000-7fa8b7c4b000 ---p 00002000 fd:06
469351                     /lib/libutil-2.11.3.so
7fa8b7c4b000-7fa8b7c4c000 r--p 00001000 fd:06
469351                     /lib/libutil-2.11.3.so
7fa8b7c4c000-7fa8b7c4d000 rw-p 00002000 fd:06
469351                     /lib/libutil-2.11.3.so
7fa8b7c4d000-7fa8b7c6b000 r-xp 00000000 fd:06
468827                     /lib/ld-2.11.3.so
7fa8b7cea000-7fa8b7e60000 r--p 00000000 fd:06
485492                     /usr/lib/locale/locale-archive
7fa8b7e60000-7fa8b7e64000 rw-p 00000000 00:00 0 
7fa8b7e67000-7fa8b7e6a000 rw-p 00000000 00:00 0 
7fa8b7e6a000-7fa8b7e6b000 r--p 0001d000 fd:06
468827                     /lib/ld-2.11.3.so
7fa8b7e6b000-7fa8b7e6c000 rw-p 0001e000 fd:06
468827                     /lib/ld-2.11.3.so
7fa8b7e6c000-7fa8b7e6d000 rw-p 00000000 00:00 0 
7ffff9d0d000-7ffff9d22000 rw-p 00000000 00:00 0
[stack]
7ffff9dfe000-7ffff9e00000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted
--------8<----------------------8<--------

IMO, sudo should output "reasonable" error, instead of this stacktrace.

I was not sure if this qualified as a 'serious' bug or not, as it
renders sudo unusable, so I kept it 'important'.

FYI, I was unable to reproduce this bug on wheezy.

Cheers,
 Ignace M

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-131.12.1.el6.042stab037.1-openvz-amd64 (SMP w/8 CPU
cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sudo depends on:
ii  libc6                 2.11.3-2           Embedded GNU C Library:
Shared lib
ii  libpam-modules        1.1.1-6.1+squeeze1 Pluggable Authentication
Modules f
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication
Modules l

sudo recommends no packages.

sudo suggests no packages.






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to