From: Alan Third <alan@idiocy.org>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 44349@debbugs.gnu.org
Subject: bug#44349: 28.0.50; Assertion failure on macOS when resizing frame
Date: Sun, 1 Nov 2020 00:55:29 +0000 [thread overview]
Message-ID: <20201101005529.GO59267@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAArVCkQAMmALO==o3kXk_9fo6vGuN8=-JcNiep2GgJzAbQ2RcQ@mail.gmail.com>
On Sat, Oct 31, 2020 at 04:57:54PM +0100, Philipp Stephani wrote:
> Am Sa., 31. Okt. 2020 um 16:53 Uhr schrieb Philipp <p.stephani2@gmail.com>:
> >
> >
> > 1. Compile Emacs with assertions enabled on macOS.
> > 2. Start it in graphical mode.
> > 3. Try to resize the frame by dragging the lower-right corner.
> >
> > This will trigger an assertion failure
> >
> > doprnt.c:493: Emacs fatal error: assertion failed: ASCII_CHAR_P (fmtchar)
> > Fatal error 6: Aborted
> > Abort trap: 6
> >
<snip>
> frame #8: 0x00000001004a8bec emacs`die(msg="ASCII_CHAR_P
> (fmtchar)", file="doprnt.c", line=493) at alloc.c:7341:3
> frame #9: 0x00000001003c9a9e emacs`doprnt(buffer="*scratch* ",
> bufsize=9223372036854775797, format="%s — (%d x %d)",
> format_end=0x0000000000000000, ap=0x00007ffeefbfb750) at
> doprnt.c:493:4
> frame #10: 0x00000001003ca54d emacs`esprintf(buf="*scratch* ",
> format="%s — (%d x %d)") at doprnt.c:535:12
> frame #11: 0x000000010044364f emacs`-[EmacsView
> windowWillResize:toSize:](self=0x0000000101463a70,
> _cmd="windowWillResize:toSize:", sender=0x0000000101464810,
> frameSize=(width = 598, height = 570)) at nsterm.m:7286:2
Hmm, it's this line:
esprintf (size_title, "%s — (%d x %d)", old_title, cols, rows);
where old_title is UTF8. What is the right thing to do here?
--
Alan Third
next prev parent reply other threads:[~2020-11-01 0:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-31 15:51 bug#44349: 28.0.50; Assertion failure on macOS when resizing frame Philipp
2020-10-31 15:57 ` Philipp Stephani
2020-10-31 16:03 ` Philipp Stephani
2020-10-31 16:35 ` Eli Zaretskii
2020-10-31 16:43 ` Philipp Stephani
2020-10-31 16:52 ` Eli Zaretskii
2020-11-27 22:24 ` Alan Third
2020-11-28 7:51 ` Eli Zaretskii
2020-11-28 22:06 ` Alan Third
2020-11-29 10:27 ` Lars Ingebrigtsen
2020-11-29 15:10 ` Eli Zaretskii
2020-11-29 17:16 ` Alan Third
2020-11-29 17:23 ` Eli Zaretskii
2020-11-29 17:43 ` Alan Third
2020-11-01 0:55 ` Alan Third [this message]
2020-11-01 0:58 ` Alan Third
2020-11-01 1:00 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201101005529.GO59267@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=44349@debbugs.gnu.org \
--cc=p.stephani2@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.