From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#5676: 23.1.93; scroll bar redisplay bug locks up Emacs hard Date: Wed, 03 Mar 2010 19:56:16 +0100 Message-ID: <871vg1cjzj.fsf@escher.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1267646164 19794 80.91.229.12 (3 Mar 2010 19:56:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Mar 2010 19:56:04 +0000 (UTC) To: 5676@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 03 20:56:00 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nmufj-0001o2-6n for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Mar 2010 20:55:55 +0100 Original-Received: from localhost ([127.0.0.1]:48164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nmufi-0008Nn-Mr for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Mar 2010 14:55:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmuAw-0007Mw-Nm for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 14:24:06 -0500 Original-Received: from [140.186.70.92] (port=58369 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmuAv-0007Me-O9 for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 14:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmuAv-00038c-1C for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 14:24:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46261) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmuAu-00038W-Sk for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 14:24:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nmtkj-0002Ro-VK; Wed, 03 Mar 2010 13:57:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Mar 2010 18:57:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5676 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12676426059399 (code B ref -1); Wed, 03 Mar 2010 18:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2010 18:56:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmtkT-0002RY-Cc for submit@debbugs.gnu.org; Wed, 03 Mar 2010 13:56:45 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmtkR-0002RT-VA for submit@debbugs.gnu.org; Wed, 03 Mar 2010 13:56:44 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:45360 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmtkN-0005jk-K2 for submit@debbugs.gnu.org; Wed, 03 Mar 2010 13:56:39 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NmtkJ-0001KF-Vk for submit@debbugs.gnu.org; Wed, 03 Mar 2010 13:56:39 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:59027) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NmtkJ-0001KB-Pb for submit@debbugs.gnu.org; Wed, 03 Mar 2010 13:56:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmtkJ-0005SP-DZ for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 13:56:35 -0500 Original-Received: from [140.186.70.92] (port=59756 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmtkH-0005S2-ER for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 13:56:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmtkG-0000TO-Sr for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 13:56:33 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:60704) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NmtkG-0000TC-Ex for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2010 13:56:32 -0500 Original-Received: (qmail invoked by alias); 03 Mar 2010 18:56:18 -0000 Original-Received: from i59F5724C.versanet.de (EHLO escher.home) [89.245.114.76] by mail.gmx.net (mp008) with SMTP; 03 Mar 2010 19:56:18 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19Lk9IgWWRLMwvt3arJflmkd1sNW/NTfhg/+C9T/6 /VWf9ZbCo5ZbFp Original-Received: by escher.home (Postfix, from userid 1000) id 372B71027F; Wed, 3 Mar 2010 19:56:17 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.48999999999999999 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 03 Mar 2010 13:57:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35405 Archived-At: --=-=-= (I used M-x report-emacs-bug to report a bug, and it bounced, with this feedback from the mailer-daemon: "A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: bug-gnu-emacs@gnu.org". The report included two long backtraces and perhaps the length is a problem. So I'm trying to repost now without the backtraces. If this works, I'll send the backtraces in separate followups.) In GNU Emacs 23.1.93.1 (i686-pc-linux-gnu, GTK+ Version 2.18.6) of 2010-03-02 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10605000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t I've encountered a redisplay bug which locks up Emacs completely, C-g has no effect. I've seen two manifestions resulting from essentially the same recipe, both involving the scroll bar. In one manifestation, the scroll bar vanishes when Emacs locks up; in the other, the scroll bar flickers very rapidly. I haven't been able to pin down exactly when which manifestation occurs; maybe it's a timing issue. However, the lock up is reproducible, but under rather complex conditions. I've managed to pare down my initializations to a minimum amount that induces the lock up. Here is the recipe: 1. Let ~/.emacs consist of the attached file. This loads the third party library tabbar.el, available at , so make sure to adjust the path in the load sexp. 2. Let ~/.newsrc consist of the following line: gmane.linux.suse.opensuse.user: 1-110249 (Also, maybe there shouldn't be a nonempty directory ~/News/, though it might not matter). 3. Start emacs. 4. Type M-x gnus, and when the Group buffer comes up, enter the newsgroup gmane.linux.suse.opensuse.user 5. Type `j' (gnus-summary-goto-article) and at the prompt paste in this Message-ID: 20100301190055.GP15950@wahoo.no-ip.org => The scroll bar disappears and Emacs locks up hard. I've reproduced this under gdb and gotten two different backtraces, which I will post in followups, if this report makes it into the bugtracker. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=.emacs_test Content-Transfer-Encoding: quoted-printable Content-Description: test .emacs (load "~/.emacs.d/site-lisp/tabbar.el") (tabbar-mode 1) (setq gnus-select-method '(nntp "news.gmane.org")) (defun gnus-article-variable-pitch-mode (&optional arg) "Apply `variable-pitch-mode' in article buffer." (interactive (list (or current-prefix-arg (quote toggle)))) (with-current-buffer gnus-article-buffer (variable-pitch-mode arg))) (add-hook 'gnus-article-mode-hook (lambda () (variable-pitch-mode t))) (defvar buffer-percent-mode t "Non-nil means display value of point in mode line.") (defun buffer-percent-mode () "Display in mode line percent of buffer above bottom of window. Perhaps plus Top, or print Bottom or All." (interactive) (setq buffer-percent-mode (unless buffer-percent-mode (not buffer-percent-mode)))) (defvar point-mode t "Non-nil means display value of point in mode line.") (defun point-mode (arg) "Toggle Point mode. With arg, turn Point mode on iff arg is positive. When Point mode is enabled, the value of point appears in the mode line." (interactive "P") (setq point-mode (if (null arg) (not point-mode) (> (prefix-numeric-value arg) 0))) (force-mode-line-update)) (require 'time) (defface srb-mode-line-time (list '(default (:weight bold :inherit variable-pitch))) "Face for the time string in display-time-string-forms") (display-time-mode 1) (custom-set-variables '(column-number-mode t) '(display-time-string-forms=20 (quote=20 ((if (and (not display-time-format) display-time-day-and-date) (format-time-string "%a %b %e " now) "")=20 (propertize=20 (format-time-string=20 (or display-time-format=20 (if display-time-24hr-format "%H:%M" "%-I:%M%p")) now) (quote face) (quote srb-mode-line-time) ) ))) '(gnus-home-directory "~") '(initial-frame-alist (quote ((menu-bar-lines . 1) (tool-bar-lines . 1) (w= idth . 85) (height . 58)))) '(mode-line-position=20 (quote=20 ( (buffer-percent-mode (-3 #("%p" 0 2 (help-echo "mouse-1: select (drag = to resize), mouse-2: delete others, mouse-3: delete this")))) (line-number-mode #(" L%l" 0 4 (help-echo "mouse-1: select (drag to re= size), mouse-2: delete others, mouse-3: delete this" auto-composed t))) (column-number-mode #(" C%c" 0 4 (help-echo "mouse-1: select (drag to = resize), mouse-2: delete others, mouse-3: delete this" auto-composed t))) (point-mode (:propertize (:eval (concat " P" (number-to-string (point)= ))) help-echo "mouse-1: goto position #" local-map (keymap (mode-line keyma= p (mouse-1 . goto-char))))) ))) ) (custom-set-faces '(mode-line ((t (:inherit variable-pitch :overline "black" :underline "bla= ck" :width condensed)))) '(tabbar-button ((t (:inherit tabbar-default)))) '(tabbar-default ((nil (:inherit variable-pitch :underline nil :height 85 = :width condensed)))) '(variable-pitch ((t (:family "Dejavu Sans"))))) --=-=-=--