From unknown Wed Jul 09 14:55:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47094: 27.1; emacs dies with XBM display Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 10:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 47094@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16155443822098 (code B ref -1); Fri, 12 Mar 2021 10:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2021 10:19:42 +0000 Received: from localhost ([127.0.0.1]:56097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKetR-0000Xm-VG for submit@debbugs.gnu.org; Fri, 12 Mar 2021 05:19:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:51940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKetQ-0000Xe-Bj for submit@debbugs.gnu.org; Fri, 12 Mar 2021 05:19:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKetQ-0007Gq-4K for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 05:19:40 -0500 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:56182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKetN-0004d1-G1 for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 05:19:39 -0500 Received: by mail-pj1-x102a.google.com with SMTP id bt4so4936998pjb.5 for ; Fri, 12 Mar 2021 02:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=MNI6UGxhanwncFpX7y5rzWzFpREpUoDswFbhXLiXvgE=; b=hzEM1PquGTl1oivD9lr3bTwOW5krcV5LVqHB9cbZfKrdgAaGkozxQMG7bplnbZr4zX PCcIVO3QmScXfxhNvFIb4QhOvNdB541Cxytalp1GhgBi8EfmD7cGCwecPRmCAxBUYn09 zh9rgnBKcP6Ljk9ipmKOXE/RX7/qOaQy8VkGJx5VT3WpUDukpUZwj5bhDydqqWwjvU+x bOabGifC5AcEZwSbbAmG30Zy8ksV2/FE5ozPwYT2c481WMNLcJxMphxhUjg1E4lz3wSS 4jPCP21hF8233O48hSJZHteog0rGVD81vpHI3GmR1fanE1skHbDOl6P/tAaTRRNNyyrM GR3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=MNI6UGxhanwncFpX7y5rzWzFpREpUoDswFbhXLiXvgE=; b=r9U+YxzwiYaZ8/74EZ53x9gzhUH89Y1qZI1WW+Vikjyoq3lKHGRwBmBqJwD8WMoW6H JG58Ja2y8bHu1xwyB6HLBFXP77Ae/PAaa6TWM/mnZXWEugxtFSQAgDq+Ou8ixg+1nW4Y hW8PzWufkfiHa+SgSwpwRuWw1MfRh9961ksiDefFPr5L7UsWlYw5WqHFTq9nyRm3w0JS WBnP8RCJxxvbVDdXgHz/XvM2fdZT5AJvxjGpDJ0xkV95FGKbSo37mOUGbbWanXLsVtjx uoh4aeHJfIiK7lDPEla7LwdK1Eo7elhie8B/3zT0yUjDF4ujkFEZ9x4zXTvqEU0PVvX5 VCCQ== X-Gm-Message-State: AOAM533iczXGvKDJUnWJ11iAVy9B53nrZN+5zBEVyVYNJ40w+JwtHRsr 2vLNzfWNtQvDjBXEXyUCvcTG0TuZwh0= X-Google-Smtp-Source: ABdhPJzR0HDIphZcEHYjwCdQs2qcdTiwCAndsOp56VAwhwlndgt3EsqT7WGF+dnKfSC4Wg4883J41g== X-Received: by 2002:a17:90b:284:: with SMTP id az4mr4391211pjb.12.1615544375930; Fri, 12 Mar 2021 02:19:35 -0800 (PST) Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110]) by smtp.gmail.com with ESMTPSA id k128sm5211610pfd.137.2021.03.12.02.19.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 02:19:35 -0800 (PST) From: ynyaaa@gmail.com Date: Fri, 12 Mar 2021 19:19:32 +0900 Message-ID: <86czw4hdxn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=ynyaaa@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-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 (--) Try to evaluate the form below, emacs dies before displaying the image. (let* ((w 256) (h 256) (s (make-string (* (/ w 8) h) #x55))) (insert-image (create-image s 'xbm t :width w :height h))) In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379) Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (gnutls network-stream nsm mailalias smtpmail auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs json map jka-compr help-fns radix-tree cl-print debug backtrace find-func ispell misearch multi-isearch mailcap help-mode pp shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/bobcat japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 73868 15520) (symbols 48 8874 1) (strings 32 24577 1463) (string-bytes 1 816558) (vectors 16 14181) (vector-slots 8 274897 18438) (floats 8 29 282) (intervals 56 1670 259) (buffers 1000 18)) From unknown Wed Jul 09 14:55:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ynyaaa@gmail.com Subject: bug#47094: closed (Re: bug#47094: 27.1; emacs dies with XBM display) Message-ID: References: <83ft10lf0j.fsf@gnu.org> <86czw4hdxn.fsf@gmail.com> X-Gnu-PR-Message: they-closed 47094 X-Gnu-PR-Package: emacs Reply-To: 47094@debbugs.gnu.org Date: Fri, 12 Mar 2021 12:43:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1615552982-24797-1" This is a multi-part message in MIME format... ------------=_1615552982-24797-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #47094: 27.1; emacs dies with XBM display which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 47094@debbugs.gnu.org. --=20 47094: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D47094 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1615552982-24797-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 47094-done) by debbugs.gnu.org; 12 Mar 2021 12:42:43 +0000 Received: from localhost ([127.0.0.1]:56243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKh7r-0006RR-IJ for submit@debbugs.gnu.org; Fri, 12 Mar 2021 07:42:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKh7p-0006RE-Hw for 47094-done@debbugs.gnu.org; Fri, 12 Mar 2021 07:42:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45407) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKh7k-0002oE-AB; Fri, 12 Mar 2021 07:42:36 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3579 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKh7j-00049N-6u; Fri, 12 Mar 2021 07:42:35 -0500 Date: Fri, 12 Mar 2021 14:42:36 +0200 Message-Id: <83ft10lf0j.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-Reply-To: <86czw4hdxn.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#47094: 27.1; emacs dies with XBM display References: <86czw4hdxn.fsf@gmail.com> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47094-done Cc: 47094-done@debbugs.gnu.org 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: -1.7 (-) > From: ynyaaa@gmail.com > Date: Fri, 12 Mar 2021 19:19:32 +0900 > > Try to evaluate the form below, emacs dies before displaying the image. > > (let* ((w 256) > (h 256) > (s (make-string (* (/ w 8) h) #x55))) > (insert-image (create-image s 'xbm t :width w :height h))) I can reproduce in Emacs 27, but not on the current master branch. So I guess this has been fixed already, and I'm closing the bug. ------------=_1615552982-24797-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Mar 2021 10:19:42 +0000 Received: from localhost ([127.0.0.1]:56097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKetR-0000Xm-VG for submit@debbugs.gnu.org; Fri, 12 Mar 2021 05:19:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:51940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKetQ-0000Xe-Bj for submit@debbugs.gnu.org; Fri, 12 Mar 2021 05:19:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKetQ-0007Gq-4K for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 05:19:40 -0500 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:56182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKetN-0004d1-G1 for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 05:19:39 -0500 Received: by mail-pj1-x102a.google.com with SMTP id bt4so4936998pjb.5 for ; Fri, 12 Mar 2021 02:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=MNI6UGxhanwncFpX7y5rzWzFpREpUoDswFbhXLiXvgE=; b=hzEM1PquGTl1oivD9lr3bTwOW5krcV5LVqHB9cbZfKrdgAaGkozxQMG7bplnbZr4zX PCcIVO3QmScXfxhNvFIb4QhOvNdB541Cxytalp1GhgBi8EfmD7cGCwecPRmCAxBUYn09 zh9rgnBKcP6Ljk9ipmKOXE/RX7/qOaQy8VkGJx5VT3WpUDukpUZwj5bhDydqqWwjvU+x bOabGifC5AcEZwSbbAmG30Zy8ksV2/FE5ozPwYT2c481WMNLcJxMphxhUjg1E4lz3wSS 4jPCP21hF8233O48hSJZHteog0rGVD81vpHI3GmR1fanE1skHbDOl6P/tAaTRRNNyyrM GR3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=MNI6UGxhanwncFpX7y5rzWzFpREpUoDswFbhXLiXvgE=; b=r9U+YxzwiYaZ8/74EZ53x9gzhUH89Y1qZI1WW+Vikjyoq3lKHGRwBmBqJwD8WMoW6H JG58Ja2y8bHu1xwyB6HLBFXP77Ae/PAaa6TWM/mnZXWEugxtFSQAgDq+Ou8ixg+1nW4Y hW8PzWufkfiHa+SgSwpwRuWw1MfRh9961ksiDefFPr5L7UsWlYw5WqHFTq9nyRm3w0JS WBnP8RCJxxvbVDdXgHz/XvM2fdZT5AJvxjGpDJ0xkV95FGKbSo37mOUGbbWanXLsVtjx uoh4aeHJfIiK7lDPEla7LwdK1Eo7elhie8B/3zT0yUjDF4ujkFEZ9x4zXTvqEU0PVvX5 VCCQ== X-Gm-Message-State: AOAM533iczXGvKDJUnWJ11iAVy9B53nrZN+5zBEVyVYNJ40w+JwtHRsr 2vLNzfWNtQvDjBXEXyUCvcTG0TuZwh0= X-Google-Smtp-Source: ABdhPJzR0HDIphZcEHYjwCdQs2qcdTiwCAndsOp56VAwhwlndgt3EsqT7WGF+dnKfSC4Wg4883J41g== X-Received: by 2002:a17:90b:284:: with SMTP id az4mr4391211pjb.12.1615544375930; Fri, 12 Mar 2021 02:19:35 -0800 (PST) Received: from HP (east42-p109.eaccess.hi-ho.ne.jp. [219.121.173.110]) by smtp.gmail.com with ESMTPSA id k128sm5211610pfd.137.2021.03.12.02.19.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 02:19:35 -0800 (PST) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 27.1; emacs dies with XBM display Date: Fri, 12 Mar 2021 19:19:32 +0900 Message-ID: <86czw4hdxn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=ynyaaa@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 (--) Try to evaluate the form below, emacs dies before displaying the image. (let* ((w 256) (h 256) (s (make-string (* (/ w 8) h) #x55))) (insert-image (create-image s 'xbm t :width w :height h))) In GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22 built on CIRROCUMULUS Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: HEAD Windowing system distributor 'Microsoft Corp.', version 10.0.18363 System Description: Microsoft Windows 10 Pro (v10.0.1909.18363.1379) Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2 HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (gnutls network-stream nsm mailalias smtpmail auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs json map jka-compr help-fns radix-tree cl-print debug backtrace find-func ispell misearch multi-isearch mailcap help-mode pp shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/bobcat japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 73868 15520) (symbols 48 8874 1) (strings 32 24577 1463) (string-bytes 1 816558) (vectors 16 14181) (vector-slots 8 274897 18438) (floats 8 29 282) (intervals 56 1670 259) (buffers 1000 18)) ------------=_1615552982-24797-1-- From unknown Wed Jul 09 14:55:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47094: 27.1; emacs dies with XBM display Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 47094@debbugs.gnu.org, eliz@gnu.org, ynyaaa@gmail.com Received: via spool by 47094-submit@debbugs.gnu.org id=B47094.161558690323893 (code B ref 47094); Fri, 12 Mar 2021 22:09:02 +0000 Received: (at 47094) by debbugs.gnu.org; 12 Mar 2021 22:08:23 +0000 Received: from localhost ([127.0.0.1]:58600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKpxH-0006DJ-07 for submit@debbugs.gnu.org; Fri, 12 Mar 2021 17:08:23 -0500 Received: from outbound.soverin.net ([116.202.65.218]:47769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKpxE-0006D5-CE for 47094@debbugs.gnu.org; Fri, 12 Mar 2021 17:08:21 -0500 Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id B52CB60142; Fri, 12 Mar 2021 22:08:14 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1615586893; bh=35Qkc3coWPYzCc1KxZhMKekE1hsT36JxU1mMrO4K1uI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=gfPJs/1xrsb7AFig2sPylYlerWnYw1YYMFHovyaC2tIVOw91RkPRKWVftsaQYtB20 jWiqDZ2PTCbgaJ84sQnDaWFAqPSxkrUK4EoId8K30tZwX9ZpRRx1D0Cy/ZrZ/JZO2W 8p5N2yTwAo7t7XhEcwKvAFreX8KQGyhutQ6IQdLqRywT4h7it2k8OLyuVefC/tY5De twOGQMQy3o5NlIiDnXd+b0ejhM4hs/XaVvJQUSBV1KwemgyY3YnjJKAB/pYbZ3TOdN 2RkUlvnc9EZYjUXNDiHtt6h8OzfgBO3cwcCmaLnri6kXsNKwfQJinzBvR1oZIkYAni yv4psi7KS7SgQ== Received: by breton.holly.idiocy.org (Postfix, from userid 501) id A5BDE202AEC7D2; Fri, 12 Mar 2021 22:08:10 +0000 (GMT) Date: Fri, 12 Mar 2021 22:08:10 +0000 From: Alan Third Message-ID: Mail-Followup-To: Alan Third , 47094@debbugs.gnu.org, eliz@gnu.org, ynyaaa@gmail.com References: <86czw4hdxn.fsf@gmail.com> <83ft10lf0j.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83ft10lf0j.fsf@gnu.org> X-Spam-Score: -0.7 (/) 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: -1.7 (-) On Fri, Mar 12, 2021 at 02:42:36PM +0200, Eli Zaretskii wrote: > > From: ynyaaa@gmail.com > > Date: Fri, 12 Mar 2021 19:19:32 +0900 > > > > Try to evaluate the form below, emacs dies before displaying the image. > > > > (let* ((w 256) > > (h 256) > > (s (make-string (* (/ w 8) h) #x55))) > > (insert-image (create-image s 'xbm t :width w :height h))) > > I can reproduce in Emacs 27, but not on the current master branch. So > I guess this has been fixed already, and I'm closing the bug. I can reproduce on the master branch. It looks like a stack overflow in xbm_read_bitmap_data. I tried it in a debugger, but the backtrace looks truncated. -- Alan Third From unknown Wed Jul 09 14:55:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47094: 27.1; emacs dies with XBM display Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 07:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: ynyaaa@gmail.com, 47094@debbugs.gnu.org Received: via spool by 47094-submit@debbugs.gnu.org id=B47094.16156199612038 (code B ref 47094); Sat, 13 Mar 2021 07:20:02 +0000 Received: (at 47094) by debbugs.gnu.org; 13 Mar 2021 07:19:21 +0000 Received: from localhost ([127.0.0.1]:58952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKyYT-0000Wo-5L for submit@debbugs.gnu.org; Sat, 13 Mar 2021 02:19:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKyYR-0000Wa-3X for 47094@debbugs.gnu.org; Sat, 13 Mar 2021 02:19:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59283) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKyYL-0003Ob-Ea; Sat, 13 Mar 2021 02:19:13 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1413 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKyYK-0001NY-P4; Sat, 13 Mar 2021 02:19:13 -0500 Date: Sat, 13 Mar 2021 09:19:17 +0200 Message-Id: <83im5vjzbe.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Alan Third on Fri, 12 Mar 2021 22:08:10 +0000) References: <86czw4hdxn.fsf@gmail.com> <83ft10lf0j.fsf@gnu.org> X-Spam-Score: -0.7 (/) 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: -1.7 (-) > Date: Fri, 12 Mar 2021 22:08:10 +0000 > From: Alan Third > > > > (let* ((w 256) > > > (h 256) > > > (s (make-string (* (/ w 8) h) #x55))) > > > (insert-image (create-image s 'xbm t :width w :height h))) > > > > I can reproduce in Emacs 27, but not on the current master branch. So > > I guess this has been fixed already, and I'm closing the bug. > > I can reproduce on the master branch. It looks like a stack overflow > in xbm_read_bitmap_data. I did indeed get an infinite recursion on the emacs-27 branch, but not on master. > I tried it in a debugger, but the backtrace looks truncated. Before or after SIGSEGV? If it's after, then it isn't surprising you get a truncated backtrace. I think if you see the infinite recursion we should understand why it happens in the first place, and try to prevent it. From unknown Wed Jul 09 14:55:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47094: 27.1; emacs dies with XBM display Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: ynyaaa@gmail.com, 47094@debbugs.gnu.org Received: via spool by 47094-submit@debbugs.gnu.org id=B47094.16156732525065 (code B ref 47094); Sat, 13 Mar 2021 22:08:02 +0000 Received: (at 47094) by debbugs.gnu.org; 13 Mar 2021 22:07:32 +0000 Received: from localhost ([127.0.0.1]:60865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLCPz-0001Jd-RT for submit@debbugs.gnu.org; Sat, 13 Mar 2021 17:07:32 -0500 Received: from outbound.soverin.net ([116.202.65.218]:59641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLCPv-0001JN-L2 for 47094@debbugs.gnu.org; Sat, 13 Mar 2021 17:07:30 -0500 Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id D79D0600D0; Sat, 13 Mar 2021 22:07:21 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1615673241; bh=4nPSj3ZOwUeZG4J4TMzGyIfbFn1LzXypHQ+Bu/6Q6hQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H/HfATcs52yR7+D8l66VNAmTWy/UChkF0RPrmzQJuignS0yfk1QmKkeB5JCb5D4OT fwAyC5qKHbT1HLPR3owoqdlWKmR0BX73cZcLWcq9MH3JgG1w4GO2dafo454sXp1jTn XR+pWyCKLB2K2kN+2/1U24CVkeYe9dr+aGIycxslbTd/4YJ71r5wGDe2NzIUFelXQK NvevKN74PW9pCThn0ZRCbatiQ+d0D3PUWUo9z7MAqrjsAr3A/xTc8mU6+rZTpAWgKO 0rjdeHGhbNJ/8YGdRIfqZE1+kiaep9nBGauiHeFpUQlDzSlcnXo6YBp+J5aNaFZF6R GiO6IJ+l3boLA== Received: by breton.holly.idiocy.org (Postfix, from userid 501) id BF105202AF2123; Sat, 13 Mar 2021 22:07:14 +0000 (GMT) Date: Sat, 13 Mar 2021 22:07:14 +0000 From: Alan Third Message-ID: Mail-Followup-To: Alan Third , Eli Zaretskii , ynyaaa@gmail.com, 47094@debbugs.gnu.org References: <86czw4hdxn.fsf@gmail.com> <83ft10lf0j.fsf@gnu.org> <83im5vjzbe.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83im5vjzbe.fsf@gnu.org> X-Spam-Score: -0.7 (/) 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: -1.7 (-) On Sat, Mar 13, 2021 at 09:19:17AM +0200, Eli Zaretskii wrote: > > Date: Fri, 12 Mar 2021 22:08:10 +0000 > > From: Alan Third > > > > > > (let* ((w 256) > > > > (h 256) > > > > (s (make-string (* (/ w 8) h) #x55))) > > > > (insert-image (create-image s 'xbm t :width w :height h))) > > > > > > I can reproduce in Emacs 27, but not on the current master branch. So > > > I guess this has been fixed already, and I'm closing the bug. > > > > I can reproduce on the master branch. It looks like a stack overflow > > in xbm_read_bitmap_data. > > I did indeed get an infinite recursion on the emacs-27 branch, but not > on master. > > > I tried it in a debugger, but the backtrace looks truncated. > > Before or after SIGSEGV? If it's after, then it isn't surprising you > get a truncated backtrace. > > I think if you see the infinite recursion we should understand why it > happens in the first place, and try to prevent it. It turns out it was a buffer overflow in xbm_scan that was clobbering the stack. I've pushed a fix to the master branch. -- Alan Third From unknown Wed Jul 09 14:55:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#47094: 27.1; emacs dies with XBM display Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Mar 2021 05:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third Cc: ynyaaa@gmail.com, 47094-done@debbugs.gnu.org Received: via spool by 47094-done@debbugs.gnu.org id=D47094.161570110122350 (code D ref 47094); Sun, 14 Mar 2021 05:52:02 +0000 Received: (at 47094-done) by debbugs.gnu.org; 14 Mar 2021 05:51:41 +0000 Received: from localhost ([127.0.0.1]:32807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLJfB-0005oP-8q for submit@debbugs.gnu.org; Sun, 14 Mar 2021 00:51:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLJf9-0005oC-Eo for 47094-done@debbugs.gnu.org; Sun, 14 Mar 2021 00:51:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47966) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLJf3-0003tR-KW; Sun, 14 Mar 2021 00:51:33 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4947 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLJf2-0004Zs-1g; Sun, 14 Mar 2021 00:51:33 -0500 Date: Sun, 14 Mar 2021 07:51:40 +0200 Message-Id: <83o8fmgu4z.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Alan Third on Sat, 13 Mar 2021 22:07:14 +0000) References: <86czw4hdxn.fsf@gmail.com> <83ft10lf0j.fsf@gnu.org> <83im5vjzbe.fsf@gnu.org> X-Spam-Score: -0.7 (/) 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: -1.7 (-) > Date: Sat, 13 Mar 2021 22:07:14 +0000 > From: Alan Third > Cc: ynyaaa@gmail.com, 47094@debbugs.gnu.org > > It turns out it was a buffer overflow in xbm_scan that was clobbering > the stack. I've pushed a fix to the master branch. Thanks, I've cherry-picked that to the emacs-27 branch.