all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "YUSUF ALPER ÇIKIŞIR" <yusufcikisir@std.iyte.edu.tr>
Cc: 59715@debbugs.gnu.org
Subject: bug#59715: 28.2; Emacs crashes after ``turkish-case-conversion-enable''
Date: Fri, 02 Dec 2022 09:23:19 +0200	[thread overview]
Message-ID: <837czagtg8.fsf@gnu.org> (raw)
In-Reply-To: <877czarcal.fsf@std.iyte.edu.tr> (yusufcikisir@std.iyte.edu.tr)

> From: YUSUF ALPER ÇIKIŞIR
>  <yusufcikisir@std.iyte.edu.tr>
> Cc: 59715@debbugs.gnu.org
> Date: Fri, 02 Dec 2022 01:26:10 +0300
> 
> Thread 1 (LWP 4992 ".emacs-28.2-rea"):
> #0  0x00007ffff5b17c30 in raise () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0
> #1  0x00000000004257f2 in terminate_due_to_signal ()
> #2  0x0000000000425c88 in emacs_abort ()
> #3  0x0000000000424bb1 in realize_face[cold] ()
> #4  0x00000000004dbb59 in realize_basic_faces ()
> #5  0x00000000004dd23d in recompute_basic_faces ()
> #6  0x00000000004591a5 in init_iterator ()
> #7  0x00000000004654a5 in gui_consider_frame_title ()

OK, now we are getting somewhere, thanks.

First, is it possible that the buffer that was the current one when this
happened had a name with one or more Turkish non-ASCII characters?

Next, please run Emacs under GDB like this:

  $ gdb /path/to/emacs
  ...
  (gdb) break xfaces.c:5847
  (gdb) run

Then repeat what you do to reproduce the problem.  Once the breakpoint
breaks, please do in GDB:

  (gdb) print cache
  (gdb) print cache->f
  (gdb) print cache->f->output_method

If the breakpoint somehow doesn't break, and you end up seeing this:

  Thread 1 ".emacs-28.2-rea" received signal SIGABRT, Aborted.
  0x00007ffff5b17c30 in raise () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0

then do the following:

  (gdb) thread 1
  (gdb) frame 3
  (gdb) print cache
  (gdb) print cache->f
  (gdb) print cache->f->output_method

After "frame 3" make sure GDB says you are inside the call to realize_face,
otherwise the above commands will not produce useful results.  If you are
not inside realize_face, find the number of the callstack frame for
realize_face call and use it instead of 3.  The frame number is the one
shown in the output of the "bt" command, as #NN at the beginning of each
callstack frame.  For example, the frame number for the call to
redisplay_internal below is 8:

> #8  0x0000000000470b39 in redisplay_internal ()
  ^^

> Yes, now I'm using the default emacs-28.2 package in GNU Guix.

Do you happen to know whether this distribution includes any changes to the
upstream Emacs sources, or installs some site-init files that are used
during startup?





  reply	other threads:[~2022-12-02  7:23 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  3:10 bug#59715: 28.2; Emacs crashes after ``turkish-case-conversion-enable'' YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 16:12 ` Eli Zaretskii
2022-12-01  2:11   ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-01  7:26     ` Eli Zaretskii
2022-12-01 22:26       ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-02  7:23         ` Eli Zaretskii [this message]
2022-12-03 22:09         ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04  7:16           ` Eli Zaretskii
2022-12-04  8:29             ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04  8:33             ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04 10:20               ` Eli Zaretskii
2022-12-04 11:44                 ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04 12:09                   ` Eli Zaretskii
2022-12-04 12:17                     ` Eli Zaretskii
2022-12-04 12:46                     ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04 12:56                       ` Eli Zaretskii
2022-12-04 13:10                         ` Eli Zaretskii
2022-12-04 13:21                         ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04 13:39                           ` Eli Zaretskii
2022-12-04 13:56                             ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-04 17:38                               ` Eli Zaretskii
2022-12-05  2:29                                 ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05 13:23                                   ` Eli Zaretskii
2022-12-06 16:09                                     ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-06 16:20                                       ` Eli Zaretskii
2022-12-01  2:23   ` YUSUF ALPER ÇIKIŞIR via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=837czagtg8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59715@debbugs.gnu.org \
    --cc=yusufcikisir@std.iyte.edu.tr \
    /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.