From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 30 14:42:42 2017 Received: (at submit) by debbugs.gnu.org; 30 Sep 2017 18:42:42 +0000 Received: from localhost ([127.0.0.1]:41432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyMin-0004pv-M4 for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyMim-0004pj-K1 for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyMif-0001Hl-Rs for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dyMif-0001Hb-Oo for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyMie-0004wi-9A for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:42:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyMia-0001DX-Rr for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:42:32 -0400 Received: from omr-m008e.mx.aol.com ([204.29.186.7]:57602) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dyMia-0001Ay-Mi for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:42:28 -0400 Received: from mtaout-mcd02.mx.aol.com (mtaout-mcd02.mx.aol.com [172.26.223.206]) by omr-m008e.mx.aol.com (Outbound Mail Relay) with ESMTP id 52CD7380007F for ; Sat, 30 Sep 2017 14:42:25 -0400 (EDT) Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net [73.16.70.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mtaout-mcd02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id BD22D38000089; Sat, 30 Sep 2017 14:42:24 -0400 (EDT) From: Live System User To: bug-gnu-emacs@gnu.org Subject: 25.2; Problem with find-file-noselect Date: Sat, 30 Sep 2017 14:42:14 -0400 Message-ID: <87vak0m3jt.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1506796945; bh=KLtnv0Esj48Jq51Xn7NL+ROrGpQXsaPfv1lViLnLHcc=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=lNvWKaNiM6up6CE6MpFlDfQEKotae111p8KnXsZphblHelr4IHTVAkUnMZqjNfUXf BIGRflYEVGWV+EBQVEXRWCDQWOPQV0oTb/AOE6gJylgzC9LCK+gA/qi//exuNu3ieo HKtmHPLxMpS6Vpp5aSTM+9nhx2Mx9RE7iVyvpJ0E= x-aol-sid: 3039ac1adfce59cfe5901cb0 X-AOL-IP: 73.16.70.190 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit Cc: nyc4bos@aol.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Hi, I experienced a problem with `find-file-noselect`. The partion where my /home directory is mounted became unrelatedly readonly. When I tried to visit a file, readonly "C-x C-r" `(find-file-read-only),` I got the following *Backtrace* (see below). ` Executing `(find-file-noselect)` and `(file-truemame)` interactively yeilds the expected reults: M-: (find-file-noselect "~/dt.el" nil nil t) # [I don't get the "(wrong-type-argument arrayp nil)" error as in the *Backtrace] M-: (file-truename "~/dt.el") "/home/liveuser/dt.el" I realize that this is an unusal circumstance but peraps there is some way that Emacs could be able to visit a file in readonly-mode when the underlying filesystem has become readonly. Thanks. Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) find-file-noselect-1(#> "~/dt.el" nil nil "~/dt.el" (6637 64770)) find-file-noselect("~/dt.el" nil nil t) find-file("~/dt.el" t) find-file--read-only(find-file "~/dt.el" t) find-file-read-only("~/dt.el" t) funcall-interactively(find-file-read-only "~/dt.el" t) call-interactively(find-file-read-only nil nil) command-execute(find-file-read-only) In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.10) of 2017-05-02 built on buildvm-17.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11803000 Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. C-h C-g is undefined Quit Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 87122 4895) (symbols 48 19809 0) (miscs 40 46 121) (strings 32 14396 3615) (string-bytes 1 411943) (vectors 16 12387) (vector-slots 8 435119 4250) (floats 8 168 181) (intervals 56 257 0) (buffers 976 17) (heap 1024 23593 1100)) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 08 15:19:24 2017 Received: (at 28655) by debbugs.gnu.org; 8 Dec 2017 20:19:24 +0000 Received: from localhost ([127.0.0.1]:52915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNP7D-0005kJ-Qh for submit@debbugs.gnu.org; Fri, 08 Dec 2017 15:19:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNP7B-0005k6-U6 for 28655@debbugs.gnu.org; Fri, 08 Dec 2017 15:19:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNP76-0001ih-19 for 28655@debbugs.gnu.org; Fri, 08 Dec 2017 15:19:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNP70-0001h6-Ip; Fri, 08 Dec 2017 15:19:10 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eNP70-00067l-4R; Fri, 08 Dec 2017 15:19:10 -0500 From: Glenn Morris To: Live System User Subject: Re: bug#28655: 25.2; Problem with find-file-noselect References: <87vak0m3jt.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> X-Spook: Marxist NASA Armani Mahmoud Ahmadinejad csim rs9512c X-Ran: %pyLm9E#5'N#J2+TQtT67`1V4K/wPY&*u)7L}[!H%:Clv,2/r\dEXLEzl]6_nC7V)na#cr X-Hue: yellow X-Attribution: GM Date: Fri, 08 Dec 2017 15:19:10 -0500 In-Reply-To: <87vak0m3jt.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> (Live System User's message of "Sat, 30 Sep 2017 14:42:14 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28655 Cc: 28655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Live System User wrote: > The partion where my /home directory is mounted became > unrelatedly readonly. > > When I tried to visit a file, readonly "C-x C-r" > `(find-file-read-only),` I got the following > *Backtrace* (see below). [...] > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > file-truename(nil) > find-file-noselect-1(#> "~/dt.el" nil nil "~/dt.el" (6637 64770)) > find-file-noselect("~/dt.el" nil nil t) > find-file("~/dt.el" t) > find-file--read-only(find-file "~/dt.el" t) > find-file-read-only("~/dt.el" t) > funcall-interactively(find-file-read-only "~/dt.el" t) > call-interactively(find-file-read-only nil nil) > command-execute(find-file-read-only) I can't reproduce this. I tried with: mount -t tmpfs -o size=10m tmpfs /mnt/ HOME=/mnt emacs-25.2 -Q & ... mount -r -o remount /mnt/ and C-x C-r continues to work fine. The above backtrace isn't detailed enough to debug this issue. I can only guess that buffer-file-name somehow became nil. How, I have no idea. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 24 00:21:58 2017 Received: (at 28655) by debbugs.gnu.org; 24 Dec 2017 05:21:58 +0000 Received: from localhost ([127.0.0.1]:49852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSyjW-0008Vc-5N for submit@debbugs.gnu.org; Sun, 24 Dec 2017 00:21:58 -0500 Received: from omr-a020e.mx.aol.com ([204.29.186.66]:42511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSyjU-0008VP-PH for 28655@debbugs.gnu.org; Sun, 24 Dec 2017 00:21:57 -0500 Received: from mtaout-mbb01.mx.aol.com (mtaout-mbb01.mx.aol.com [172.26.254.109]) by omr-a020e.mx.aol.com (Outbound Mail Relay) with ESMTP id 643103800088; Sun, 24 Dec 2017 00:21:51 -0500 (EST) Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net [73.16.70.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mtaout-mbb01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id ED01B3800008A; Sun, 24 Dec 2017 00:21:50 -0500 (EST) From: Live System User To: Glenn Morris Subject: Re: bug#28655: 25.2; Problem with find-file-noselect In-Reply-To: (Glenn Morris's message of "Fri, 08 Dec 2017 15:19:10 -0500") References: <87vak0m3jt.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Date: Sun, 24 Dec 2017 00:21:48 -0500 Message-ID: <87shc0itub.fsf@aol.com> MIME-Version: 1.0 Content-Type: text/plain x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1514092911; bh=y3F2a5sUshlhFoe+UxZNov3Ya4RxjDEgpBwvf3v9u24=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=egSCVJgjsxyGL45ZV8y/unbuPqj/mW6oTEOXIaEq/UERu7XBFrvhpKTYt4jmQ4a+5 NVrX6FKqrG5jc8BqNbXdN98troFkcrgmAAG1tSBGmyUcSPB0XrA+U8Ez8n2UrLHP6I qY6/WE+6qNEFDh4S3WH+HsVPzP/eyuIQPxv8+jLc= x-aol-sid: 3039ac1afe6d5a3f396e03ed X-AOL-IP: 73.16.70.190 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28655 Cc: 28655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Glenn Morris writes: > Live System User wrote: > >> The partion where my /home directory is mounted became >> unrelatedly readonly. >> >> When I tried to visit a file, readonly "C-x C-r" >> `(find-file-read-only),` I got the following >> *Backtrace* (see below). > [...] >> Debugger entered--Lisp error: (wrong-type-argument arrayp nil) >> file-truename(nil) >> find-file-noselect-1(#> "~/dt.el" nil nil "~/dt.el" (6637 64770)) >> find-file-noselect("~/dt.el" nil nil t) >> find-file("~/dt.el" t) >> find-file--read-only(find-file "~/dt.el" t) >> find-file-read-only("~/dt.el" t) >> funcall-interactively(find-file-read-only "~/dt.el" t) >> call-interactively(find-file-read-only nil nil) >> command-execute(find-file-read-only) > > I can't reproduce this. I tried with: > > mount -t tmpfs -o size=10m tmpfs /mnt/ > HOME=/mnt emacs-25.2 -Q & > ... > mount -r -o remount /mnt/ > > and C-x C-r continues to work fine. > > The above backtrace isn't detailed enough to debug this issue. > I can only guess that buffer-file-name somehow became nil. > How, I have no idea. As the process is now gone, no additional info is no longer available, I guess this bug report can be closed. Thanks for looking into this. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 27 13:04:56 2017 Received: (at control) by debbugs.gnu.org; 27 Dec 2017 18:04:57 +0000 Received: from localhost ([127.0.0.1]:54122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUG4W-00042t-LR for submit@debbugs.gnu.org; Wed, 27 Dec 2017 13:04:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUG4U-00042f-TY for control@debbugs.gnu.org; Wed, 27 Dec 2017 13:04:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUG4O-0007fn-Ov for control@debbugs.gnu.org; Wed, 27 Dec 2017 13:04:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUG4O-0007fJ-E0 for control@debbugs.gnu.org; Wed, 27 Dec 2017 13:04:48 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eUG4N-00068F-GX for control@debbugs.gnu.org; Wed, 27 Dec 2017 13:04:48 -0500 Subject: control message for bug 28655 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 27 Dec 2017 13:04:47 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 28655 + wontfix close 28655 From unknown Fri Sep 12 16:03:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator