GNU bug report logs - #27731
25.2; Emacs always crash when C-x C-s over tramp

Previous Next

Package: emacs;

Reported by: yu.zhao <at> joudou.com (Yu Zhao 赵宇)

Date: Mon, 17 Jul 2017 06:05:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 25.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27731 in the body.
You can then email your comments to 27731 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27731; Package emacs. (Mon, 17 Jul 2017 06:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to yu.zhao <at> joudou.com (Yu Zhao 赵宇):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 17 Jul 2017 06:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: yu.zhao <at> joudou.com (Yu Zhao 赵宇)
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; Emacs always crash when C-x C-s over tramp
Date: Mon, 17 Jul 2017 12:26:31 +0800
Everytime when I press C-x C-s to save-file over tramp(I am certain
about this), my Emacs crashes.

Or may be it crashes sometimes I save-file locally(not sure about this)?

I tramp to a remote centos server over ssh, it always works very well before that.

I tried to tramp using Emacs -Q and it works(not crash) one time.

I've just upgraded my mac to 10.12 and my Emacs to 25.2 from 25.1,
so I am not sure whether the mac version or the emacs version is the
actual cause of the crash.



In GNU Emacs 25.2.1 (x86_64-apple-darwin16.6.0, NS appkit-1504.83 Version 10.12.5 (Build 16F73))
 of 2017-07-15 built on localhost
Windowing system distributor 'Apple', version 10.3.1504
Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs/25.2/share/info/emacs
 --prefix=/usr/local/Cellar/emacs/25.2 --without-x --with-xml2
 --with-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg
 --without-pop --with-ns --disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LANG: zh_CN.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  rainbow-delimiters-mode: t
  aggressive-indent-mode: t
  elisp-slime-nav-mode: t
  linum-mode: t
  hes-mode: t
  keyfreq-autosave-mode: t
  keyfreq-mode: t
  editorconfig-mode: t
  global-smartscan-mode: t
  smartscan-mode: t
  global-whitespace-cleanup-mode: t
  whitespace-cleanup-mode: t
  fic-mode: t
  eval-sexp-fu-flash-mode: t
  paredit-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  helm-descbinds-mode: t
  helm-mode: t
  async-bytecomp-package-mode: t
  guide-key-mode: t
  global-subword-mode: t
  subword-mode: t
  winner-mode: t
  savehist-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  global-auto-revert-mode: t
  save-place-mode: t
  show-paren-mode: t
  global-hl-line-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  encourage-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
Loading /Users/yuzhao/.emacs.d/.mc-lists.el (source)...done
.emacs.d/elpa/eval-sexp-fu/eval-sexp-fu.el: ‘labels’ is an obsolete macro (as of 24.3); use ‘cl-labels’ instead.
.emacs.d/elpa/eval-sexp-fu/eval-sexp-fu.el: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’. [2 times]
ad-handle-definition: ‘er/expand-region’ got redefined
.emacs.d/elpa/smart-forward-20140430.13/smart-forward.el: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’. [4 times]
Loading /Users/yuzhao/.emacs.d/site-lisp/chinese-wubi-single-rules.el (source)...done
.emacs.d/site-lisp/reddit.el: ‘labels’ is an obsolete macro (as of 24.3); use ‘cl-labels’ instead.
Loading font-lock...done
For information about GNU Emacs and the GNU system, type C-h C-a.
.emacs.d/elpa/helm-20160929.1313/helm-elisp.el: ‘dont-compile’ is an obsolete macro (as of 24.4).

Load-path shadows:
/Users/yuzhao/.emacs.d/site-lisp/el-get-install hides /Users/yuzhao/.emacs.d/elpa/el-get-20161022.614/el-get-install
/Users/yuzhao/.emacs.d/site-lisp/jump/inflections hides /Users/yuzhao/.emacs.d/elpa/inflections-20161126.1727/inflections
/Users/yuzhao/.emacs.d/site-lisp/auto-complete-config hides /Users/yuzhao/.emacs.d/elpa/auto-complete-20160827.649/auto-complete-config
/Users/yuzhao/.emacs.d/site-lisp/move-text hides /Users/yuzhao/.emacs.d/elpa/move-text-20160930.1907/move-text
/Users/yuzhao/.emacs.d/site-lisp/highlight hides /Users/yuzhao/.emacs.d/elpa/highlight-20160617.617/highlight
/Users/yuzhao/.emacs.d/site-lisp/popup/popup hides /Users/yuzhao/.emacs.d/elpa/popup-20160709.729/popup
/Users/yuzhao/.emacs.d/site-lisp/markdown-mode hides /Users/yuzhao/.emacs.d/elpa/markdown-mode-20160928.932/markdown-mode
/Users/yuzhao/.emacs.d/site-lisp/spinner/spinner hides /Users/yuzhao/.emacs.d/elpa/spinner-1.7.1/spinner
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-xact hides /usr/local/share/emacs/site-lisp/ledger/ledger-xact
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-texi hides /usr/local/share/emacs/site-lisp/ledger/ledger-texi
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-test hides /usr/local/share/emacs/site-lisp/ledger/ledger-test
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-state hides /usr/local/share/emacs/site-lisp/ledger/ledger-state
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-sort hides /usr/local/share/emacs/site-lisp/ledger/ledger-sort
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-schedule hides /usr/local/share/emacs/site-lisp/ledger/ledger-schedule
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-report hides /usr/local/share/emacs/site-lisp/ledger/ledger-report
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-regex hides /usr/local/share/emacs/site-lisp/ledger/ledger-regex
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-reconcile hides /usr/local/share/emacs/site-lisp/ledger/ledger-reconcile
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-post hides /usr/local/share/emacs/site-lisp/ledger/ledger-post
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-occur hides /usr/local/share/emacs/site-lisp/ledger/ledger-occur
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-navigate hides /usr/local/share/emacs/site-lisp/ledger/ledger-navigate
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-mode hides /usr/local/share/emacs/site-lisp/ledger/ledger-mode
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-init hides /usr/local/share/emacs/site-lisp/ledger/ledger-init
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-fonts hides /usr/local/share/emacs/site-lisp/ledger/ledger-fonts
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-fontify hides /usr/local/share/emacs/site-lisp/ledger/ledger-fontify
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-exec hides /usr/local/share/emacs/site-lisp/ledger/ledger-exec
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-context hides /usr/local/share/emacs/site-lisp/ledger/ledger-context
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-complete hides /usr/local/share/emacs/site-lisp/ledger/ledger-complete
/Users/yuzhao/.emacs.d/elpa/ledger-mode-20160716.1259/ledger-commodities hides /usr/local/share/emacs/site-lisp/ledger/ledger-commodities

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader helm-command
helm-elisp helm-eval rainbow-delimiters aggressive-indent
elisp-slime-nav linum re-builder cmal-randomize bookmark+ bookmark+-key
bookmark+-1 font-lock+ bookmark+-bmu bookmark+-lit reddit tree-mode
setup-keymaps move-text wolfram-mode smie swbuff-x swbuff blog-admin
blog-admin-backend-nikola blog-admin-backend-org-page
blog-admin-backend-hexo blog-admin-backend f ox-latex ox-icalendar
ox-html ox-ascii ox-publish ox org-element names edebug my-utils server
fill-column-indicator visual-regexp highlight-escape-sequences
mode-mappings rainbow-mode color setup-markdown-mode smartparens-config
smartparens-html smartparens keyfreq setup-mail midnight mailalias
sendmail mail-utils setup-magit setup-gui setup-dired setup-diminish
diminish setup-editing chinese-wubi quail editorconfig markdown-mode
smartscan whitespace-cleanup-mode whitespace fic-mode smart-forward
expand-region text-mode-expansions the-org-mode-expansions
html-mode-expansions clojure-mode-expansions er-basic-expansions
expand-region-core expand-region-custom multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines setup-locale setup-sdcv setup-fonts setup-elisp
setup-scheme setup-cider adoc-mode tempo markup-faces cider-eval-sexp-fu
eval-sexp-fu highlight cider-classpath cider-macroexpansion
cider-apropos apropos setup-python jedi-direx direx jedi jedi-core
python-environment epc ctable concurrent deferred auto-complete popup
setup-clojure-mode clojure-mode-extra-font-locking align-cljlet
clj-refactor pkg-info url-http tls gnutls url-auth mail-parse rfc2231
rfc2047 rfc2045 ietf-drums url-gw lisp-mnt epl hydra lv inflections
sgml-mode edn peg cider cider-repl-history pulse cider-debug
cider-browse-ns cider-inspector cider-mode cider-interaction etags xref
project arc-mode archive-mode cider-repl cider-resolve cider-test
cider-overlays cider-stacktrace cider-doc org-table setup-org org-alert
org-agenda alert log4e notifications dbus gntp org-clock org org-macro
org-footnote org-pcomplete org-list org-faces org-entities noutline
outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs cider-grimoire
cider-popup cider-eldoc cider-client cider-common cider-util
nrepl-client queue nrepl-dict cider-compat ewoc spinner clojure-mode
align imenu multiple-cursors-core rect paredit clj-refactor-compat
setup-company setup-paredit setup-yasnippet yasnippet setup-helm
helm-github-stars subr-x json map helm-emmet emmet-mode helm-descbinds
helm-mode helm-files rx image-dired dired-x dired-aux ffap thingatpt
helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive
helm-info bookmark pp helm-locate helm-grep helm-regexp helm-external
helm-net browse-url xml url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util url-parse url-vars mailcap
helm-utils compile helm-help helm-types helm-config helm-easymenu
async-bytecomp async helm derived edmacro kmacro helm-source
eieio-compat helm-multi-match helm-lib dired guide-key s popwin dash
face-remap cl exec-path-from-shell sane-defaults cap-words superword
subword winner savehist tramp-cache tramp-sh tramp tramp-compat
auth-source cl-seq eieio gnus-util mm-util help-fns mail-prsvr
password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color
ring format-spec recentf tree-widget wid-edit autorevert filenotify
setup-package saveplace user-settings appearance paren hl-line undo-tree
diff beacon cus-start cus-load encourage-mode easy-mmode eieio-core
cl-macs kotl-loaddefs advice finder-inf info package epg-config seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib time-date mule-util china-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win
ucs-normalize term/common-win 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 kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 763817 117361)
 (symbols 48 61650 0)
 (miscs 40 839 3317)
 (strings 32 163418 129873)
 (string-bytes 1 4889256)
 (vectors 16 84366)
 (vector-slots 8 1285395 30962)
 (floats 8 1301 455)
 (intervals 56 1313 77)
 (buffers 976 696))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27731; Package emacs. (Mon, 17 Jul 2017 14:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 27731 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: yu.zhao <at> joudou.com (Yu Zhao 赵宇)
Cc: 27731 <at> debbugs.gnu.org
Subject: Re: bug#27731: 25.2; Emacs always crash when C-x C-s over tramp
Date: Mon, 17 Jul 2017 17:14:30 +0300
> From: yu.zhao <at> joudou.com (Yu Zhao 赵宇)
> Date: Mon, 17 Jul 2017 12:26:31 +0800
> 
> Everytime when I press C-x C-s to save-file over tramp(I am certain
> about this), my Emacs crashes.

Please start Emacs under a debugger (preferably GDB), and when it
crashes, produce a C-level backtrace and post it here.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27731; Package emacs. (Mon, 17 Jul 2017 15:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 27731 <at> debbugs.gnu.org (full text, mbox):

From: Yu Zhao <yu.zhao <at> joudou.com>
To: 27731 <at> debbugs.gnu.org
Subject: forward to bug #27731
Date: Mon, 17 Jul 2017 14:09:11 +0800
[Message part 1 (text/plain, inline)]
I changed to https://emacsformacosx.com/emacs-builds/Emacs-25.2-universal.dmg <https://emacsformacosx.com/emacs-builds/Emacs-25.2-universal.dmg> and it will not crash when I tramp and save-file.

I doubt that is because one of the "--with-???" options I used in the brew install emacs, which is different from the prebuilt version of emacsformacosx.com.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27731; Package emacs. (Tue, 18 Jul 2017 14:31:01 GMT) Full text and rfc822 format available.

Message #14 received at 27731 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yu Zhao <yu.zhao <at> joudou.com>
Cc: 27731 <at> debbugs.gnu.org
Subject: Re: bug#27731: 25.2; Emacs always crash when C-x C-s over tramp
Date: Tue, 18 Jul 2017 17:30:37 +0300
[Please use Reply-all, so that a copy of the message goes to the bug
tracker.]

> From: Yu Zhao <yu.zhao <at> joudou.com>
> Date: Tue, 18 Jul 2017 12:04:08 +0800
> 
> Do I need to follow the instructions in the DEBUG file, and recompile emacs with CFLAGS="-O0 -g3" and
> download a copy of the source code of GNU Emacs and start gdb in the path of .gdbinit?

For starters, it's enough to run the Emacs binary that you have under
GDB without rebuilding.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27731; Package emacs. (Mon, 11 Dec 2017 12:21:01 GMT) Full text and rfc822 format available.

Message #17 received at 27731 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Yu Zhao <yu.zhao <at> joudou.com>
Cc: 27731 <at> debbugs.gnu.org
Subject: Re: bug#27731: forward to bug #27731
Date: Mon, 11 Dec 2017 13:19:48 +0100
Yu Zhao <yu.zhao <at> joudou.com> writes:

> I changed to
> https://emacsformacosx.com/emacs-builds/Emacs-25.2-universal.dmg and
> it will not crash when I tramp and save-file.

I'm closing this bug, since there are no more evidences for months. Feel
free to reopen if there's something new.

Best regards, Michael.




Added tag(s) unreproducible. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Mon, 11 Dec 2017 12:22:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27731 <at> debbugs.gnu.org and yu.zhao <at> joudou.com (Yu Zhao 赵宇) Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Mon, 11 Dec 2017 12:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Jan 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.