Subject: 25.2; Emacs always crash when C-x C-s over tramp

From: [email-masked] (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.

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))