From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergey Fukanchik Newsgroups: gmane.emacs.bugs Subject: bug#20762: 24.3; Emacs Desktop does not allow quit emacs when on read-only file system Date: Sun, 7 Jun 2015 02:35:54 -0400 Message-ID: Reply-To: Sergey Fukanchik , 20762-maintonly@debbugs.gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1433699853 2478 80.91.229.3 (7 Jun 2015 17:57:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2015 17:57:33 +0000 (UTC) To: maintonly@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 19:57:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z1eoo-00058L-Q6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 19:57:11 +0200 Original-Received: from localhost ([::1]:54855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1eoo-0008Q0-6C for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 13:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1eok-0008Pt-BP for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 13:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1eoh-0004lG-10 for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 13:57:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1eog-0004lA-Te for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 13:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z1eog-0000py-8f for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Mail-Followup-To: Sergey Fukanchik , 20762-maintonly@debbugs.gnu.org Resent-From: Sergey Fukanchik Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2015 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20762 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by maintonly@debbugs.gnu.org id=M.14336998143201 (code M ref -1); Sun, 07 Jun 2015 17:57:01 +0000 Original-Received: (at maintonly) by debbugs.gnu.org; 7 Jun 2015 17:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:44230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1eoW-0000pX-N6 for submit@debbugs.gnu.org; Sun, 07 Jun 2015 13:56:53 -0400 Original-Received: from mail-yk0-f178.google.com ([209.85.160.178]:35532) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1UBc-0007Hd-0L for maintonly@debbugs.gnu.org; Sun, 07 Jun 2015 02:36:01 -0400 Original-Received: by yken206 with SMTP id n206so40136995yke.2 for ; Sat, 06 Jun 2015 23:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=a16rMN3OU6QxO5iWVyMqy69QUfTzdtAgmQDO50V2dcE=; b=DHG3BcmVX0+f3s1J8T14EJacui8JfYb00Nhm5JnSCe9PXYsB0eBGUnmay/A0S4GJMX zf5CRY7AsG+/5IiWugXEnWD5luOHBt8qAE6Zi4R9ep9XXTaHerVpubGEZUU2VzBBdBXI dNaUA35A+vc8CmFHqQfIsSHQF9sgSLF2LaTQ48FUxfmh+avQn0hjeuk3In3dPdlE7fmd /MHKS1HFUe/cwtmUxkSkiNzup3nDq19mWF+Qx18vX6qzwYgTQsgf9VTRHEqy1/XiS5e6 gQHcEf1ULiaWGxIqvyAhCud2yfPQ++FZSaUUiAT/4qoSmQEeWdDf3zP3pywvCO3Nvfkr gYUg== X-Received: by 10.129.105.213 with SMTP id e204mr9423242ywc.97.1433658954288; Sat, 06 Jun 2015 23:35:54 -0700 (PDT) Original-Received: by 10.129.103.6 with HTTP; Sat, 6 Jun 2015 23:35:54 -0700 (PDT) X-Mailman-Approved-At: Sun, 07 Jun 2015 13:56:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103699 Archived-At: Package: emacs Version: 24.3 This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 1. enable (desktop-save-mode 1) 2. do some activity: create modified buffers, open some files etc 3. remount the FS where desktop saved into R/O mode mount -o remount,ro / 4. Try exiting emacs C-x C-c 5. emacs will ask if you want to save files etc and in the end - a message in minibuffer saying desktop.lock could not be deleted (see below) Error while saving the desktop. Ignore? y desktop-release-lock: Removing old name: read-only file system, /home/fuxx/.emacs.desktop.lock 6. And emacs does not exit. Repeating C-x C-c does not help. Closing via window manager does not help. 7. Additionally it is not possible to report bug from the emacs itself 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'. For information about debugging Emacs, please read the file /usr/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.2 LTS Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2= 4.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-l= isp:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk3' '--with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2'' Important settings: value of $LC_MONETARY: ru_RU.UTF-8 value of $LC_NUMERIC: ru_RU.UTF-8 value of $LC_TIME: ru_RU.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Text Minor modes in effect: display-time-mode: t recentf-mode: t desktop-save-mode: t global-linum-mode: t linum-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: M-/ ) M-b M-b M-b M-b M-b M-f C-f C-f C - =D1=83 C-e C-x C-s C-x C-e C-x k C-a C-e C-a =D1=84 =D1=8B =D0=B2 C-=D1=84 C-=D1=83 C-=D1=84 C-=D1=83 C-=D1=84 C-=D1= =83 C-=D1=84 C-=D1=87 C-=D1=8B C-=D1=82 C-=D1=82 C-n C-n C-n . SPC =D0=97 =D0=90 =D0=9F =D0=B7 =D0=B0 =D0= =BF =D0=B0 =D0=B4 SPC =D0=BF =D0=BE =D0=B3 =D1=80 =D1=8F =D0=B7 SPC =D0=B2 SPC =D1=82 =D0=BE = =D1=82 =D0=B0 =D0=BB =D0=B8 =D1=82 =D0=B0 =D1=80 =D0=B8 =D0=B7 =D0=BC =D0= =B5 =D1=81 =D0=B0 =D0=BC SPC C-=D1=83 C-=D1=82 C-=D1=82 C-S-x C-S-s A S C-S-x C-S-s M-> C-x C-s 1 ) 0 ) SPC =D0=A1 =D0=A0 =D0=B5 =D0=BA =D0=BB =D0=B0 =D0=BC =D0=B0 SPC =D0=BD =D0=B0 =D1=83 = =D1=87 =D0=BD =D0=BE =D0=B3 =D0=BE =D1=80 =D0=B0 =D1=86 =D0=B8 =D0=BE =D0=BD =D0=B0 =D0=BB =D1=8C =D0=BD =D0= =B0 =D1=83 =D0=BD =D0=BE =D0=B3 =D0=BE SPC =D0=BD =D0=B0 =D1=83 =D1=87 =D0=BD =D0=BE =D0=B3 =D0=BE SPC =D0=BE =D0=B1 = =D1=80 =D0=B0 =D0=B7 =D0=B0 SPC =D0=B6 =D0=B8 =D0=B7 =D0=BD =D0=B8 SPC - SPC =D0=BE =D0=BA . SPC =D0=BD =D0=BE SPC =D1=85 =D0=BE =D1=82 =D0=B5 =D0= =BB =D0=BE =D1=81 =D1=8C SPC =D0=B1 =D1=8B SPC =D1=80 =D0=B0 =D1=86 =D0=B8 =D0=BE =D0=BD =D0=BE =D0=BD = =D0=B0 =D0=BB =D1=8C =D0=BD =D0=BE =D0=B3 =D0=BE SPC =D0=BE =D0=B1 =D1=80 =D0=B0 =D0=B7 =D0=B0 SPC =D0=B6 =D0=B8 =D0=B7 =D0= =BD =D0=B8 C-x C-s C-x C-c n y y C-x C-c n y y a s d C-x C-c n y y y y C-x C-c n n n n n n n a s d M-x r e p o r t - e m a c s - b u g Recent messages: Saving places: can't write /home/fuxx/.emacs-places Error while saving the desktop. Ignore? (y or n) y desktop-release-lock: Removing old name: read-only file system, /home/fuxx/.emacs.desktop.lock byte-code: Opening output file: read-only file system, /tmp/buffer-content-160453C- Modified buffers exist; exit anyway? y Saving file /home/fuxx/.recentf... File .recentf is write-protected; try to save anyway? n Buffer .recentf modified; kill anyway? y Saving places: can't write /home/fuxx/.emacs-places Error while saving the desktop. Ignore? y desktop-release-lock: Removing old name: read-only file system, /home/fuxx/.emacs.desktop.lock Load-path shadows: /usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/24.3/site-lisp/emacspeak/lisp/tetris hides /usr/share/emacs/24.3/lisp/play/tetris Features: (shadow sort gnus-util mail-extr emacsbug message cl-macs gv format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils diff pp warnings debug two-column iso-transl apropos dabbrev misearch multi-isearch dired help-mode python rx comint ansi-color cc-langs cl cl-lib cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs git log-edit ring pcvs-util add-log ewoc time recentf tree-widget wid-edit easymenu saveplace desktop linum edmacro kmacro paren emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 Sergey