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#68940: 29.2; Random crashes in face for char / font Date: Wed, 07 Feb 2024 14:32:18 +0200 Message-ID: <86jzngzc8d.fsf@gnu.org> References: <865xz1233w.fsf@gnu.org> <86wmrhznlq.fsf@gnu.org> <86sf25zgjx.fsf@gnu.org> 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="3824"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68940@debbugs.gnu.org To: Robert Vojta Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 07 13:33:29 2024 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 1rXh7J-0000lk-2V for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Feb 2024 13:33:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXh6i-0002uy-Ja; Wed, 07 Feb 2024 07:32:52 -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 1rXh6e-0002uS-Eh for bug-gnu-emacs@gnu.org; Wed, 07 Feb 2024 07:32:49 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXh6e-0001Nj-3C for bug-gnu-emacs@gnu.org; Wed, 07 Feb 2024 07:32:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rXh6r-0001Iu-PA for bug-gnu-emacs@gnu.org; Wed, 07 Feb 2024 07:33: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: Wed, 07 Feb 2024 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68940 X-GNU-PR-Package: emacs Original-Received: via spool by 68940-submit@debbugs.gnu.org id=B68940.17073091634980 (code B ref 68940); Wed, 07 Feb 2024 12:33:01 +0000 Original-Received: (at 68940) by debbugs.gnu.org; 7 Feb 2024 12:32:43 +0000 Original-Received: from localhost ([127.0.0.1]:55831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXh6Y-0001IF-Np for submit@debbugs.gnu.org; Wed, 07 Feb 2024 07:32:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rXh6X-0001I2-Ft for 68940@debbugs.gnu.org; Wed, 07 Feb 2024 07:32:42 -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 1rXh6E-0001Kh-B7; Wed, 07 Feb 2024 07:32:22 -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=Zsa9Qd47Y5mtT/8CbyzkkyM/2Xr0xojRUa3aAq18NWU=; b=S0yc9E/kTCwCCbf9p94i vkMnYteKUKun+DdCleAOopoCf+dX2lkEP/9LpkoBC5BsaCdPp40wEvx3jmDwDpKMG2dXofEqbpwgv leiH9kKYg4DWUKNA1Jj8/MByG+Mz90ubtw6vexUJVj9dePdM6iyea6GzoZf5+nu2Dtqs7q+Q5Mbur ZeZN74SvSlJe38C/mgVhCD5DAZ7ezA5STo/3B2iox4kPSy0iqlQ/o/pq5M4YnPqNkpdoOo3P+xjJ+ 9BYaHZki/KcMwseMwOp+x4jrMgDAGopLg31t/oMfBFgpdW5H+SYOpVKEzaaRLdTiJpCia+3APCudY 5jfi/ajlBxMIrA==; In-Reply-To: (message from Robert Vojta on Tue, 06 Feb 2024 22:59:23 +0100) 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:279542 Archived-At: > From: Robert Vojta > Cc: 68940@debbugs.gnu.org > Date: Tue, 06 Feb 2024 22:59:23 +0100 > > > Yes, what's important is to see what is value of base_face at entry to > > face_for_font -- it sounds like that's an invalid face doer some > > reason. Do you have any customizations of the fontsets? > > No, no fontsets customizations. > > This whole thing is getting weirder. I've recompiled Emacs w/ "-O0 -g3" > and two new things appeared: > > 1) Invalid read syntax: # Did you clean up the source tree before rebuilding? At least "make distclean" is needed. > Warning (initialization): An error occurred while loading > ‘/Users/zrzka/.emacs.d/init.el’ > > This is random as well, and it happens frequently (30% of Emacs > launches). Did you try --debug-init? > > 2) A new crash happened > > It is hard to reproduce it in my "while true; lldb ...; done" loop with > this error (a lot of manual interventios required), but managed to > capture another backtrace: > > https://gist.github.com/zrzka/7855634a46adeacb2fa7e8f861e39106 > > All this, purely random, undefined behavior? I don't see why it could be undefined. It seems to indicate that c_strcasecmp crashes comparing an empty string, which is something it is supposed to be able to handle. I'm beginning to suspect some problem with your compiler or maybe even with hardware (like some memory chip?).