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: Sun, 04 Dec 2022 09:16:03 +0200	[thread overview]
Message-ID: <83zgc3bpvw.fsf@gnu.org> (raw)
In-Reply-To: <87h6ycw35q.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: Sun, 04 Dec 2022 01:09:05 +0300
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Next, please run Emacs under GDB like this:
> >
> >   $ gdb /path/to/emacs
> >   ...
> >   (gdb) break xfaces.c:5847
> >   (gdb) run
> 
> GDB says: "No symbol table is loaded.  Use the "file" command."

The "/path/to/emacs" part was supposed to be the full absolute name of the
Emacs executable.  Was it?

> GNU Guix doesn't suit the FHS.  Maybe this is why GDB couldn't find the
> symbol table, and I don't know how to present it.  Maybe you can help me
> with that.

Sorry, I have no idea what Guix does and how it organizes the installation
tree.  Maybe someone else does.

> I compiled emacs-28.2 on a separate directory and ran that emacs binary
> under GDB.  But now I couldn't reproduce the problem because after the
> "run" command, Emacs never showed up.  Instead, it encountered the
> breakpoint immediately.
> 
> (gdb) break xfaces.c:5847
> Breakpoint 1 at 0x4d8725: file xfaces.c, line 5850.

Note that you said "xfaces.c:5847", but the breakpoint was set on line 5850
instead, which is a different source line.  This is why the breakpoint
breaks immediately at startup.

I believe the problem is that you built Emacs with optimizations.  Please
reconfigure it with

  $ CFLAGS='-O0 -g3' ./configure

and rebuild, then try again with the breakpoint at line 5847 of xfaces.c.
That breakpoint is supposed to break only if Emacs is about to crash by
calling emacs_abort.

> Guix doesn't have any site-init.el, but it had some patches.  I removed
> them but it's still the same.  I compiled vanilla emacs-28.2 as I said.
> It happens anyway.  I discovered that when I change the default
> monospace font to DejaVu Sans Mono, it stopped happening.  The crash was
> probably related to my font choice.  But how could that be?  That font
> didn't lack of any Turkish characters.
> 
> I was using this font:
> https://git.sr.ht/~protesilaos/iosevka-comfy

So the problem happens with the Iosevka font used as the default face's
font, is that right?

Anyway, please do try to produce the data from GDB I asked, with the
problematic font.





  reply	other threads:[~2022-12-04  7:16 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
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 [this message]
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=83zgc3bpvw.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.