From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 02:27:02 2021 Received: (at submit) by debbugs.gnu.org; 4 Dec 2021 07:27:02 +0000 Received: from localhost ([127.0.0.1]:52835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtPRl-00037r-Gz for submit@debbugs.gnu.org; Sat, 04 Dec 2021 02:27:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:46616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtPRj-00037i-26 for submit@debbugs.gnu.org; Sat, 04 Dec 2021 02:27:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtPRh-0001QQ-FN for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 02:26:58 -0500 Received: from mail.parknet.co.jp ([210.171.160.6]:36044) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtPRd-0002sJ-0W for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 02:26:56 -0500 Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id 7971714CD00 for ; Sat, 4 Dec 2021 16:26:40 +0900 (JST) Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.16.1/8.16.1/Debian-2) with ESMTPS id 1B47QcRm115646 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sat, 4 Dec 2021 16:26:39 +0900 Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.16.1/8.16.1/Debian-2) with ESMTPS id 1B47QbBB561040 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sat, 4 Dec 2021 16:26:37 +0900 Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.16.1/8.16.1/Submit) id 1B47Qbrp561039; Sat, 4 Dec 2021 16:26:37 +0900 From: OGAWA Hirofumi To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Infinite loop in `pixel-fill--fill-line' Date: Sat, 04 Dec 2021 16:26:37 +0900 Message-ID: <87a6hgrfte.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=210.171.160.6; envelope-from=hirofumi@parknet.co.jp; helo=mail.parknet.co.jp X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) (with-temp-buffer (require 'gnus-art) (set-fontset-font nil 'ascii "-*-DejaVu Sans Mono-*-12-*-*") (set-frame-width nil 80) (insert (propertize "Reply-To: \"no-reply\" " 'face 'gnus-header)) (goto-char (point-min)) (pixel-fill-region (point) (point-max) (pixel-fill-width))) Above simplified reproduce code never be returned from `pixel-fill--fill-line'. The following is an annotated code by some debug while reproducing. (while (not (eolp)) ; (eolp) => nil, (not ...) => t ;; We have to do some folding. First find the first previous ;; point suitable for folding. (if (or (not (pixel-fill-find-fill-point (line-beginning-position))) ; (pixel-fill-find-fill-point ...) => nil (= (point) start)) ;; We had unbreakable text (for this width), so just go to ;; the first space and carry on. (progn (beginning-of-line) (skip-chars-forward " ") (search-forward " " (line-end-position) 'move))) ;; Success; continue. (when (= (preceding-char) ?\s) ; (preceding-char) => 62, (= ...) => nil (delete-char -1)) (unless (eobp) ; (eobp) => t (insert ?\n) (when (> indentation 0) (insert (propertize " " 'display (list 'space :align-to (list indentation)))))) (setq start (point)) ; (point) => 96 (pixel-fill--goto-pixel width)))) ; width => 545, (point) => 95 Thanks. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) of 2021-12-04 built on devron Repository revision: be1359884f68a3c8f8041be5579e6c5268d42d9a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-x-toolkit=gtk3 --without-xim --with-imagemagick --with-wide-int --with-native-compilation --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t flycheck-pos-tip-mode: t global-flycheck-mode: t global-company-mode: t company-mode: t auto-insert-mode: t yas-global-mode: t yas-minor-mode: t electric-pair-mode: t savehist-mode: t icomplete-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-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 buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /usr/local/share/emacs/site-lisp/git-modes/git-modes-autoloads hides /usr/local/share/emacs/site-lisp/elpa/git-modes-20211020.2306/git-modes-autoloads Features: (shadow bbdb-message mailalias emacsbug sendmail mule-util sort gnus-cite shr-color color mm-archive mail-extr gnus-async gnus-bcklg bbdb-gnus-aux qp gnus-ml disp-table hl-line elfeed-show elfeed-search bookmark elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib thingatpt avl-tree url-queue xml-query gnus-topic pp url-http url-gw url-cache utf-7 epa-file gnutls network-stream nsm nnfolder bbdb-gnus nnnil bbdb-mua spam spam-stat bbdb-com crm bbdb bbdb-site timezone gnus-uu yenc gnus-demon gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr pixel-fill kinsoku svg dom nndraft nnmh gnus-xoauth2 oauth2-ext plstore gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message yank-media rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date mail-utils mm-util mail-prsvr wid-edit dired-aux dircolors-faces dired-x dired dired-loaddefs company-yasnippet flyspell ispell server bbdb-loaddefs auth-source-pass rfc-autoloads url-auth debian-autoloads langtool-autoloads generic-x git-modes-autoloads flycheck-relint relint compile text-property-search comint xr flycheck-pos-tip pos-tip flycheck ansi-color find-func rx dash company-cscope company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase autoinsert cl-extra yasnippet help-mode elec-pair savehist browse-kill-ring delsel tab-bar-session desktop frameset icomplete mozc-popup popup mozc-im-indicater mozc-im advice mozc info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib japan-util iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 396829 121763) (symbols 48 24976 7) (strings 32 200050 13106) (string-bytes 1 7537649) (vectors 16 91875) (vector-slots 8 1734585 70232) (floats 8 9633 409) (intervals 56 1788 826) (buffers 992 27)) -- OGAWA Hirofumi From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 14:39:23 2021 Received: (at 52271) by debbugs.gnu.org; 4 Dec 2021 19:39:23 +0000 Received: from localhost ([127.0.0.1]:55020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtasV-0007X9-IX for submit@debbugs.gnu.org; Sat, 04 Dec 2021 14:39:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtasT-0007Wt-IT for 52271@debbugs.gnu.org; Sat, 04 Dec 2021 14:39:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AErBo0ty3o3H0LB865Zuu4FixJvxBKK/j2E5BYsFDOo=; b=cKmXHNTgGNxz7yHPV02vGj0+l+ z0f1gvm4qFrZJy2nEE2tLsZC3uvxs67cuEU2x/bgOOisYYcgBPUDz5l6sUTs7UgLBwFv5f5eB0/xk vckxgqJP/nTZCRNV77ja2aiGRWdkp9v8QqZyFYEPc8zLXACUZlnZs9Xk2KWICZevm8Ro=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtasE-0008HB-BC; Sat, 04 Dec 2021 20:39:12 +0100 From: Lars Ingebrigtsen To: OGAWA Hirofumi Subject: Re: bug#52271: 29.0.50; Infinite loop in `pixel-fill--fill-line' References: <87a6hgrfte.fsf@mail.parknet.co.jp> X-Now-Playing: Pink Floyd's _Wish You Were Here_: "Wish You Were Here" Date: Sat, 04 Dec 2021 20:39:02 +0100 In-Reply-To: <87a6hgrfte.fsf@mail.parknet.co.jp> (OGAWA Hirofumi's message of "Sat, 04 Dec 2021 16:26:37 +0900") Message-ID: <87czmc5fe1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: OGAWA Hirofumi writes: > (with-temp-buffer > (require 'gnus-art) > (set-fontset-font nil 'ascii "-*-DejaVu Sans Mono-*-12-*-*") > (set-frame-width nil 80) > (insert (propertize "Reply-To: \"no-reply\" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) OGAWA Hirofumi writes: > (with-temp-buffer > (require 'gnus-art) > (set-fontset-font nil 'ascii "-*-DejaVu Sans Mono-*-12-*-*") > (set-frame-width nil 80) > (insert (propertize "Reply-To: \"no-reply\" " 'face 'gnus-header)) > (goto-char (point-min)) > (pixel-fill-region (point) (point-max) (pixel-fill-width))) > > Above simplified reproduce code never be returned from > `pixel-fill--fill-line'. The following is an annotated code by some > debug while reproducing. I think I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 04 14:39:26 2021 Received: (at control) by debbugs.gnu.org; 4 Dec 2021 19:39:26 +0000 Received: from localhost ([127.0.0.1]:55023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtasX-0007XN-PH for submit@debbugs.gnu.org; Sat, 04 Dec 2021 14:39:25 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtasW-0007Wx-8p for control@debbugs.gnu.org; Sat, 04 Dec 2021 14:39:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9mI9bVX12WmBU/bSWidg69a6mSX++E2uHRWZX2JquyA=; b=belhS7sNmuw/AwFEqxnSm+alsT Qy0/tKnVzUXnZWf1OKaZJV1VIR2VHTvKtiIKYDA64O7MeZ1Gh3TwuTT5A+MGkl5v3x+mhXxzjA1F+ gLzM+hyv7XspK3j7dOHnDE+JZ0qhYnTdv4AtdDG2f/sr55lb/6u1K6hZag6SYS3vzfU0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtasO-0008IB-By for control@debbugs.gnu.org; Sat, 04 Dec 2021 20:39:18 +0100 Date: Sat, 04 Dec 2021 20:39:15 +0100 Message-Id: <87bl1w5fdo.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #52271 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 52271 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 52271 29.1 quit From unknown Thu Aug 14 22:18:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Jan 2022 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator