unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Third <alan@idiocy.org>
Cc: ynyaaa@gmail.com, 47094@debbugs.gnu.org
Subject: bug#47094: 27.1; emacs dies with XBM display
Date: Sat, 13 Mar 2021 09:19:17 +0200	[thread overview]
Message-ID: <83im5vjzbe.fsf@gnu.org> (raw)
In-Reply-To: <YEvmSlHWwRSFkCiZ@breton.holly.idiocy.org> (message from Alan Third on Fri, 12 Mar 2021 22:08:10 +0000)

> Date: Fri, 12 Mar 2021 22:08:10 +0000
> From: Alan Third <alan@idiocy.org>
> 
> > > (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.





  reply	other threads:[~2021-03-13  7:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12 10:19 bug#47094: 27.1; emacs dies with XBM display ynyaaa
2021-03-12 12:42 ` Eli Zaretskii
2021-03-12 22:08   ` Alan Third
2021-03-13  7:19     ` Eli Zaretskii [this message]
2021-03-13 22:07       ` Alan Third
2021-03-14  5:51         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83im5vjzbe.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=47094@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=ynyaaa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).