Subject: bug#37557: 27.0.50; Tramp consistently causes Emacs to crash when quickly scrolling remote file

From: Shant Sukljian <[email-masked]>
Date: Sun, 29 Sep 2019 16:25:44 -0700

Whenever I scroll using the trackpad in a remote file, Emacs consistently crashes. (Also, other things crash Emacs in remote files, but this is the most common one I've come across)

I have tried Emacs v27 and v26.3 and have seen no difference. I've cleaned up my entire init file and left only tramp in there. Here is what it looks like

```
;; Initialize Package Archives

(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ("melpa" . "http://melpa.org/packages/")))

(package-initialize)

;; Install Straight & Use-Package

(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

(straight-use-package 'use-package)

;; Install & Configure tramp

(use-package tramp
  :straight t
  :config
  (setq
   tramp-default-host "ss_analytics"
   tramp-default-method "ssh"
   tramp-ssh-controlmaster-options ""))
```

To recreate follow the following steps:

** Place the above in init.el
** Launch Emacs
** Find and open remote sql file that contains ~2,000 lines
** Rapidly scroll up and down with a trackpad 

In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
of 2019-09-14 built on Shants-MacBook-Pro.local
Repository revision: 52172d234015776bcc595c731477b98fa2949e50
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14.6

Recent messages:
Tramp: Sending command ‘exec ssh    -e none ss_jyve_analytics’
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on ‘ss_jyve_analytics’
Tramp: Opening connection for ss_jyve_analytics using ssh...done
No projects needed to be removed.
Loading /Users/shant/.config/emacs/recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /Users/shant/.config/emacs/.cache/company-statistics-cache.el (source)...done
Turning on magit-auto-revert-mode...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
'configure --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS PDUMPER GMP

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

Major mode: Dashboard

Minor modes in effect:
  company-box-mode: t
  doom-modeline-mode: t
  show-smartparens-global-mode: t
  smartparens-global-mode: t
  global-highlight-parentheses-mode: t
  highlight-parentheses-mode: t
  ivy-prescient-mode: t
  prescient-persist-mode: t
  treemacs-icons-dired-mode: t
  treemacs-git-mode: deferred
  treemacs-fringe-indicator-mode: t
  global-magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  recentf-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  counsel-projectile-mode: t
  projectile-mode: t
  company-flx-mode: t
  company-statistics-mode: t
  global-company-mode: t
  company-mode: t
  ivy-mode: t
  override-global-mode: t
  shell-dirtrack-mode: t
  save-place-mode: t
  show-paren-mode: t
  display-battery-mode: t
  delete-selection-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-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
  buffer-read-only: t
  size-indication-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
~/.config/emacs/elpa/emacs-libvterm/vterm hides /Users/shant/.config/emacs/straight/build/vterm/vterm
/Users/shant/.config/emacs/straight/build/all-the-icons/all-the-icons-faces hides /Users/shant/.config/emacs/elpa/all-the-icons-20190320.1809/all-the-icons-faces
/Users/shant/.config/emacs/straight/build/all-the-icons/all-the-icons hides /Users/shant/.config/emacs/elpa/all-the-icons-20190320.1809/all-the-icons
/Users/shant/.config/emacs/straight/build/all-the-icons/all-the-icons-autoloads hides /Users/shant/.config/emacs/elpa/all-the-icons-20190320.1809/all-the-icons-autoloads
/Users/shant/.config/emacs/straight/build/memoize/memoize-autoloads hides /Users/shant/.config/emacs/elpa/memoize-20190915.37/memoize-autoloads
/Users/shant/.config/emacs/straight/build/memoize/memoize hides /Users/shant/.config/emacs/elpa/memoize-20190915.37/memoize
/Users/shant/.config/emacs/straight/build/spacemacs-theme/spacemacs-common hides /Users/shant/.config/emacs/elpa/spacemacs-theme-20190820.816/spacemacs-common
/Users/shant/.config/emacs/straight/build/spacemacs-theme/spacemacs-theme-pkg hides /Users/shant/.config/emacs/elpa/spacemacs-theme-20190820.816/spacemacs-theme-pkg
/Users/shant/.config/emacs/straight/build/spacemacs-theme/spacemacs-dark-theme hides /Users/shant/.config/emacs/elpa/spacemacs-theme-20190820.816/spacemacs-dark-theme
/Users/shant/.config/emacs/straight/build/spacemacs-theme/spacemacs-light-theme hides /Users/shant/.config/emacs/elpa/spacemacs-theme-20190820.816/spacemacs-light-theme
/Users/shant/.config/emacs/straight/build/spacemacs-theme/spacemacs-theme-autoloads hides /Users/shant/.config/emacs/elpa/spacemacs-theme-20190820.816/spacemacs-theme-autoloads
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-core-utils hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-core-utils
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-faces hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-faces
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-themes hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-themes
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-icons hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-icons
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-rendering hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-rendering
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-dom hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-dom
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-tag-follow-mode hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-tag-follow-mode
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-mode hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-mode
/Users/shant/.config/emacs/straight/build/treemacs/treemacs hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-fringe-indicator hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-fringe-indicator
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-visuals hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-visuals
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-interface hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-interface
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-bookmarks hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-bookmarks
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-compatibility hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-compatibility
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-customization hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-customization
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-macros hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-macros
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-persistence hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-persistence
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-extensions hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-extensions
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-filewatch-mode hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-filewatch-mode
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-workspaces hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-workspaces
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-mouse-interface hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-mouse-interface
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-follow-mode hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-follow-mode
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-tags hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-tags
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-autoloads hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-autoloads
/Users/shant/.config/emacs/straight/build/treemacs/treemacs-async hides /Users/shant/.config/emacs/elpa/treemacs-20190916.913/treemacs-async
/Users/shant/.config/emacs/straight/build/ht/ht hides /Users/shant/.config/emacs/elpa/ht-20190830.910/ht
/Users/shant/.config/emacs/straight/build/ht/ht-autoloads hides /Users/shant/.config/emacs/elpa/ht-20190830.910/ht-autoloads
/Users/shant/.config/emacs/straight/build/hydra/hydra-examples hides /Users/shant/.config/emacs/elpa/hydra-20190821.939/hydra-examples
/Users/shant/.config/emacs/straight/build/hydra/hydra-ox hides /Users/shant/.config/emacs/elpa/hydra-20190821.939/hydra-ox
/Users/shant/.config/emacs/straight/build/hydra/hydra hides /Users/shant/.config/emacs/elpa/hydra-20190821.939/hydra
/Users/shant/.config/emacs/straight/build/hydra/hydra-autoloads hides /Users/shant/.config/emacs/elpa/hydra-20190821.939/hydra-autoloads
/Users/shant/.config/emacs/straight/build/lv/lv-autoloads hides /Users/shant/.config/emacs/elpa/lv-20190821.947/lv-autoloads
/Users/shant/.config/emacs/straight/build/lv/lv hides /Users/shant/.config/emacs/elpa/lv-20190821.947/lv
/Users/shant/.config/emacs/straight/build/pfuture/pfuture hides /Users/shant/.config/emacs/elpa/pfuture-20190505.1006/pfuture
/Users/shant/.config/emacs/straight/build/pfuture/pfuture-autoloads hides /Users/shant/.config/emacs/elpa/pfuture-20190505.1006/pfuture-autoloads
/Users/shant/.config/emacs/straight/build/ace-window/ace-window-autoloads hides /Users/shant/.config/emacs/elpa/ace-window-20190708.933/ace-window-autoloads
/Users/shant/.config/emacs/straight/build/ace-window/ace-window hides /Users/shant/.config/emacs/elpa/ace-window-20190708.933/ace-window
/Users/shant/.config/emacs/straight/build/avy/avy-autoloads hides /Users/shant/.config/emacs/elpa/avy-20190828.951/avy-autoloads
/Users/shant/.config/emacs/straight/build/avy/avy hides /Users/shant/.config/emacs/elpa/avy-20190828.951/avy
/Users/shant/.config/emacs/straight/build/f/f hides /Users/shant/.config/emacs/elpa/f-20190109.906/f
/Users/shant/.config/emacs/straight/build/f/f-autoloads hides /Users/shant/.config/emacs/elpa/f-20190109.906/f-autoloads
/Users/shant/.config/emacs/straight/build/s/s hides /Users/shant/.config/emacs/elpa/s-20180406.808/s
/Users/shant/.config/emacs/straight/build/s/s-autoloads hides /Users/shant/.config/emacs/elpa/s-20180406.808/s-autoloads
/Users/shant/.config/emacs/straight/build/dash/dash hides /Users/shant/.config/emacs/elpa/dash-20190814.2006/dash
/Users/shant/.config/emacs/straight/build/dash/dash-autoloads hides /Users/shant/.config/emacs/elpa/dash-20190814.2006/dash-autoloads
/Users/shant/.config/emacs/straight/build/tramp/tramp-archive hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-archive
/Users/shant/.config/emacs/straight/build/tramp/tramp-smb hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-smb
/Users/shant/.config/emacs/straight/build/tramp/tramp-uu hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-uu
/Users/shant/.config/emacs/straight/build/tramp/tramp hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp
/Users/shant/.config/emacs/straight/build/tramp/tramp-adb hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-adb
/Users/shant/.config/emacs/straight/build/tramp/tramp-sh hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-sh
/Users/shant/.config/emacs/straight/build/tramp/trampver hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/trampver
/Users/shant/.config/emacs/straight/build/tramp/tramp-cmds hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-cmds
/Users/shant/.config/emacs/straight/build/tramp/tramp-integration hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-integration
/Users/shant/.config/emacs/straight/build/tramp/tramp-sudoedit hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-sudoedit
/Users/shant/.config/emacs/straight/build/tramp/tramp-cache hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-cache
/Users/shant/.config/emacs/straight/build/tramp/tramp-compat hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-compat
/Users/shant/.config/emacs/straight/build/tramp/tramp-gvfs hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-gvfs
/Users/shant/.config/emacs/straight/build/tramp/tramp-ftp hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-ftp
/Users/shant/.config/emacs/straight/build/tramp/tramp-rclone hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-rclone
/Users/shant/.config/emacs/straight/build/tramp/tramp-loaddefs hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/net/tramp-loaddefs
/Users/shant/.config/emacs/straight/build/cl-lib/cl-lib hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib
/Users/shant/.config/emacs/straight/build/seq/seq hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/seq
/Users/shant/.config/emacs/straight/build/let-alist/let-alist hides /Applications/User Installed Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist

Features:
(shadow sort mail-extr emacsbug sendmail parinfer-ext parinfer ediff
ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init
ediff-util mode-local parinferlib rainbow-delimiters company-box
company-box-doc company-box-icons dash-functional company-oddmuse
company-keywords company-etags company-gtags company-dabbrev-code
company-dabbrev company-files company-capf company-cmake company-xcode
company-clang company-semantic company-eclim company-template
company-yasnippet company-bbdb linum whitespace doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
smartparens highlight-parentheses ace-jump-mode cl
ace-jump-mode-autoloads ivy-prescient ivy-prescient-autoloads prescient
prescient-autoloads org-jira org-jira-sdk jiralib request soap-client
url-http url-auth url-gw nsm warnings rng-xsd rng-dt rng-util xsd-regexp
xml org-clock org-element avl-tree org org-macro org-footnote
org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs org-jira-autoloads request-autoloads
highlight-parentheses-autoloads rainbow-delimiters-autoloads
parinfer-autoloads smartparens-autoloads multiple-cursors-autoloads
vterm vterm-module term disp-table ehelp vterm-autoloads treemacs-magit
treemacs-icons-dired treemacs treemacs-compatibility treemacs-mode
treemacs-bookmarks treemacs-interface treemacs-extensions
treemacs-persistence treemacs-mouse-interface treemacs-tag-follow-mode
hydra lv treemacs-filewatch-mode treemacs-tags treemacs-follow-mode
treemacs-rendering treemacs-async treemacs-faces treemacs-icons
treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator pulse treemacs-themes treemacs-core-utils
pfuture ace-window avy hl-line treemacs-macros inline ht
treemacs-customization treemacs-magit-autoloads treemacs-autoloads
ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads
ace-window-autoloads avy-autoloads magit-bookmark magit-submodule
magit-obsolete magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff
smerge-mode diff magit-core magit-autorevert autorevert filenotify
magit-margin magit-transient magit-process magit-mode transient
git-commit magit-git magit-section magit-utils crm log-edit message rmc
puny rfc822 mml mml-sec epa epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log with-editor async-bytecomp async server
magit-autoloads transient-autoloads git-commit-autoloads
with-editor-autoloads async-autoloads flycheck find-func rx
flycheck-autoloads let-alist-autoloads dashboard dashboard-widgets time
recentf tree-widget page-break-lines dashboard-autoloads
page-break-lines-autoloads counsel-projectile tramp-cache projectile
ibuf-ext ibuffer ibuffer-loaddefs thingatpt counsel xdg swiper
counsel-projectile-autoloads projectile-autoloads bookmark+
bookmark+-key derived dired-x bookmark+-1 bookmark+-bmu bookmark+-lit
bookmark text-property-search pp bookmark+-autoloads company-flx
company-flx-autoloads flx-autoloads company-statistics
company-statistics-autoloads company-box-autoloads
dash-functional-autoloads use-package-diminish all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons memoize
all-the-icons-autoloads memoize-autoloads ess ess-utils ess-custom
ess-autoloads julia-mode-autoloads use-package-delight
use-package-ensure company-anaconda company pcase
company-anaconda-autoloads anaconda-mode pythonic f dash
anaconda-mode-autoloads pythonic-autoloads f-autoloads elpy
find-file-in-project ivy colir color ivy-overlay windmove diff-mode
elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg
esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django s
elpy-refactor python tramp-sh ido grep compile etags fileloop generator
xref project cus-edit wid-edit elpy-autoloads yasnippet-autoloads
pyvenv-autoloads highlight-indentation-autoloads
find-file-in-project-autoloads company-autoloads restclient advice
noutline outline url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap restclient-autoloads
ejc-sql-autoloads auto-complete-autoloads popup-autoloads dash-autoloads
clomacs-autoloads simple-httpd-autoloads s-autoloads cider-autoloads
sesman-autoloads seq-autoloads spinner-autoloads queue-autoloads
pkg-info-autoloads epl-autoloads parseedn-autoloads parseclj-autoloads
a-autoloads clojure-mode-autoloads direx eieio-compat dired
dired-loaddefs direx-autoloads zoom-window-autoloads
counsel-tramp-autoloads counsel-autoloads swiper-autoloads ivy-autoloads
use-package-bind-key bind-key easy-mmode tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat shell pcomplete comint ansi-color
ring parse-time iso8601 time-date ls-lisp format-spec tramp-autoloads
general general-autoloads cl-lib-autoloads diminish diminish-autoloads
use-package-core edmacro kmacro cus-start cus-load saveplace paren
battery delsel spacemacs-dark-theme spacemacs-common
spacemacs-theme-autoloads use-package-autoloads bind-key-autoloads
straight-autoloads info cl-extra help-mode straight package easymenu
browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win
ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow
isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors 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 composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray 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 threads kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 443622 32511)
(symbols 48 40319 2)
(strings 32 141964 5410)
(string-bytes 1 5166219)
(vectors 16 64194)
(vector-slots 8 750362 26816)
(floats 8 1265 329)
(intervals 56 904 149)
(buffers 992 15))