* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
@ 2017-08-19 7:50 Alexander Asteroth
2017-08-19 16:32 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-19 7:50 UTC (permalink / raw)
To: 28149
Dear all,
my emacs hangs pretty often anf for 10 secs. ca. when I am prompted for
e.g. a file in find-file, or an interactive function in M-x or a
shell-command in read-shell-command. It seems to happen only, in these
cases, when there is an option to auto-complete. It appears particularly
often right after emacs was started (and even multiple times). After
emacs runs for hours or even days the problem is very rare.
I tried stracing my emacs (wich is a little problematic, since it is
also my window manager) and killing the strace/emacs/exwm right after
the hanging happens it always appeared right after a strace fragment
like this:
0.000733 recvmsg(6, 0x7ffdfdb31430, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000273 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000230 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000435 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000202 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000288 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000177 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000390 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000159 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000199 recvmsg(6, 0x7ffdfdb31430, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000158 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000148 recvmsg(6, 0x7ffdfdb31650, 0) = -1 EAGAIN (Resource temporarily unavailable)
0.000086 poll([{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=10, events=POLLIN}], 3, 0) = 0 (Timeout)
0.000117 pselect6(15, [4 6 7 10 12 13 14], [], NULL, {1, 911848155}, {NULL, 8}) = 1 (in [4], left {1, 4014190})
0.908089 read(4, "\1\0\0\0\0\0\0\0", 8) = 8
0.000229 pselect6(15, [4 6 7 10 12 13 14], [], NULL, {1, 3617217}, {NULL, 8}
I suspected the read(4, ....) call since it always appears near the end,
but then tried also stracing emacs -Q and a) it does not seem to have
the hanging problem and b) it also containes these reads, that take 0.4
to 0.9 seconds.
Any suggestion how I could narrow down the cause of this problem?
Thanks,
Alex
--------------------------------------------------
In GNU Emacs 26.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-10-23 built on epsilon
Repository revision: 8ca70e402ecab5d7e71e418af6866c8b02d4f757
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.3 LTS
Recent messages:
221 2.0.0 ux-2s11.inf.fh-bonn-rhein-sieg.de closing connection
Mark set
Saving file /$HOME/mail/maildir/sent/cur/1503128660.60aa4ae141fa26ab.epsilon:2,S...
Wrote /$HOME/mail/maildir/sent/cur/1503128660.60aa4ae141fa26ab.epsilon:2,S
Sending...done
[mu4e] Message sent
Decrypting /$HOME/... done
Making completion list... [2 times]
user-error: Beginning of history; no preceding item
user-error: End of history; no default available
Quit [3 times]
Configured using:
'configure --with-xwidgets'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Text
Minor modes in effect:
display-battery-mode: t
delete-selection-mode: t
pdf-occur-global-minor-mode: t
show-paren-mode: t
display-time-mode: t
async-bytecomp-package-mode: t
shell-dirtrack-mode: t
global-eldoc-mode: t
electric-indent-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
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
/$HOME/.emacs.d/elpa/org-20170210/ob-ledger hides /usr/local/share/emacs/26.0.50/lisp/org/ob-ledger
/$HOME/.emacs.d/elpa/org-20170210/ob-sass hides /usr/local/share/emacs/26.0.50/lisp/org/ob-sass
/$HOME/.emacs.d/elpa/org-20170210/ob-lilypond hides /usr/local/share/emacs/26.0.50/lisp/org/ob-lilypond
/$HOME/.emacs.d/elpa/org-20170210/ob-scheme hides /usr/local/share/emacs/26.0.50/lisp/org/ob-scheme
/$HOME/.emacs.d/elpa/org-20170210/org-macro hides /usr/local/share/emacs/26.0.50/lisp/org/org-macro
/$HOME/.emacs.d/elpa/org-20170210/ox-latex hides /usr/local/share/emacs/26.0.50/lisp/org/ox-latex
/$HOME/.emacs.d/elpa/org-20170210/org-macs hides /usr/local/share/emacs/26.0.50/lisp/org/org-macs
/$HOME/.emacs.d/elpa/org-20170210/ob-octave hides /usr/local/share/emacs/26.0.50/lisp/org/ob-octave
/$HOME/.emacs.d/elpa/org-20170210/org-datetree hides /usr/local/share/emacs/26.0.50/lisp/org/org-datetree
/$HOME/.emacs.d/elpa/org-20170210/org-archive hides /usr/local/share/emacs/26.0.50/lisp/org/org-archive
/$HOME/.emacs.d/elpa/org-20170210/ob-ref hides /usr/local/share/emacs/26.0.50/lisp/org/ob-ref
/$HOME/.emacs.d/elpa/org-20170210/org-mhe hides /usr/local/share/emacs/26.0.50/lisp/org/org-mhe
/$HOME/.emacs.d/elpa/org-20170210/org-docview hides /usr/local/share/emacs/26.0.50/lisp/org/org-docview
/$HOME/.emacs.d/elpa/org-20170210/org-faces hides /usr/local/share/emacs/26.0.50/lisp/org/org-faces
/$HOME/.emacs.d/elpa/org-20170210/org-w3m hides /usr/local/share/emacs/26.0.50/lisp/org/org-w3m
/$HOME/.emacs.d/elpa/org-20170210/ob-lob hides /usr/local/share/emacs/26.0.50/lisp/org/ob-lob
/$HOME/.emacs.d/elpa/org-20170210/ob-keys hides /usr/local/share/emacs/26.0.50/lisp/org/ob-keys
/$HOME/.emacs.d/elpa/org-20170210/org-timer hides /usr/local/share/emacs/26.0.50/lisp/org/org-timer
/$HOME/.emacs.d/elpa/org-20170210/ob-shen hides /usr/local/share/emacs/26.0.50/lisp/org/ob-shen
/$HOME/.emacs.d/elpa/org-20170210/ob-asymptote hides /usr/local/share/emacs/26.0.50/lisp/org/ob-asymptote
/$HOME/.emacs.d/elpa/org-20170210/org-mobile hides /usr/local/share/emacs/26.0.50/lisp/org/org-mobile
/$HOME/.emacs.d/elpa/org-20170210/ob-scala hides /usr/local/share/emacs/26.0.50/lisp/org/ob-scala
/$HOME/.emacs.d/elpa/org-20170210/org-colview hides /usr/local/share/emacs/26.0.50/lisp/org/org-colview
/$HOME/.emacs.d/elpa/org-20170210/org-eshell hides /usr/local/share/emacs/26.0.50/lisp/org/org-eshell
/$HOME/.emacs.d/elpa/org-20170210/ob-R hides /usr/local/share/emacs/26.0.50/lisp/org/ob-R
/$HOME/.emacs.d/elpa/org-20170210/ob-perl hides /usr/local/share/emacs/26.0.50/lisp/org/ob-perl
/$HOME/.emacs.d/elpa/org-20170210/ob-fortran hides /usr/local/share/emacs/26.0.50/lisp/org/ob-fortran
/$HOME/.emacs.d/elpa/org-20170210/org-indent hides /usr/local/share/emacs/26.0.50/lisp/org/org-indent
/$HOME/.emacs.d/elpa/org-20170210/org-clock hides /usr/local/share/emacs/26.0.50/lisp/org/org-clock
/$HOME/.emacs.d/elpa/org-20170210/ox-texinfo hides /usr/local/share/emacs/26.0.50/lisp/org/ox-texinfo
/$HOME/.emacs.d/elpa/org-20170210/ob-ditaa hides /usr/local/share/emacs/26.0.50/lisp/org/ob-ditaa
/$HOME/.emacs.d/elpa/org-20170210/org-bibtex hides /usr/local/share/emacs/26.0.50/lisp/org/org-bibtex
/$HOME/.emacs.d/elpa/org-20170210/ob-python hides /usr/local/share/emacs/26.0.50/lisp/org/ob-python
/$HOME/.emacs.d/elpa/org-20170210/ox-odt hides /usr/local/share/emacs/26.0.50/lisp/org/ox-odt
/$HOME/.emacs.d/elpa/org-20170210/org-agenda hides /usr/local/share/emacs/26.0.50/lisp/org/org-agenda
/$HOME/.emacs.d/elpa/org-20170210/ob-awk hides /usr/local/share/emacs/26.0.50/lisp/org/ob-awk
/$HOME/.emacs.d/elpa/org-20170210/ob-js hides /usr/local/share/emacs/26.0.50/lisp/org/ob-js
/$HOME/.emacs.d/elpa/org-20170210/ob-matlab hides /usr/local/share/emacs/26.0.50/lisp/org/ob-matlab
/$HOME/.emacs.d/elpa/org-20170210/ob-haskell hides /usr/local/share/emacs/26.0.50/lisp/org/ob-haskell
/$HOME/.emacs.d/elpa/org-20170210/ob-latex hides /usr/local/share/emacs/26.0.50/lisp/org/ob-latex
/$HOME/.emacs.d/elpa/org-20170210/org-list hides /usr/local/share/emacs/26.0.50/lisp/org/org-list
/$HOME/.emacs.d/elpa/org-20170210/ob-picolisp hides /usr/local/share/emacs/26.0.50/lisp/org/ob-picolisp
/$HOME/.emacs.d/elpa/org-20170210/org-compat hides /usr/local/share/emacs/26.0.50/lisp/org/org-compat
/$HOME/.emacs.d/elpa/org-20170210/org-habit hides /usr/local/share/emacs/26.0.50/lisp/org/org-habit
/$HOME/.emacs.d/elpa/org-20170210/org-info hides /usr/local/share/emacs/26.0.50/lisp/org/org-info
/$HOME/.emacs.d/elpa/org-20170210/org-gnus hides /usr/local/share/emacs/26.0.50/lisp/org/org-gnus
/$HOME/.emacs.d/elpa/org-20170210/ox-publish hides /usr/local/share/emacs/26.0.50/lisp/org/ox-publish
/$HOME/.emacs.d/elpa/org-20170210/ob-emacs-lisp hides /usr/local/share/emacs/26.0.50/lisp/org/ob-emacs-lisp
/$HOME/.emacs.d/elpa/org-20170210/ob-core hides /usr/local/share/emacs/26.0.50/lisp/org/ob-core
/$HOME/.emacs.d/elpa/org-20170210/ox-icalendar hides /usr/local/share/emacs/26.0.50/lisp/org/ox-icalendar
/$HOME/.emacs.d/elpa/org-20170210/ob-org hides /usr/local/share/emacs/26.0.50/lisp/org/ob-org
/$HOME/.emacs.d/elpa/org-20170210/org-ctags hides /usr/local/share/emacs/26.0.50/lisp/org/org-ctags
/$HOME/.emacs.d/elpa/org-20170210/ob-plantuml hides /usr/local/share/emacs/26.0.50/lisp/org/ob-plantuml
/$HOME/.emacs.d/elpa/org-20170210/org-crypt hides /usr/local/share/emacs/26.0.50/lisp/org/org-crypt
/$HOME/.emacs.d/elpa/org-20170210/ob-maxima hides /usr/local/share/emacs/26.0.50/lisp/org/ob-maxima
/$HOME/.emacs.d/elpa/org-20170210/org-attach hides /usr/local/share/emacs/26.0.50/lisp/org/org-attach
/$HOME/.emacs.d/elpa/org-20170210/org-loaddefs hides /usr/local/share/emacs/26.0.50/lisp/org/org-loaddefs
/$HOME/.emacs.d/elpa/org-20170210/ob-calc hides /usr/local/share/emacs/26.0.50/lisp/org/ob-calc
/$HOME/.emacs.d/elpa/org-20170210/ob-exp hides /usr/local/share/emacs/26.0.50/lisp/org/ob-exp
/$HOME/.emacs.d/elpa/org-20170210/ox hides /usr/local/share/emacs/26.0.50/lisp/org/ox
/$HOME/.emacs.d/elpa/org-20170210/ox-html hides /usr/local/share/emacs/26.0.50/lisp/org/ox-html
/$HOME/.emacs.d/elpa/org-20170210/org hides /usr/local/share/emacs/26.0.50/lisp/org/org
/$HOME/.emacs.d/elpa/org-20170210/ob-ruby hides /usr/local/share/emacs/26.0.50/lisp/org/ob-ruby
/$HOME/.emacs.d/elpa/org-20170210/ob-comint hides /usr/local/share/emacs/26.0.50/lisp/org/ob-comint
/$HOME/.emacs.d/elpa/org-20170210/ob-clojure hides /usr/local/share/emacs/26.0.50/lisp/org/ob-clojure
/$HOME/.emacs.d/elpa/org-20170210/ox-md hides /usr/local/share/emacs/26.0.50/lisp/org/ox-md
/$HOME/.emacs.d/elpa/org-20170210/ob hides /usr/local/share/emacs/26.0.50/lisp/org/ob
/$HOME/.emacs.d/elpa/org-20170210/org-id hides /usr/local/share/emacs/26.0.50/lisp/org/org-id
/$HOME/.emacs.d/elpa/org-20170210/org-footnote hides /usr/local/share/emacs/26.0.50/lisp/org/org-footnote
/$HOME/.emacs.d/elpa/org-20170210/org-protocol hides /usr/local/share/emacs/26.0.50/lisp/org/org-protocol
/$HOME/.emacs.d/elpa/org-20170210/org-rmail hides /usr/local/share/emacs/26.0.50/lisp/org/org-rmail
/$HOME/.emacs.d/elpa/org-20170210/org-pcomplete hides /usr/local/share/emacs/26.0.50/lisp/org/org-pcomplete
/$HOME/.emacs.d/elpa/org-20170210/org-plot hides /usr/local/share/emacs/26.0.50/lisp/org/org-plot
/$HOME/.emacs.d/elpa/org-20170210/org-mouse hides /usr/local/share/emacs/26.0.50/lisp/org/org-mouse
/$HOME/.emacs.d/elpa/org-20170210/ob-io hides /usr/local/share/emacs/26.0.50/lisp/org/ob-io
/$HOME/.emacs.d/elpa/org-20170210/ob-makefile hides /usr/local/share/emacs/26.0.50/lisp/org/ob-makefile
/$HOME/.emacs.d/elpa/org-20170210/ob-css hides /usr/local/share/emacs/26.0.50/lisp/org/ob-css
/$HOME/.emacs.d/elpa/org-20170210/ob-dot hides /usr/local/share/emacs/26.0.50/lisp/org/ob-dot
/$HOME/.emacs.d/elpa/org-20170210/org-feed hides /usr/local/share/emacs/26.0.50/lisp/org/org-feed
/$HOME/.emacs.d/elpa/org-20170210/ob-java hides /usr/local/share/emacs/26.0.50/lisp/org/ob-java
/$HOME/.emacs.d/elpa/org-20170210/org-table hides /usr/local/share/emacs/26.0.50/lisp/org/org-table
/$HOME/.emacs.d/elpa/org-20170210/org-capture hides /usr/local/share/emacs/26.0.50/lisp/org/org-capture
/$HOME/.emacs.d/elpa/org-20170210/ox-ascii hides /usr/local/share/emacs/26.0.50/lisp/org/ox-ascii
/$HOME/.emacs.d/elpa/org-20170210/org-inlinetask hides /usr/local/share/emacs/26.0.50/lisp/org/org-inlinetask
/$HOME/.emacs.d/elpa/org-20170210/org-install hides /usr/local/share/emacs/26.0.50/lisp/org/org-install
/$HOME/.emacs.d/elpa/org-20170210/ob-table hides /usr/local/share/emacs/26.0.50/lisp/org/ob-table
/$HOME/.emacs.d/elpa/org-20170210/org-entities hides /usr/local/share/emacs/26.0.50/lisp/org/org-entities
/$HOME/.emacs.d/elpa/org-20170210/org-irc hides /usr/local/share/emacs/26.0.50/lisp/org/org-irc
/$HOME/.emacs.d/elpa/org-20170210/ox-org hides /usr/local/share/emacs/26.0.50/lisp/org/ox-org
/$HOME/.emacs.d/elpa/org-20170210/ob-mscgen hides /usr/local/share/emacs/26.0.50/lisp/org/ob-mscgen
/$HOME/.emacs.d/elpa/org-20170210/ob-eval hides /usr/local/share/emacs/26.0.50/lisp/org/ob-eval
/$HOME/.emacs.d/elpa/org-20170210/ob-sqlite hides /usr/local/share/emacs/26.0.50/lisp/org/ob-sqlite
/$HOME/.emacs.d/elpa/org-20170210/org-version hides /usr/local/share/emacs/26.0.50/lisp/org/org-version
/$HOME/.emacs.d/elpa/org-20170210/ox-beamer hides /usr/local/share/emacs/26.0.50/lisp/org/ox-beamer
/$HOME/.emacs.d/elpa/org-20170210/ob-tangle hides /usr/local/share/emacs/26.0.50/lisp/org/ob-tangle
/$HOME/.emacs.d/elpa/org-20170210/org-element hides /usr/local/share/emacs/26.0.50/lisp/org/org-element
/$HOME/.emacs.d/elpa/org-20170210/ox-man hides /usr/local/share/emacs/26.0.50/lisp/org/ox-man
/$HOME/.emacs.d/elpa/org-20170210/ob-C hides /usr/local/share/emacs/26.0.50/lisp/org/ob-C
/$HOME/.emacs.d/elpa/org-20170210/org-src hides /usr/local/share/emacs/26.0.50/lisp/org/org-src
/$HOME/.emacs.d/elpa/org-20170210/org-bbdb hides /usr/local/share/emacs/26.0.50/lisp/org/org-bbdb
/$HOME/.emacs.d/elpa/org-20170210/ob-screen hides /usr/local/share/emacs/26.0.50/lisp/org/ob-screen
/$HOME/.emacs.d/elpa/org-20170210/ob-lisp hides /usr/local/share/emacs/26.0.50/lisp/org/ob-lisp
/$HOME/.emacs.d/elpa/org-20170210/ob-ocaml hides /usr/local/share/emacs/26.0.50/lisp/org/ob-ocaml
/$HOME/.emacs.d/elpa/org-20170210/ob-gnuplot hides /usr/local/share/emacs/26.0.50/lisp/org/ob-gnuplot
/$HOME/.emacs.d/elpa/org-20170210/ob-sql hides /usr/local/share/emacs/26.0.50/lisp/org/ob-sql
/$HOME/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/local/share/emacs/26.0.50/lisp/emacs-lisp/let-alist
Features:
(shadow emacsbug qp epa-file network-stream starttls mailalias mail-extr
sort face-remap battery exwm-randr xcb-randr exwm-systemtray
xcb-systemtray xcb-xembed exwm exwm-input xcb-keysyms xcb-xkb
exwm-manage exwm-floating xcb-cursor xcb-render exwm-layout
exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb xcb-xproto xcb-types
buffer-move windmove delsel google-translate google-translate-default-ui
google-translate-core-ui google-translate-core google-translate-tk
pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter
semantic/wisent/comp semantic/wisent semantic/wisent/wisent
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet pdf-isearch pdf-misc imenu server ox-beamer
paren time org-ref org-ref-helm-bibtex org-ref-helm helm-utils
helm-bibtex bibtex-completion biblio biblio-download biblio-dissemin
biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi
biblio-core let-alist url-queue helm-net helm-help helm helm-source
eieio-compat helm-multi-match helm-lib helm-config helm-easymenu
async-bytecomp org-ref-core warnings reftex-cite reftex reftex-loaddefs
reftex-vars parsebib org-ref-glossary org-ref-bibtex org-ref-citeproc
key-chord hydra lv doi-utils org-ref-utils org-ref-pdf pdf-tools compile
cus-edit cus-start cus-load wid-edit pdf-view bookmark pp pdf-cache
pdf-info tq pdf-util org-bibtex bibtex f s dash org-download async
org-caldav icalendar diary-lib diary-loaddefs org-id ox-odt rng-loc
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii
ox-publish ox url-dav url-http tls gnutls url url-proxy url-privacy
url-expand url-methods url-history mailcap url-auth url-cookie
url-domsuf url-gw nsm xml org-mu4e calfw-org google-maps
google-maps-static url-util google-maps-geocode google-maps-base json
map org-capture org-agenda org-element avl-tree org org-macro
org-footnote org-pcomplete org-list org-faces org-entities noutline
outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref
ob-lob ob-table ob-keys ob-exp ob-comint tramp tramp-compat
tramp-loaddefs trampver ucs-normalize shell pcomplete advice ob-core
ob-eval org-compat org-macs org-loaddefs find-func calfw holidays
hol-loaddefs mu4e-contrib mu4e desktop frameset mu4e-speedbar speedbar
sb-image ezimage dframe mu4e-main mu4e-context mu4e-view cal-menu
calendar cal-loaddefs thingatpt browse-url comint ansi-color ring
mu4e-headers mu4e-compose mu4e-draft mu4e-actions ido rfc2368 smtpmail
sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view
jka-compr image-mode mu4e-lists mu4e-vars message subr-x puny dired
dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg 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 hl-line cl mu4e-meta finder-inf tex-site edmacro
kmacro info package epg-config url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win 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 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 charscript 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 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 608423 49945)
(symbols 48 58676 0)
(miscs 40 834 258)
(strings 32 149915 22972)
(string-bytes 1 5052290)
(vectors 16 97583)
(vector-slots 8 2293289 241078)
(floats 8 2024 308)
(intervals 56 754 138)
(buffers 976 20)
(heap 1024 99395 10246))
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-19 7:50 bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file Alexander Asteroth
@ 2017-08-19 16:32 ` Eli Zaretskii
2017-08-21 7:07 ` Alexander Asteroth
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2017-08-19 16:32 UTC (permalink / raw)
To: Alexander Asteroth; +Cc: 28149
> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
> Date: Sat, 19 Aug 2017 09:50:44 +0200
>
> I suspected the read(4, ....) call since it always appears near the end,
> but then tried also stracing emacs -Q and a) it does not seem to have
> the hanging problem and b) it also containes these reads, that take 0.4
> to 0.9 seconds.
>
> Any suggestion how I could narrow down the cause of this problem?
If "emacs" hangs, but "emacs -Q" doesn't, then how about bisecting
your init file to find the customization(s) that cause these hangs?
One other thing to try is start the profiler (M-x profiler-start), do
whatever it takes to cause the hang, then type M-x profiler-report,
expand all the branches in the tree it presents and post the result
here. This could give a hint about the package/feature which causes
this.
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-19 16:32 ` Eli Zaretskii
@ 2017-08-21 7:07 ` Alexander Asteroth
2017-08-21 14:58 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-21 7:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 28149, Alexander Asteroth
Hi Eli,
I tried and after bisection after bisection, hangs got less but did not
disappear. Then I did one final test with emacs -Q again and actually
managed, after several minutes, a hanging as well, after find-file with
completion in buffers with lots of files in it (/usr/share/... or
similar).
I come to the conclusion, that it probably is not an emacs problem at
all but rather a hardware or OS problem that manifests only in a singe
threaded application like emacs.
... the search continues ...
-- Alex
Eli Zaretskii writes:
>> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
>> Date: Sat, 19 Aug 2017 09:50:44 +0200
>>
>> I suspected the read(4, ....) call since it always appears near the end,
>> but then tried also stracing emacs -Q and a) it does not seem to have
>> the hanging problem and b) it also containes these reads, that take 0.4
>> to 0.9 seconds.
>>
>> Any suggestion how I could narrow down the cause of this problem?
>
> If "emacs" hangs, but "emacs -Q" doesn't, then how about bisecting
> your init file to find the customization(s) that cause these hangs?
>
> One other thing to try is start the profiler (M-x profiler-start), do
> whatever it takes to cause the hang, then type M-x profiler-report,
> expand all the branches in the tree it presents and post the result
> here. This could give a hint about the package/feature which causes
> this.
>
> Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-21 7:07 ` Alexander Asteroth
@ 2017-08-21 14:58 ` Eli Zaretskii
2017-08-21 16:51 ` Alexander Asteroth
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2017-08-21 14:58 UTC (permalink / raw)
To: Alexander Asteroth; +Cc: 28149
> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
> Cc: Alexander Asteroth <alexander.asteroth@h-brs.de>, 28149@debbugs.gnu.org
> Date: Mon, 21 Aug 2017 09:07:05 +0200
>
> I tried and after bisection after bisection, hangs got less but did not
> disappear. Then I did one final test with emacs -Q again and actually
> managed, after several minutes, a hanging as well, after find-file with
> completion in buffers with lots of files in it (/usr/share/... or
> similar).
>
> I come to the conclusion, that it probably is not an emacs problem at
> all but rather a hardware or OS problem that manifests only in a singe
> threaded application like emacs.
Hmm. This description is not entirely consistent with your original
report, which said:
> my emacs hangs pretty often anf for 10 secs. ca. when I am prompted for
> e.g. a file in find-file, or an interactive function in M-x or a
> shell-command in read-shell-command. It seems to happen only, in these
> cases, when there is an option to auto-complete.
This doesn't sound like the hangs were while Emacs was actually
auto-completing on file names. Was that just an inaccuracy in the
description, and you in fact see the hangs only while Emacs completes
on file names, after you type TAB etc.?
In any case, 10 sec for completion sounds like a lot to me.
Especially since yours looks like an optimized build. How many files
do you have in the directory where completion is so slow? And what
kind of CPU do you have on that system?
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-21 14:58 ` Eli Zaretskii
@ 2017-08-21 16:51 ` Alexander Asteroth
2017-08-22 16:33 ` Alexander Asteroth
2017-08-22 16:34 ` Alexander Asteroth
0 siblings, 2 replies; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-21 16:51 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 28149, Alexander Asteroth
Eli Zaretskii writes:
>> I tried and after bisection after bisection, hangs got less but did not
>> disappear. Then I did one final test with emacs -Q again and actually
>> managed, after several minutes, a hanging as well, after find-file with
>> completion in buffers with lots of files in it (/usr/share/... or
>> similar).
>>
>> I come to the conclusion, that it probably is not an emacs problem at
>> all but rather a hardware or OS problem that manifests only in a singe
>> threaded application like emacs.
>
> Hmm. This description is not entirely consistent with your original
> report, which said:
>
>> my emacs hangs pretty often anf for 10 secs. ca. when I am prompted for
>> e.g. a file in find-file, or an interactive function in M-x or a
>> shell-command in read-shell-command. It seems to happen only, in these
>> cases, when there is an option to auto-complete.
Not inconsistend but there seems to be a gradual decrease in the
frequency this happens (depending on the size of my init.el). With emacs
-Q it happens so rarely, I have to change folder and complete very
often.
>
> This doesn't sound like the hangs were while Emacs was actually
> auto-completing on file names. Was that just an inaccuracy in the
> description, and you in fact see the hangs only while Emacs completes
> on file names, after you type TAB etc.?
>
> In any case, 10 sec for completion sounds like a lot to me.
> Especially since yours looks like an optimized build. How many files
> do you have in the directory where completion is so slow? And what
> kind of CPU do you have on that system?
I also tried emacs 25.2 with the same result. System is a 1 year old
Lenovo ThinkPad Yoga 260.
As I said I'm not really sure any more it is emacs. What is particularly
surprising is the huge difference between read on file descriptor 3 and
4. fd 3 take 0.00002 on average, fd 4 takes 0.4 to 0.9 seconds.
-- Alex
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-21 16:51 ` Alexander Asteroth
@ 2017-08-22 16:33 ` Alexander Asteroth
2017-08-22 16:44 ` Eli Zaretskii
2017-08-22 16:34 ` Alexander Asteroth
1 sibling, 1 reply; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-22 16:33 UTC (permalink / raw)
To: Alexander Asteroth; +Cc: 28149
Hi all,
the source of error seems to be related to the graphics driver. Hangs
are related to these lines in syslog/dmesg:
--------------------
[63129.201509] [drm] stuck on render ring
[63129.201808] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [8965], reason: Engine(s) hung, action: reset
[63129.203624] drm/i915: Resetting chip after gpu hang
[63131.202095] [drm] RC6 on
-------------------
which seem to be temporarly related to the error. Some Tickets about this
error are already open in freedesktop.org by other users. Let's hope
there will be a workaround.
PS: I don't have a clue why this happens when autocompleting in emacs :-/
-- Alex
Alexander Asteroth writes:
> Eli Zaretskii writes:
>>> I tried and after bisection after bisection, hangs got less but did not
>>> disappear. Then I did one final test with emacs -Q again and actually
>>> managed, after several minutes, a hanging as well, after find-file with
>>> completion in buffers with lots of files in it (/usr/share/... or
>>> similar).
>>>
>>> I come to the conclusion, that it probably is not an emacs problem at
>>> all but rather a hardware or OS problem that manifests only in a singe
>>> threaded application like emacs.
>>
>> Hmm. This description is not entirely consistent with your original
>> report, which said:
>>
>>> my emacs hangs pretty often anf for 10 secs. ca. when I am prompted for
>>> e.g. a file in find-file, or an interactive function in M-x or a
>>> shell-command in read-shell-command. It seems to happen only, in these
>>> cases, when there is an option to auto-complete.
>
> Not inconsistend but there seems to be a gradual decrease in the
> frequency this happens (depending on the size of my init.el). With emacs
> -Q it happens so rarely, I have to change folder and complete very
> often.
>
>>
>> This doesn't sound like the hangs were while Emacs was actually
>> auto-completing on file names. Was that just an inaccuracy in the
>> description, and you in fact see the hangs only while Emacs completes
>> on file names, after you type TAB etc.?
>>
>> In any case, 10 sec for completion sounds like a lot to me.
>> Especially since yours looks like an optimized build. How many files
>> do you have in the directory where completion is so slow? And what
>> kind of CPU do you have on that system?
>
> I also tried emacs 25.2 with the same result. System is a 1 year old
> Lenovo ThinkPad Yoga 260.
>
> As I said I'm not really sure any more it is emacs. What is particularly
> surprising is the huge difference between read on file descriptor 3 and
> 4. fd 3 take 0.00002 on average, fd 4 takes 0.4 to 0.9 seconds.
>
> -- Alex
--
Viele Grüße,
Alex
--------------------------------------------------------------------------
Prof. Dr. Alexander Asteroth room A.022.3
Fon: +49 2241 865 255 Bonn-Rhein-Sieg University o.a.s.
Fax: +49 2241 865 8255 Computer Science Department
mail: alexander.asteroth@h-brs.de Grantham-Allee 20
Web: http://www.inf.h-brs.de/asteroth 53757 Sankt Augustin, Germany
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-22 16:33 ` Alexander Asteroth
@ 2017-08-22 16:44 ` Eli Zaretskii
2017-08-22 19:55 ` Alexander Asteroth
2017-08-22 20:47 ` Alexander Asteroth
0 siblings, 2 replies; 13+ messages in thread
From: Eli Zaretskii @ 2017-08-22 16:44 UTC (permalink / raw)
To: Alexander Asteroth; +Cc: 28149
> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
> Cc: Eli Zaretskii <eliz@gnu.org>, 28149@debbugs.gnu.org
> Date: Tue, 22 Aug 2017 18:33:27 +0200
>
> the source of error seems to be related to the graphics driver. Hangs
> are related to these lines in syslog/dmesg:
>
> --------------------
> [63129.201509] [drm] stuck on render ring
> [63129.201808] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [8965], reason: Engine(s) hung, action: reset
> [63129.203624] drm/i915: Resetting chip after gpu hang
> [63131.202095] [drm] RC6 on
> -------------------
>
> which seem to be temporarly related to the error. Some Tickets about this
> error are already open in freedesktop.org by other users. Let's hope
> there will be a workaround.
Thanks for letting us know. I guess we can now close this bug, then?
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-22 16:44 ` Eli Zaretskii
@ 2017-08-22 19:55 ` Alexander Asteroth
2017-08-22 20:47 ` Alexander Asteroth
1 sibling, 0 replies; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-22 19:55 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 28149, Alexander Asteroth
Eli Zaretskii writes:
>> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
>> Cc: Eli Zaretskii <eliz@gnu.org>, 28149@debbugs.gnu.org
>> Date: Tue, 22 Aug 2017 18:33:27 +0200
>>
>> the source of error seems to be related to the graphics driver. Hangs
>> are related to these lines in syslog/dmesg:
>>
>> --------------------
>> [63129.201509] [drm] stuck on render ring
>> [63129.201808] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [8965], reason: Engine(s) hung, action: reset
>> [63129.203624] drm/i915: Resetting chip after gpu hang
>> [63131.202095] [drm] RC6 on
>> -------------------
>>
>> which seem to be temporarly related to the error. Some Tickets about this
>> error are already open in freedesktop.org by other users. Let's hope
>> there will be a workaround.
>
> Thanks for letting us know. I guess we can now close this bug, then?
Yes! Thanks for you help in that matter.
Cheers,
Alex
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-22 16:44 ` Eli Zaretskii
2017-08-22 19:55 ` Alexander Asteroth
@ 2017-08-22 20:47 ` Alexander Asteroth
2017-08-23 2:36 ` Eli Zaretskii
1 sibling, 1 reply; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-22 20:47 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 28149, Alexander Asteroth
Dear Eli,
maybe it is to early to close the ticket.
Right now I did the following eperiment:
open /var/log/syslog
C-x C-f
Backspace
C-f
first C-x C-f opens ido-find-file
second C-f opens find-file
This produced reproducable GPU Hangs. See following syslog (no lines cut
out)
--------------------------------------
Aug 22 22:38:33 epsilon kernel: [90414.610167] [drm] stuck on render ring
Aug 22 22:38:33 epsilon kernel: [90414.610499] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:38:33 epsilon kernel: [90414.612283] drm/i915: Resetting chip after gpu hang
Aug 22 22:38:35 epsilon kernel: [90416.611033] [drm] RC6 on
Aug 22 22:40:00 epsilon kernel: [90501.610885] [drm] stuck on render ring
Aug 22 22:40:00 epsilon kernel: [90501.611184] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:40:00 epsilon kernel: [90501.613000] drm/i915: Resetting chip after gpu hang
Aug 22 22:40:02 epsilon kernel: [90503.611308] [drm] RC6 on
Aug 22 22:40:24 epsilon kernel: [90525.599079] [drm] stuck on render ring
Aug 22 22:40:24 epsilon kernel: [90525.599394] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:40:24 epsilon kernel: [90525.601195] drm/i915: Resetting chip after gpu hang
Aug 22 22:40:26 epsilon kernel: [90527.599902] [drm] RC6 on
Aug 22 22:40:42 epsilon kernel: [90543.623173] [drm] stuck on render ring
Aug 22 22:40:42 epsilon kernel: [90543.623490] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:40:42 epsilon kernel: [90543.625282] drm/i915: Resetting chip after gpu hang
Aug 22 22:40:44 epsilon kernel: [90545.624000] [drm] RC6 on
Aug 22 22:41:06 epsilon kernel: [90567.611346] [drm] stuck on render ring
Aug 22 22:41:06 epsilon kernel: [90567.611448] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:41:06 epsilon kernel: [90567.612672] drm/i915: Resetting chip after gpu hang
Aug 22 22:41:08 epsilon kernel: [90569.612251] [drm] RC6 on
Aug 22 22:41:34 epsilon kernel: [90595.611658] [drm] stuck on render ring
Aug 22 22:41:34 epsilon kernel: [90595.611955] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:41:34 epsilon kernel: [90595.613772] drm/i915: Resetting chip after gpu hang
Aug 22 22:41:36 epsilon kernel: [90597.612433] [drm] RC6 on
Aug 22 22:41:56 epsilon kernel: [90617.623826] [drm] stuck on render ring
Aug 22 22:41:56 epsilon kernel: [90617.624120] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [21887], reason: Engine(s) hung, action: reset
Aug 22 22:41:56 epsilon kernel: [90617.625971] drm/i915: Resetting chip after gpu hang
Aug 22 22:41:58 epsilon kernel: [90619.612125] [drm] RC6 on
-----------------------------
How can that be? The Hang happens when switching from ido to regular
find-file. What has GPU to do with that?
-- Alex
Eli Zaretskii writes:
>> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
>> Cc: Eli Zaretskii <eliz@gnu.org>, 28149@debbugs.gnu.org
>> Date: Tue, 22 Aug 2017 18:33:27 +0200
>>
>> the source of error seems to be related to the graphics driver. Hangs
>> are related to these lines in syslog/dmesg:
>>
>> --------------------
>> [63129.201509] [drm] stuck on render ring
>> [63129.201808] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [8965], reason: Engine(s) hung, action: reset
>> [63129.203624] drm/i915: Resetting chip after gpu hang
>> [63131.202095] [drm] RC6 on
>> -------------------
>>
>> which seem to be temporarly related to the error. Some Tickets about this
>> error are already open in freedesktop.org by other users. Let's hope
>> there will be a workaround.
>
> Thanks for letting us know. I guess we can now close this bug, then?
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-22 20:47 ` Alexander Asteroth
@ 2017-08-23 2:36 ` Eli Zaretskii
2017-08-28 10:59 ` Alexander Asteroth
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2017-08-23 2:36 UTC (permalink / raw)
To: Alexander Asteroth; +Cc: 28149
> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
> Cc: Alexander Asteroth <alexander.asteroth@h-brs.de>, 28149@debbugs.gnu.org
> Date: Tue, 22 Aug 2017 22:47:02 +0200
>
> How can that be? The Hang happens when switching from ido to regular
> find-file. What has GPU to do with that?
I have no idea, sorry.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-23 2:36 ` Eli Zaretskii
@ 2017-08-28 10:59 ` Alexander Asteroth
2017-08-28 14:31 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-28 10:59 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 28149, Alexander Asteroth
Dear all,
I migrated to Debian 9. Problem is completely solved.
Cheers,
Alex
Eli Zaretskii writes:
>> From: Alexander Asteroth <alexander.asteroth@h-brs.de>
>> Cc: Alexander Asteroth <alexander.asteroth@h-brs.de>, 28149@debbugs.gnu.org
>> Date: Tue, 22 Aug 2017 22:47:02 +0200
>>
>> How can that be? The Hang happens when switching from ido to regular
>> find-file. What has GPU to do with that?
>
> I have no idea, sorry.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file
2017-08-21 16:51 ` Alexander Asteroth
2017-08-22 16:33 ` Alexander Asteroth
@ 2017-08-22 16:34 ` Alexander Asteroth
1 sibling, 0 replies; 13+ messages in thread
From: Alexander Asteroth @ 2017-08-22 16:34 UTC (permalink / raw)
To: Alexander Asteroth; +Cc: 28149
Hi all,
the source of error seems to be related to the graphics driver. Hangs
are related to these lines in syslog/dmesg:
--------------------
[63129.201509] [drm] stuck on render ring
[63129.201808] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [8965], reason: Engine(s) hung, action: reset
[63129.203624] drm/i915: Resetting chip after gpu hang
[63131.202095] [drm] RC6 on
-------------------
which seem to be temporarly related to the error. Some Tickets about this
error are already open in freedesktop.org by other users. Let's hope
there will be a workaround.
PS: I don't have a clue why this happens when autocompleting in emacs :-/
-- Alex
Alexander Asteroth writes:
> Eli Zaretskii writes:
>>> I tried and after bisection after bisection, hangs got less but did not
>>> disappear. Then I did one final test with emacs -Q again and actually
>>> managed, after several minutes, a hanging as well, after find-file with
>>> completion in buffers with lots of files in it (/usr/share/... or
>>> similar).
>>>
>>> I come to the conclusion, that it probably is not an emacs problem at
>>> all but rather a hardware or OS problem that manifests only in a singe
>>> threaded application like emacs.
>>
>> Hmm. This description is not entirely consistent with your original
>> report, which said:
>>
>>> my emacs hangs pretty often anf for 10 secs. ca. when I am prompted for
>>> e.g. a file in find-file, or an interactive function in M-x or a
>>> shell-command in read-shell-command. It seems to happen only, in these
>>> cases, when there is an option to auto-complete.
>
> Not inconsistend but there seems to be a gradual decrease in the
> frequency this happens (depending on the size of my init.el). With emacs
> -Q it happens so rarely, I have to change folder and complete very
> often.
>
>>
>> This doesn't sound like the hangs were while Emacs was actually
>> auto-completing on file names. Was that just an inaccuracy in the
>> description, and you in fact see the hangs only while Emacs completes
>> on file names, after you type TAB etc.?
>>
>> In any case, 10 sec for completion sounds like a lot to me.
>> Especially since yours looks like an optimized build. How many files
>> do you have in the directory where completion is so slow? And what
>> kind of CPU do you have on that system?
>
> I also tried emacs 25.2 with the same result. System is a 1 year old
> Lenovo ThinkPad Yoga 260.
>
> As I said I'm not really sure any more it is emacs. What is particularly
> surprising is the huge difference between read on file descriptor 3 and
> 4. fd 3 take 0.00002 on average, fd 4 takes 0.4 to 0.9 seconds.
>
> -- Alex
--
Viele Grüße,
Alex
--------------------------------------------------------------------------
Prof. Dr. Alexander Asteroth room A.022.3
Fon: +49 2241 865 255 Bonn-Rhein-Sieg University o.a.s.
Fax: +49 2241 865 8255 Computer Science Department
mail: alexander.asteroth@h-brs.de Grantham-Allee 20
Web: http://www.inf.h-brs.de/asteroth 53757 Sankt Augustin, Germany
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-08-28 14:31 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-19 7:50 bug#28149: 26.0.50; Emacs regularly hangs for multiple seconds in e.g. find-file Alexander Asteroth
2017-08-19 16:32 ` Eli Zaretskii
2017-08-21 7:07 ` Alexander Asteroth
2017-08-21 14:58 ` Eli Zaretskii
2017-08-21 16:51 ` Alexander Asteroth
2017-08-22 16:33 ` Alexander Asteroth
2017-08-22 16:44 ` Eli Zaretskii
2017-08-22 19:55 ` Alexander Asteroth
2017-08-22 20:47 ` Alexander Asteroth
2017-08-23 2:36 ` Eli Zaretskii
2017-08-28 10:59 ` Alexander Asteroth
2017-08-28 14:31 ` Eli Zaretskii
2017-08-22 16:34 ` Alexander Asteroth
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).