unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Seppo Ronkainen <sodr80@protonmail.com>
Cc: 63283@debbugs.gnu.org
Subject: bug#63283: Emacs crash within fontset
Date: Fri, 05 May 2023 07:37:02 +0300	[thread overview]
Message-ID: <83wn1njswh.fsf@gnu.org> (raw)
In-Reply-To: <K4p_44K7v8wGZnsq-Hsci5Iv6H4BbyRjL3DrUXbmSAqAfkLMqyNCKMKaZS9--oMARVadfmIF7QFEOznabgO7LG7hsKUDc8WS5Txciy1UrKY=@protonmail.com> (bug-gnu-emacs@gnu.org)

> Date: Thu, 04 May 2023 19:04:48 +0000
> From:  Seppo Ronkainen via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> run Emacs without configuration and after one second increase the font size a few times
> #+begin_src sh
>   PATH="/home/user/.local/emacs-29.0.90_minimal/inst/bin:${PATH}" gdb --ex run --args emacs -Q ~/examplefilewithunicodetext --eval "(run-at-time 1 '() (lambda() (dotimes (i 10) (text-scale-adjust 1))))"
> #+end_src
> 
> expected behavior: emacs resizes the font
> 
> observed behavior: gdb reports emacs defect in fontset.c on line 555
> src/fontset.c:549
> #+begin_src c
> /* 549 */ static Lisp_Object
> /* 550 */ fontset_find_font (Lisp_Object fontset, int c, struct face /* *fa */ce,
> /* 551 */                    int charset_id, bool fallback)
> /* 552 */ {
> /* 553 */   Lisp_Object vec, font_group;
> /* 554 */   int i, charset_matched = 0, found_index;
> /* 555 */   struct frame *f = (FRAMEP (FONTSET_FRAME (fontset))
> /* 556 */                      ? XFRAME (FONTSET_FRAME (fontset))
> /* 557 */                      : XFRAME (selected_frame));
> #+end_src
> 
> #+begin_export
> 0x00000055557864c8 in fontset_find_font (fontset=fontset@entry=0x20, c=c@entry=12302, face=face@entry=0x5556519100, 
>     charset_id=charset_id@entry=-1, fallback=fallback@entry=false) at fontset.c:555
> 555       struct frame *f = (FRAMEP (FONTSET_FRAME (fontset))
> #+end_export

What do you mean by "gdb reports emacs defect"?  Please show the
complete GDB session, including everything that GDB shows on screen.

Also please send the data about your Emacs and system configuration,
as collected by "M-x report-emacs-bug RET".

Thanks.





  parent reply	other threads:[~2023-05-05  4:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-04 19:04 bug#63283: Emacs crash within fontset Seppo Ronkainen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-05  3:19 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-05  4:37 ` Eli Zaretskii [this message]
     [not found]   ` <O0y0FC8UdwKgg50s40rJP5ahH61bZfOHqEE6soqVPHCOnUr0PvUNonc9GL2dmbHDWiwZBu_6Pc29DlpXNQE80C5vQJRrgGza-nVbU_OczfY=@protonmail.com>
2023-05-06 10:20     ` Eli Zaretskii
2023-05-06 19:12       ` Seppo Ronkainen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-06 19:33         ` Eli Zaretskii
2023-05-06 22:36           ` Seppo Ronkainen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-07  6:48             ` Eli Zaretskii
2023-05-08 21:22               ` Seppo Ronkainen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-09  5:26                 ` 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=83wn1njswh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=63283@debbugs.gnu.org \
    --cc=sodr80@protonmail.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).