unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21738@debbugs.gnu.org
Subject: bug#21738: 25.0.50; eww freezes/crashes at times
Date: Fri, 23 Oct 2015 17:29:27 -0400	[thread overview]
Message-ID: <CAFyQvY1CoaOXCnfpZ7h7PeKsh-kQHBgMya1Gce9f=w9kd+fEBQ@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY3JBuerkxH+41KkObn3myf11qhPO9UMk28SLZiYJNuG0A@mail.gmail.com>

I put some debug statements in the fci-redraw-frame () function in
fill-column-indicator:

(defun fci-redraw-frame ()
  "Redraw the fill-column rule in all windows on the selected frame."
  (let* ((wins (window-list (selected-frame) 'no-minibuf))
         (bufs (delete-dups (mapcar #'window-buffer wins))))
    (message "Buffer list: %s" bufs)
    (dolist (buf bufs)
      (with-current-buffer buf
        (when fci-mode
          (message "In buffer %s" buf)
          (fci-delete-unneeded)
          (fci-update-all-windows))))))

After that,
(1) I had the frame with 2 windows.
(2) I had fill-column-indicator.el in one window, and
(3) did M-: (eww "http://www.braveclojure.com/basic-emacs") with point
in the other window.

Emacs of course went into infloop but I was able to get out of it with
C-g, and saw these messages in *Messages* buffer:

Buffer list: (*eww* fill-column-indicator.el)
In buffer fill-column-indicator.el
Contacting host: www.braveclojure.com:80
#<buffer  *http www.braveclojure.com:80*>
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp* fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp*-713219 fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: (eww fill-column-indicator.el)
In buffer fill-column-indicator.el
Buffer list: ( *temp*-364654 fill-column-indicator.el)
In buffer fill-column-indicator.el

There were many more of such messages

Does the fci-redraw-frame definition above and the fact that it is
added to window-configuration-change-hook give an idea as to what's
causing this infloop?


--
Kaushal Modi





  reply	other threads:[~2015-10-23 21:29 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 22:12 bug#21738: 25.0.50; eww freezes/crashes at times Kaushal Modi
2015-10-22 22:30 ` Wolfgang Jenkner
2015-10-22 22:35   ` Kaushal Modi
2015-10-22 22:37     ` Kaushal Modi
2015-10-23  6:55 ` Eli Zaretskii
2015-10-23 14:01   ` Kaushal Modi
2015-10-23 14:29     ` Eli Zaretskii
2015-10-23 14:41       ` Kaushal Modi
2015-10-23 14:55         ` Eli Zaretskii
2015-10-23 15:46         ` Wolfgang Jenkner
2015-10-23 16:59         ` Glenn Morris
2015-10-23 19:01           ` Kaushal Modi
2015-10-23 19:15             ` Kaushal Modi
2015-10-23 19:16             ` Eli Zaretskii
2015-10-23 19:23               ` Kaushal Modi
2015-10-23 19:27                 ` Kaushal Modi
2015-10-23 19:46                 ` Eli Zaretskii
2015-10-23 19:52                   ` Kaushal Modi
2015-10-23 20:05                     ` Kaushal Modi
2015-10-23 20:12                     ` Eli Zaretskii
2015-10-23 20:35                       ` Kaushal Modi
2015-10-23 20:42                         ` Eli Zaretskii
2015-10-23 20:43                         ` Kaushal Modi
2015-10-23 21:16                           ` Kaushal Modi
2015-10-23 21:29                             ` Kaushal Modi [this message]
2015-10-24  5:22                             ` Eli Zaretskii
2015-10-26 15:26                               ` Kaushal Modi
2015-10-23 16:29       ` Andreas Schwab
2015-10-27 20:25         ` Wolfgang Jenkner
2015-10-27 22:50           ` Kaushal Modi
2015-10-24 15:05 ` Wolfgang Jenkner
2015-10-26 15:22   ` Kaushal Modi
2015-10-27 14:27     ` Wolfgang Jenkner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY1CoaOXCnfpZ7h7PeKsh-kQHBgMya1Gce9f=w9kd+fEBQ@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=21738@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).