From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: YUSUF ALPER =?UTF-8?Q?=C3=87IKI=C5=9EIR?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59715: 28.2; Emacs crashes after ``turkish-case-conversion-enable'' Date: Sun, 04 Dec 2022 01:09:05 +0300 Message-ID: <87h6ycw35q.fsf@std.iyte.edu.tr> 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> Reply-To: YUSUF ALPER =?UTF-8?Q?=C3=87IKI=C5=9EIR?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34547"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59715@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 23:10:17 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 1p1ai9-0008nI-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 23:10:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1ahw-0007EE-Vp; Sat, 03 Dec 2022 17:10:05 -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 1p1ahu-0007E4-Im for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 17:10:02 -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 1p1ahu-0005W0-6f for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 17:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1aht-00045N-K7 for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 17:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: YUSUF ALPER =?UTF-8?Q?=C3=87IKI=C5=9EIR?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 22:10: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.167010535815692 (code B ref 59715); Sat, 03 Dec 2022 22:10:01 +0000 Original-Received: (at 59715) by debbugs.gnu.org; 3 Dec 2022 22:09:18 +0000 Original-Received: from localhost ([127.0.0.1]:53587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1ahB-000452-M1 for submit@debbugs.gnu.org; Sat, 03 Dec 2022 17:09:18 -0500 Original-Received: from spam-gw3.iyte.edu.tr ([193.140.248.213]:56697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1ah8-00044v-Mj for 59715@debbugs.gnu.org; Sat, 03 Dec 2022 17:09:15 -0500 Original-Received: from spam-gw.iyte.edu.tr (localhost [127.0.0.1]) by spam-gw.iyte.edu.tr (Postfix) with ESMTP id B1B289A4DD3; Sun, 4 Dec 2022 01:10:35 +0300 (+03) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=std.iyte.edu.tr; s=rsa; t=1670105435; bh=YIzio2zrVzYIeDf/gpwp9BysM2BrrwzZ2dwR9xv36V0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=qYZOOtJv1Wr2gcKSl/UA/aHUhmKe/DCYU98GjIyiRQG+waGsBzFmI2bceWbILFfse NW/zmmzmur7zfI1MrHoI17+//fHuot56swGfXLPKor2XSTuJsalNfjJIOQTemQ5PVU fBT1+6WgPm/p50zjCDHuV6CvsNETzDKAuiite3x0= Original-Received: from localhost (localhost [127.0.0.1]) by spam-gw.iyte.edu.tr (Postfix) with ESMTP id A6E219A4D70; Sun, 4 Dec 2022 01:10:35 +0300 (+03) X-Virus-Scanned: by SpamTitan at iyte.edu.tr Original-Received: from spam-gw.iyte.edu.tr (localhost [127.0.0.1]) by spam-gw.iyte.edu.tr (Postfix) with ESMTP id 509D29A4D6C; Sun, 4 Dec 2022 01:10:35 +0300 (+03) Authentication-Results: spam-gw.iyte.edu.tr; x-trusted-ip=pass Original-Received: from mail.iyte.edu.tr (mail.iyte.edu.tr [193.140.248.4]) by spam-gw.iyte.edu.tr (Postfix) with ESMTPS id 454409A4D69; Sun, 4 Dec 2022 01:10:35 +0300 (+03) Original-Received: from localhost (localhost [127.0.0.1]) by mail.iyte.edu.tr (Postfix) with ESMTP id B4AEC5740228; Sun, 4 Dec 2022 01:09:07 +0300 (+03) Original-Received: from mail.iyte.edu.tr ([127.0.0.1]) by localhost (mail.iyte.edu.tr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id geAzyv9iwAqV; Sun, 4 Dec 2022 01:09:07 +0300 (+03) Original-Received: from mail.iyte.edu.tr (localhost [127.0.0.1]) by mail.iyte.edu.tr (Postfix) with ESMTPS id 96727574029C; Sun, 4 Dec 2022 01:09:07 +0300 (+03) Original-Received: from librepad.std.iyte.edu.tr (unknown [195.175.64.178]) by mail.iyte.edu.tr (Postfix) with ESMTPSA id EF6905740228; Sun, 4 Dec 2022 01:09:06 +0300 (+03) In-Reply-To: Eli Zaretskii's message of "Fri, 02 Dec 2022 09:23:19 +0200" 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:249885 Archived-At: Eli Zaretskii writes: > 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? No, it used to happen on *scratch* buffer also. > 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." 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. 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. (gdb) run -Q Starting program: /home/ytc/repo/emacs-28.2/src/emacs -Q warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Breakpoint 1, realize_face (cache=0xb1a270, attrs=0x7fffffffc8b0, former_face_id=) at xfaces.c:5850 5850 cache_face (cache, face, lface_hash (attrs)); (gdb) print cache $1 = (struct face_cache *) 0xb1a270 (gdb) print cache->f $2 = (struct frame *) 0xadcdc0 (gdb) print cache->f->output_method $3 = output_initial >> 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? 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