Bug#123690: marked as done (vim-gtk: blocks forever when using ssh->su->vim)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 17 Mar 2005 01:48:45 -0800


Your message dated Thu, 17 Mar 2005 10:44:10 +0100
with message-id <4239516A.2070006@cacholong.nl>
and subject line Current version is not affected
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Dec 2001 21:11:05 +0000
>From guido.guenther@gmx.net Wed Dec 12 15:11:05 2001
Return-path: <guido.guenther@gmx.net>
Received: from mail.gmx.net [213.165.64.20] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16EGef-0006BL-00; Wed, 12 Dec 2001 15:11:05 -0600
Received: (qmail 531 invoked by uid 0); 12 Dec 2001 21:10:33 -0000
Received: from pd953aac3.dip.t-dialin.net (HELO flip.ms20.nix) (217.83.170.195)
  by mail.gmx.net (mp006-rz3) with SMTP; 12 Dec 2001 21:10:33 -0000
Received: by flip.ms20.nix (Postfix, from userid 1000)
	id 60654305F; Wed, 12 Dec 2001 22:19:13 +0100 (CET)
Date: Wed, 12 Dec 2001 22:19:13 +0100
From: Guido Guenther <agx@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim-gtk: blocks forever when using ssh->su->vim
Message-ID: <20011212221912.A4457@flip.ms20.nix>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga"
Content-Disposition: inline
User-Agent: Mutt/1.3.23i
X-Reportbug-Version: 1.37
Delivered-To: submit@bugs.debian.org


--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: vim-gtk
Version: 6.0.093-1
Severity: normal

Hi,
When ssh'ing from one machine to another, using su to root there and
starting vim, it blocks forever(not interruptable by CTRL-C but by
TERM-Signal). This only happens, when I have the vim-gtk package
installed not with the vim package only. Furthermore when using "su -"
vim doesn't block(as it can access the users .Xauthority I assume). This
also doesn't happen when ssh'ing to localhost (both systems run
unstable, so the version numbers below should be o.k. for both of them).
Last lines of strace output attached...
Regards,
 -- Guido

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux flip 2.4.13-flip-ext3 #1 Fre Nov 2 22:42:57 CET 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages vim-gtk depends on:
ii  libc6                     2.2.4-6        GNU C Library: Shared libraries an
ii  libglib1.2                1.2.10-3       The GLib library of C routines
ii  libgpmg1                  1.19.6-5       General Purpose Mouse Library [lib
ii  libgtk1.2                 1.2.10-4       The GIMP Toolkit set of widgets fo
ii  libncurses5               5.2.20010318-3 Shared libraries for terminal hand
ii  vim                       6.0.093-1      Vi IMproved - enhanced vi editor
ii  xlibs                     4.1.0-9        X Window System client libraries

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vim-gtk.slog"

open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\"\0"..., 1024) = 1024
fstat64(4, {st_mode=S_IFREG|0644, st_size=34160, ...}) = 0
old_mmap(NULL, 37536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x404a5000
mprotect(0x404ad000, 4768, PROT_NONE)   = 0
old_mmap(0x404ad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x7000) = 0x404ad000
close(4)                                = 0
munmap(0x40016000, 49149)               = 0
open("/etc/host.conf", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(4, "order hosts,bind\nmulti on\n", 4096) = 26
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
open("/etc/hosts", O_RDONLY)            = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=279, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(4, "127.0.0.1\tlocalhost\tlocalhost\n19"..., 4096) = 279
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(3, {sin_family=AF_INET, sin_port=htons(6012), sin_addr=inet_addr("192.168.6.1")}}, 16) = 0
getsockname(3, {sin_family=AF_INET, sin_port=htons(33031), sin_addr=inet_addr("192.168.6.1")}}, [16]) = 0
getpeername(3, {sin_family=AF_INET, sin_port=htons(6012), sin_addr=inet_addr("192.168.6.1")}}, [16]) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
access("/root/.Xauthority", R_OK)       = 0
open("/root/.Xauthority", O_RDONLY)     = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=98, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(4, "\1\0\0\4flip\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 98
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
brk(0x81e8000)                          = 0x81e8000
writev(3, [{"l\0\v\0\0\0\0\0\0\0\0\0", 12}], 1) = 12
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(3, 0xbffff74c, 8)                  = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)

--opJtzjQTFsWo+cga--

---------------------------------------
Received: (at 123690-done) by bugs.debian.org; 17 Mar 2005 09:44:49 +0000
>From matthijs@cacholong.nl Thu Mar 17 01:44:49 2005
Return-path: <matthijs@cacholong.nl>
Received: from smtphost2.nhl.nl [141.252.8.8] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DBrYe-0006xO-00; Thu, 17 Mar 2005 01:44:48 -0800
Received: from [192.168.20.23] (eng5008.engineering.tech.nhl.nl [141.252.171.68])
	by smtphost2.nhl.nl (8.12.10/8.12.10) with ESMTP id j2H9iCu9067862;
	Thu, 17 Mar 2005 10:44:12 +0100 (CET)
	(envelope-from matthijs@cacholong.nl)
Message-ID: <4239516A.2070006@cacholong.nl>
Date: Thu, 17 Mar 2005 10:44:10 +0100
From: Matthijs Mohlmann <matthijs@cacholong.nl>
User-Agent: Debian Thunderbird 1.0 (X11/20050116)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 123690-done@bugs.debian.org
CC: pkg-vim-maintainers@lists.alioth.debian.org
Subject: Current version is not affected
X-Enigmail-Version: 0.90.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enigF170BD2FAA1E1C4489E6A858"
X-NHL-MailScanner-Information: Please contact the ISP for more information
X-NHL-MailScanner: Found to be clean
X-MailScanner-From: matthijs@cacholong.nl
Delivered-To: 123690-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF170BD2FAA1E1C4489E6A858
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Current version in sid and sarge isn't affected by this bug.

I could succesfull do ssh -> su -> vim {existing file, new file}

Matthijs

--------------enigF170BD2FAA1E1C4489E6A858
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCOVFs2n1ROIkXqbARAnL8AKCk6N7ZOHfOntvvsI0qFzGeHYi5YwCghZK0
0y26R5x88ylOyOFOI9SJR3A=
=vliV
-----END PGP SIGNATURE-----

--------------enigF170BD2FAA1E1C4489E6A858--