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: Fri, 02 Dec 2022 09:23:19 +0200 Message-ID: <837czagtg8.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> 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="8190"; 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 Fri Dec 02 08:24:25 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 1p10PI-0001vK-FF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Dec 2022 08:24:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p10P3-00024f-3J; Fri, 02 Dec 2022 02:24:09 -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 1p10Ow-00023f-B0 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 02:24: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 1p10Ow-0000od-3N for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 02:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p10Ov-0002y8-SV for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 02:24: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: Fri, 02 Dec 2022 07:24: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.166996583911405 (code B ref 59715); Fri, 02 Dec 2022 07:24:01 +0000 Original-Received: (at 59715) by debbugs.gnu.org; 2 Dec 2022 07:23:59 +0000 Original-Received: from localhost ([127.0.0.1]:44884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p10Ot-0002xt-75 for submit@debbugs.gnu.org; Fri, 02 Dec 2022 02:23:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p10Or-0002xn-Az for 59715@debbugs.gnu.org; Fri, 02 Dec 2022 02:23:58 -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 1p10Oj-0000mO-0A; Fri, 02 Dec 2022 02:23:50 -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=iRF/yIjzyX94ZySG3ATsyZ41OuHIQjJy/Thx+P5nq6U=; b=RMyLYiZekWnjhDLRmA8O KUlY4hIoHRoim+AsRTjhiyspJW6xXWacfcUBmTJS2hATBSEiRk/qo2NDb4zB6imuW2txIgt+c4aPs ut2nztOn3h+jdZc783etQ72Au8DHZcllA7Eya1mOy2A156Jmf4bQOePboeRQt0S/ysORIIANj/Vj1 oubgr5XJYIS6wxQdk2gE4sdGRX4mCQKHY5L+K3G5DPLgnCpPSLxGpEuyVZGEr+XlJo6yCAySVQBlg Uu/AiLrgjKU0vPOq3ThNCOoOWWvWBk7yX2dDCbadCSSpSxfIoRJGV0g4uDfjlkuL+1Y+K8L841QTr +kxXqMnJqyws9Q==; 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 1p10Oe-0003H7-2m; Fri, 02 Dec 2022 02:23:48 -0500 In-Reply-To: <877czarcal.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:249708 Archived-At: > From: YUSUF ALPER ÇIKIŞIR > > 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?