* bug#22878: 25.1.50; Emacs hangs on startup
@ 2016-03-02 4:19 Mark Karpov
2016-03-02 15:49 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Mark Karpov @ 2016-03-02 4:19 UTC (permalink / raw
To: 22878
I test startup of my Emacs on Travis CI with this python script:
https://github.com/mrkkrp/dot-emacs/blob/master/test-startup.py
Some time ago (last successful build was on February 22 2016), startup
started to hang with Emacs 25 master. I'm perfectly sure that this is
not due to my configuration. Looks like this:
https://travis-ci.org/mrkkrp/dot-emacs/builds/112443741#L230
I reported similar issue some time ago and it was fixed. I think it's
some sort of regression again. Perhaps you could add test to prevent
problems of this sort in the future?
In GNU Emacs 25.1.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.7)
of 2016-02-18 built on arch
Repository revision: 5a0472e8ea9128f75bca04f5f65682ae8280c208
Windowing system distributor 'The X.Org Foundation', version 11.0.11801000
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: H
Minor modes in effect:
interactive-haskell-mode: t
haskell-indentation-mode: t
magit-auto-revert-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
shell-dirtrack-mode: t
diff-auto-refine-mode: t
whitespace-mode: t
hl-todo-mode: t
flycheck-color-mode-line-mode: t
yas-global-mode: t
yas-minor-mode: t
vimish-fold-global-mode: t
vimish-fold-mode: t
show-paren-mode: t
rich-minority-mode: t
minibuffer-electric-default-mode: t
ivy-mode: t
global-auto-revert-mode: t
auto-revert-mode: t
display-time-mode: t
delete-selection-mode: t
cyphejor-mode: t
ace-popup-menu-mode: t
smartparens-global-mode: t
smartparens-mode: t
flyspell-mode: t
flyspell-lazy-mode: t
mk-highlight-line-mode: t
modalka-mode: t
flycheck-mode: t
tooltip-mode: t
global-eldoc-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
auto-fill-function: message-do-auto-fill
transient-mark-mode: t
auto-fill-mode: 1
Recent messages:
Reading active file from archive via nnfolder...done
Reading active file via nndraft...done
Checking new news...done
Are you sure you want to quit reading news? (y or n) y
Saving file /home/mark/.newsrc...
Wrote /home/mark/.newsrc
Saving /home/mark/.newsrc.eld...
Saving file /home/mark/.newsrc.eld...
Wrote /home/mark/.newsrc.eld
Saving /home/mark/.newsrc.eld...done
Load-path shadows:
None found.
Features:
(browse-url vc vc-dispatcher haskell-doc inf-haskell haskell-decl-scan
imenu haskell haskell-completions haskell-load haskell-commands
highlight-uses-mode haskell-modules haskell-sandbox haskell-repl
haskell-debug haskell-interactive-mode haskell-presentation-mode
haskell-collapse haskell-navigate-imports haskell-compile
haskell-process haskell-session url-util json map haskell-hoogle
smartparens-haskell haskell-mode haskell-font-lock haskell-indentation
haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports
haskell-compat haskell-complete-module flymake compile dabbrev linum
magit-blame magit-stash magit-bisect magit-remote magit-commit
magit-sequence magit magit-apply magit-wip magit-log magit-diff
smerge-mode magit-core magit-autorevert magit-process magit-popup
magit-mode magit-git crm magit-section magit-utils git-commit help-fns
log-edit pcvs-util add-log with-editor async-bytecomp async tramp-sh
tramp tramp-compat tramp-loaddefs trampver shell pcomplete comint
ansi-color vc-git diff-mode bookmark nndraft nnmh nnfolder utf-7
gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache
gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range
gnus-win gnus nnheader wid-edit colir color counsel etags swiper
epa-file network-stream puny nsm starttls tls gnutls mailalias smtpmail
qp markdown-mode noutline outline hl-line ace-window pp shadow sort
mail-extr emacsbug message dired dired-loaddefs format-spec rfc822 mml
mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail aggressive-indent easy-mmode
rainbow-delimiters whitespace hl-todo flycheck-haskell haskell-cabal
haskell-utils haskell-customize flycheck-color-mode-line face-remap
mk-visual smart-mode-line solarized-dark-theme solarized mk-texinfo
mk-tex mk-shakespeare mk-prolog mk-org mk-markdown mk-man mk-magit
mk-lisp mk-js mk-ibuffer mk-html mk-gnus mk-eshell mk-erc mk-elisp
mk-dired mk-clojure kill-or-bury-alive mk-calendar mk-c mk-minor-modes
common-lisp-snippets yasnippet whole-line-or-region vimish-fold paren
rich-minority minibuf-eldef ivy ffap autorevert filenotify time delsel
cyphejor ace-popup-menu smartparens-config smartparens thingatpt
flyspell ispell flyspell-lazy cl mk-highlight-line mk-global modalka
edmacro kmacro fix-input quail ace-link xref project mk-python
mk-haskell mk-utils avy-menu avy ring flycheck find-func rx subr-x seq
misc server f dash s ucs-normalize finder-inf tex-site fix-word advice
slime-autoloads info package epg-config url-handlers url-parse
auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra
help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs
cl-loaddefs pcase cl-lib gnus-util rmail rmail-loaddefs rfc2047 rfc2045
ietf-drums mail-utils mm-util mail-prsvr password-cache url-vars
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
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 522563 60252)
(symbols 48 47566 45)
(miscs 40 203 551)
(strings 32 110929 16047)
(string-bytes 1 3377131)
(vectors 16 79262)
(vector-slots 8 1957300 127858)
(floats 8 888 800)
(intervals 56 2771 158)
(buffers 976 25)
(heap 1024 73672 6693))
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22878: 25.1.50; Emacs hangs on startup
2016-03-02 4:19 bug#22878: 25.1.50; Emacs hangs on startup Mark Karpov
@ 2016-03-02 15:49 ` Eli Zaretskii
2016-03-03 6:13 ` Mark Karpov
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-03-02 15:49 UTC (permalink / raw
To: Mark Karpov; +Cc: 22878
> From: Mark Karpov <markkarpov@openmailbox.org>
> Date: Wed, 02 Mar 2016 10:19:13 +0600
>
> I test startup of my Emacs on Travis CI with this python script:
>
> https://github.com/mrkkrp/dot-emacs/blob/master/test-startup.py
>
> Some time ago (last successful build was on February 22 2016), startup
> started to hang with Emacs 25 master. I'm perfectly sure that this is
> not due to my configuration. Looks like this:
>
> https://travis-ci.org/mrkkrp/dot-emacs/builds/112443741#L230
>
> I reported similar issue some time ago and it was fixed. I think it's
> some sort of regression again. Perhaps you could add test to prevent
> problems of this sort in the future?
That previous time we were just lucky: the problem disappeared after a
merge from the other branch. Not sure we even know what was the
problem back then.
Your report is not detailed enough, as you don't show some part of the
script you run, and don't tell where exactly it hangs. Please provide
those details to allow further investigation.
Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22878: 25.1.50; Emacs hangs on startup
2016-03-02 15:49 ` Eli Zaretskii
@ 2016-03-03 6:13 ` Mark Karpov
2016-03-03 20:59 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Mark Karpov @ 2016-03-03 6:13 UTC (permalink / raw
To: Eli Zaretskii; +Cc: 22878
Eli Zaretskii <eliz@gnu.org> writes:
> Your report is not detailed enough, as you don't show some part of the
> script you run, and don't tell where exactly it hangs. Please provide
> those details to allow further investigation.
.travis.yml just executes that python script. I don't know where it
hangs exactly, but here is Emacs Lisp that is executed:
https://github.com/mrkkrp/dot-emacs/blob/master/init.el
And here is ‘mk-compile-init-files’ (although I'm sure in hangs *before*
it, because compiling of files pints to console):
https://github.com/mrkkrp/dot-emacs/blob/master/mk/mk-utils.el#L463
So basically, I think problem is here:
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
(unless package-archive-contents
(package-refresh-contents))
(dolist (package package-selected-packages)
(when (and (assq package package-archive-contents)
(not (package-installed-p package)))
(package-install package t)))
The logs confirm this:
Starting initial startup
Loading /home/travis/build/mrkkrp/dot-emacs/init.el (source)...
Importing package-keyring.gpg...
Importing package-keyring.gpg...done
Making url-show-status local to *http melpa.org:80* while let-bound!
No output has been received in the last 10m0s, this potentially
indicates a stalled build or something wrong with the build itself.
Previously it also had to do with package system with error messages (if
I remember correctly) like “incomprehensible buffer”.
Hope it helps.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22878: 25.1.50; Emacs hangs on startup
2016-03-03 6:13 ` Mark Karpov
@ 2016-03-03 20:59 ` Eli Zaretskii
2016-03-13 4:46 ` Mark Karpov
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-03-03 20:59 UTC (permalink / raw
To: Mark Karpov; +Cc: 22878
> From: Mark Karpov <markkarpov@openmailbox.org>
> Cc: 22878@debbugs.gnu.org
> Date: Thu, 03 Mar 2016 12:13:03 +0600
>
> .travis.yml just executes that python script. I don't know where it
> hangs exactly, but here is Emacs Lisp that is executed:
>
> https://github.com/mrkkrp/dot-emacs/blob/master/init.el
>
> And here is ‘mk-compile-init-files’ (although I'm sure in hangs *before*
> it, because compiling of files pints to console):
>
> https://github.com/mrkkrp/dot-emacs/blob/master/mk/mk-utils.el#L463
>
> So basically, I think problem is here:
>
> (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
>
> (package-initialize)
>
> (unless package-archive-contents
> (package-refresh-contents))
>
> (dolist (package package-selected-packages)
> (when (and (assq package package-archive-contents)
> (not (package-installed-p package)))
> (package-install package t)))
>
> The logs confirm this:
>
> Starting initial startup
>
> Loading /home/travis/build/mrkkrp/dot-emacs/init.el (source)...
>
> Importing package-keyring.gpg...
>
> Importing package-keyring.gpg...done
>
> Making url-show-status local to *http melpa.org:80* while let-bound!
>
> No output has been received in the last 10m0s, this potentially
> indicates a stalled build or something wrong with the build itself.
I'm still not sure I'm following. Which of the above forms is the one
where Emacs hangs?
Also, can you attach a debugger to it when it hangs and tell what you
see in the debugger?
Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22878: 25.1.50; Emacs hangs on startup
2016-03-03 20:59 ` Eli Zaretskii
@ 2016-03-13 4:46 ` Mark Karpov
2016-03-13 16:10 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Mark Karpov @ 2016-03-13 4:46 UTC (permalink / raw
To: Eli Zaretskii; +Cc: 22878
FYI, it works again with current master:
https://travis-ci.org/mrkkrp/dot-emacs#L4425
Maybe you can close this, but I'm not sure this won't break again.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22878: 25.1.50; Emacs hangs on startup
2016-03-13 4:46 ` Mark Karpov
@ 2016-03-13 16:10 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2016-03-13 16:10 UTC (permalink / raw
To: Mark Karpov; +Cc: 22878
> From: Mark Karpov <markkarpov@openmailbox.org>
> CC: 22878@debbugs.gnu.org
> Date: Sun, 13 Mar 2016 10:46:14 +0600
>
>
> FYI, it works again with current master:
>
> https://travis-ci.org/mrkkrp/dot-emacs#L4425
>
> Maybe you can close this, but I'm not sure this won't break again.
Thanks. I'd still prefer to have my questions answered (probably with
an older build which did show the problem). Otherwise, we are relying
on luck to solve this problem, which usually doesn't work.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-03-13 16:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02 4:19 bug#22878: 25.1.50; Emacs hangs on startup Mark Karpov
2016-03-02 15:49 ` Eli Zaretskii
2016-03-03 6:13 ` Mark Karpov
2016-03-03 20:59 ` Eli Zaretskii
2016-03-13 4:46 ` Mark Karpov
2016-03-13 16:10 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.