From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59715: 28.2; Emacs crashes after ``turkish-case-conversion-enable'' Date: Sun, 04 Dec 2022 09:16:03 +0200 Message-ID: <83zgc3bpvw.fsf@gnu.org> References: <87y1rtw317.fsf@std.iyte.edu.tr> <83lensju9h.fsf@gnu.org> <87bkonyith.fsf@std.iyte.edu.tr> <83k03binzq.fsf@gnu.org> <877czarcal.fsf@std.iyte.edu.tr> <87h6ycw35q.fsf@std.iyte.edu.tr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15495"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59715@debbugs.gnu.org To: YUSUF ALPER =?UTF-8?Q?=C3=87IKI=C5=9EIR?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 04 08:17:32 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p1jFj-0003nT-NC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Dec 2022 08:17:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1jFI-0004vt-RA; Sun, 04 Dec 2022 02:17:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1jFG-0004v2-Of for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 02:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1jFG-0004NF-At for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 02:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1jFF-0007zO-U3 for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 02:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Dec 2022 07:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59715 X-GNU-PR-Package: emacs Original-Received: via spool by 59715-submit@debbugs.gnu.org id=B59715.167013819430700 (code B ref 59715); Sun, 04 Dec 2022 07:17:01 +0000 Original-Received: (at 59715) by debbugs.gnu.org; 4 Dec 2022 07:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:55857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1jEo-0007z6-BZ for submit@debbugs.gnu.org; Sun, 04 Dec 2022 02:16:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1jEl-0007z0-QW for 59715@debbugs.gnu.org; Sun, 04 Dec 2022 02:16:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1jEe-0004Et-HY; Sun, 04 Dec 2022 02:16:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Y1KKePJGF0F6d8n378fp51dUzhITrReeAxaRonLLmOE=; b=aLBYKt1x3CkpxrjJbsDS ft4ajtF+YnQekPJN6IiP6bFoM6G+CynyByAKcziuZ50kojbTqKbTn5K3/MfJZULJ/ya8A88awCvGt foRhJcudq5MLmkMZxtQOcMVpPIbomQ69wQyzhu2Qe96RFuaRw2AS4mIuQo+0XN5FQTKTmROYR5pC/ uDyeMv0ZSrg5Rdo6P3S9vfIpMetf14uaDClYlgyS+KHd/MeOmMqsrVCW6C8/6W8+T7xmTK1toNu++ XCwYXqFNSw0S2q+WVnRPzi4nC4loAVYluAgEnSUMy4RAX/pBlWOxrlpgSeOY6FjONwwIFZUkd63lm gGffbZNK1PW4Og==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1jEc-0003Z7-MT; Sun, 04 Dec 2022 02:16:24 -0500 In-Reply-To: <87h6ycw35q.fsf@std.iyte.edu.tr> (yusufcikisir@std.iyte.edu.tr) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249899 Archived-At: > From: YUSUF ALPER ÇIKIŞIR > > Cc: 59715@debbugs.gnu.org > Date: Sun, 04 Dec 2022 01:09:05 +0300 > > Eli Zaretskii 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.