From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#21738: 25.0.50; eww freezes/crashes at times Date: Fri, 23 Oct 2015 17:16:23 -0400 Message-ID: References: <83oafqrs3u.fsf@gnu.org> <8337x1zmiz.fsf@gnu.org> <83vb9xxune.fsf@gnu.org> <83twphxtab.fsf@gnu.org> <83r3klxs1k.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1445635118 20315 80.91.229.3 (23 Oct 2015 21:18:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 21:18:38 +0000 (UTC) Cc: 21738@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 23 23:18:29 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zpjj5-00075j-VO for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 23:18:16 +0200 Original-Received: from localhost ([::1]:41674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpjj0-0001t9-9w for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Oct 2015 17:18:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpjiv-0001t2-Oe for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 17:18:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpjis-0002bf-Go for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 17:18:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpjis-0002bG-EL for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 17:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zpjir-0007oz-Vu for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2015 17:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Oct 2015 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21738 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21738-submit@debbugs.gnu.org id=B21738.144563504530017 (code B ref 21738); Fri, 23 Oct 2015 21:18:01 +0000 Original-Received: (at 21738) by debbugs.gnu.org; 23 Oct 2015 21:17:25 +0000 Original-Received: from localhost ([127.0.0.1]:35238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpjiG-0007o4-II for submit@debbugs.gnu.org; Fri, 23 Oct 2015 17:17:24 -0400 Original-Received: from mail-oi0-f51.google.com ([209.85.218.51]:34984) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zpjhv-0007nb-Tm for 21738@debbugs.gnu.org; Fri, 23 Oct 2015 17:17:22 -0400 Original-Received: by oifu63 with SMTP id u63so30164693oif.2 for <21738@debbugs.gnu.org>; Fri, 23 Oct 2015 14:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=I4rD1frVrOpJ2Inob/s9Yr3hX5/Xf2rjjiy/q6JZbJM=; b=gylmPZllmdxIaMyEtjpzVOQznImN8MfFQ1sDkYORejRS9SG6BvoexGXuz4BiUhVl7I 9SMtW9vPQbPXZcOjLssyaxo9nA2wAK1+9uJ3EzNxZWrU1ZJp0BAvXMmUv9XvxJGQDmqH VW7ghV8L42LyXgVg3rw8xhXT7oohw+X7Lyt+mWfr7JFs2QKERp9qsdS4Yt6GgZE3x347 WsA4Vfw6Sqmj/eUSmWMBbKDc4I4uo25ygQrPC9dQv9qSAotmOJFltuHN6hfFBHHF/d9D aOzRsV66mniC6aZ6sybIQbUnuq7Su9pR7kvvcy1BaD0Zu/w1pfFUBSytOTCMOTP8wGej ksRg== X-Received: by 10.202.221.68 with SMTP id u65mr16092248oig.34.1445635023271; Fri, 23 Oct 2015 14:17:03 -0700 (PDT) Original-Received: by 10.202.44.8 with HTTP; Fri, 23 Oct 2015 14:16:23 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107950 Archived-At: I updated and rebuilt (without imagemagick). I still get the same problem if I load eww in a 2-window frame, with fci loaded. eww loads that webpage fine after I do C-x 1. Backtrace after C-g and debug-on-quit set to t: window-end(# updated) #[(w) "\301 !\302 \303\"B\207" [w window-start window-end updated] 4](#) mapcar(#[(w) "\301 !\302 \303\"B\207" [w window-start window-end updated] 4] (#)) fci-delete-unneeded() fci-redraw-frame() set-window-buffer(nil #) shr-render-td-1((td ((class . "Body") (shr-td-cache-natural . 222) (shr-td-cache-10-nil 217 222 1 (#("Yank." 0 1 (face variable-pitch shr-indentation nil) 1 5 (face variable-pitch))) 1 nil nil)) "\n Yank.\n ") 268 t) shr-render-td((td ((class . "Body") (shr-td-cache-natural . 222) (shr-td-cache-10-nil 217 222 1 (#("Yank." 0 1 (face variable-pitch shr-indentation nil) 1 5 (face variable-pitch))) 1 nil nil)) "\n Yank.\n ") 268 t) -- Kaushal Modi On Fri, Oct 23, 2015 at 4:43 PM, Kaushal Modi wrote: >> The bug is nasty.. probably in the package or my config (need to yet >> figure that out). > > I am pretty sure, it is this piece of code in fill-column-indicator.el! > > ;; Hooks we use. > (defconst fci-hook-assignments > '((after-change-functions fci-redraw-region t t) > (before-change-functions fci-extend-rule-for-deletion nil t) > (window-scroll-functions fci-update-window-for-scroll nil t) > (window-configuration-change-hook fci-redraw-frame) ; > <-------------------------------------------------------------- > (post-command-hook fci-post-command-check nil t) > (change-major-mode-hook turn-off-fci-mode nil t) > (longlines-mode-hook fci-update-all-windows nil t))) > > But the definition of fci-redraw-frame has "(when fci-mode" too > > (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)))) > (dolist (buf bufs) > (with-current-buffer buf > (when fci-mode > (fci-delete-unneeded) > (fci-update-all-windows)))))) > > So I am at loss why it is freezing eww if one of the other windows has > fci enabled. I checked that "C-h v fci-mode" returns nil in the eww > buffer.