From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#47094: 27.1; emacs dies with XBM display Date: Fri, 12 Mar 2021 22:08:10 +0000 Message-ID: References: <86czw4hdxn.fsf@gmail.com> <83ft10lf0j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14503"; mail-complaints-to="usenet@ciao.gmane.io" To: 47094@debbugs.gnu.org, eliz@gnu.org, ynyaaa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 12 23:09:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKpyA-0003dx-6h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 23:09:18 +0100 Original-Received: from localhost ([::1]:50666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKpy9-00040D-98 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 17:09:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKpxu-000406-Ni for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 17:09:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKpxu-0004JK-Fj for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 17:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKpxu-0006EB-Ap for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 17:09:02 -0500 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 47094-submit@debbugs.gnu.org id=B47094.161558690323893 (code B ref 47094); Fri, 12 Mar 2021 22:09:02 +0000 Original-Received: (at 47094) by debbugs.gnu.org; 12 Mar 2021 22:08:23 +0000 Original-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 Original-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 Original-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) Original-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== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id A5BDE202AEC7D2; Fri, 12 Mar 2021 22:08:10 +0000 (GMT) Mail-Followup-To: Alan Third , 47094@debbugs.gnu.org, eliz@gnu.org, ynyaaa@gmail.com Content-Disposition: inline In-Reply-To: <83ft10lf0j.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202213 Archived-At: 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