From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Date: Tue, 30 Dec 2008 11:48:34 +0100 Message-ID: <87vdt2ndkt.fsf@tux.homenetwork> Reply-To: Thierry Volpiatto , 1741@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230635019 3376 80.91.229.12 (30 Dec 2008 11:03:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 11:03:39 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 12:04:46 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHcOz-0003pt-PF for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 12:04:46 +0100 Original-Received: from localhost ([127.0.0.1]:36782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHcNl-0001We-J4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 06:03:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHcNh-0001WR-F0 for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 06:03:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHcNg-0001WF-QE for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 06:03:25 -0500 Original-Received: from [199.232.76.173] (port=37211 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHcNg-0001WC-N1 for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 06:03:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51142) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LHcNf-0003pb-Ti for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 06:03:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUB3MMX018355; Tue, 30 Dec 2008 03:03:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBUB04RH017279; Tue, 30 Dec 2008 03:00:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Thierry Volpiatto Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Dec 2008 11:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1741 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123063449815920 (code B ref -1); Tue, 30 Dec 2008 11:00:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 10:54:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUAsr2K015914 for ; Tue, 30 Dec 2008 02:54:54 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:48795 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LHcEQ-0005Wk-5a for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 05:53:50 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LHcFM-0002ri-Ku for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 05:54:51 -0500 Original-Received: from mail-bw0-f12.google.com ([209.85.218.12]:36456) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHcFL-0002rM-Ie for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 05:54:48 -0500 Original-Received: by bwz5 with SMTP id 5so11185466bwz.18 for ; Tue, 30 Dec 2008 02:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=Dy0a8IqCFQwXkj7aw5krpbMDm4dkbSTgQJ5q75MKY9o=; b=WVyJzMs/Vq0Zy7yNfGXHTM7ossiaRpIM2nA7P/ceQGUiulqqFjVgaUCChnR0QefLKN kAcOco9bbu+iLpC0FJoA54qpyB7USqZkLbB3XF/1Ehj+uXI4QVG6Bcvrrxaz86n39R2y o+2N9zNmHFfl1cz5WHb3c5gjVIcyWtxU9zRd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=TI6fPXJaxyF6H6Q6oZuxcUAQ6nfVghduZJVT8PK+HFjCvOQa8iCSaFa1labJiRMXn6 DzI/CqTYEq3e8LNUoc8bI7Ow1HX6ihooo1cLFagaIX8w0KizApetNMkZZCVB9Bcn5vOD 621QTXXEYrNW4d8GobELGapRElSSfpoV/0KNE= Original-Received: by 10.103.106.1 with SMTP id i1mr5220097mum.47.1230634482547; Tue, 30 Dec 2008 02:54:42 -0800 (PST) Original-Received: from tux.homenetwork (117.77.197-77.rev.gaoland.net [77.197.77.117]) by mx.google.com with ESMTPS id u9sm31259759muf.4.2008.12.30.02.54.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 02:54:41 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 30 Dec 2008 06:03:25 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23574 gmane.emacs.pretest.bugs:23572 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Hi, i can't register a file with vc/rcs when i am logged as root throught tramp. 1) C-x v i 2) Create RCS dir (y/n) ==> The dir is created. 3) But now ==> _Here the debug output_: ,---- | Debugger entered--Lisp error: (wrong-type-argument stringp nil) | file-exists-p(nil) | vc-insert-file(nil "^[0-9]") | vc-rcs-fetch-master-state("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-rcs-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | apply(vc-rcs-working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-call-backend(RCS working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-default-mode-line-string(RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | apply(vc-default-mode-line-string RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-call-backend(RCS mode-line-string "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-mode-line("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | run-hook-with-args(vc-mode-line "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-resynch-window("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) | vc-resynch-buffer("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) | | [...] | | [G70600 G70601 rev comment file --cl-dolist-temp-- | message "Registering %s... " mapc vc-file-clearprops vc-call-backend | register nil vc-file-setprop | vc-backend "Registering %s... done"] 6] (quote --files--) (quote --backend--) --cl-rest--))) | vc-register(nil) | call-interactively(vc-register nil nil) `---- _And if i want to delete RCS directory from dired_: ,---- | (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) `---- However if i open an emacs root session i can register my file as normal. (It's a long time i have this problem and always forget to send bug - since emacs 22 i think) Thank you. Thierry. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.5) of 2008-12-27 on tux Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=i686 -pipe -O2' 'LDFLAGS=-Wl,-O1'' Important settings: value of $LC_ALL: fr_FR.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: icomplete-mode: t icicle-mode: t delete-selection-mode: t minibuffer-depth-indicate-mode: t auto-image-file-mode: t partial-completion-mode: t display-wireless-mode: t display-battery-mode: t display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t recentf-mode: t savehist-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: $ @ C-x C-s a C-x b C-x v i C-x k C-x k C-x # C-x # f i n i s h C-x C-s C-x # m q q y a C-x v i y C-SPC C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x r s a C-g q C-x C-f g D y C-h e C-SPC C-e C-x r s z C-g a M-! r m SPC - r f SPC R C S g M + w g a M-x r e p o r t - e m a Recent messages: (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) Mark set Quit Loading /home/thierry/.emacs.d/emms/emms-globals-tags.el (source)...done Loading /home/thierry/.emacs.d/emms/emms-favourites-artists.el (source)...done Redisplaying...done Loading /home/thierry/.emacs.d/emms/emms-globals-tags.el (source)...done Loading /home/thierry/.emacs.d/emms/emms-favourites-artists.el (source)...done Computing completion candidates... -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France