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#63711: 30.0.50; Crash in xdisp.c when it->string is 0x0 Date: Thu, 01 Jun 2023 09:29:23 +0300 Message-ID: <838rd3elvg.fsf@gnu.org> References: <83ilcgn9ud.fsf@gnu.org> <835y8gmt3f.fsf@gnu.org> <834jo0mono.fsf@gnu.org> <83353kmmoq.fsf@gnu.org> <83zg5sl2mr.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3262"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63711@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 01 08:29:38 2023 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 1q4boY-0000cQ-JR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jun 2023 08:29:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4bo7-0006k2-OH; Thu, 01 Jun 2023 02:29:11 -0400 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 1q4bny-0006jL-Ac for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 02:29:03 -0400 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 1q4bny-0001pB-1R for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 02:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4bnx-0004u9-Rz for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jun 2023 06:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63711 X-GNU-PR-Package: emacs Original-Received: via spool by 63711-submit@debbugs.gnu.org id=B63711.168560092818832 (code B ref 63711); Thu, 01 Jun 2023 06:29:01 +0000 Original-Received: (at 63711) by debbugs.gnu.org; 1 Jun 2023 06:28:48 +0000 Original-Received: from localhost ([127.0.0.1]:36737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4bnj-0004tf-DP for submit@debbugs.gnu.org; Thu, 01 Jun 2023 02:28:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4bnf-0004tO-6u for 63711@debbugs.gnu.org; Thu, 01 Jun 2023 02:28:46 -0400 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 1q4bnZ-0001jB-B1; Thu, 01 Jun 2023 02:28:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6jWjELjOlAHh2Z2zqNo+ccifN2UAxCqplr5+x2eqXbw=; b=c6jRmzj/P1tW f9TmEPxRFMkuSczGPWfRGJFXVS+HaWUGgIZMR3Z0iHEm2cIjvNkvZR07/xeHo7Gy8oDoJiAeiC7VK SxZ6cy6Qt/r0vDGVGPGSjQ2j0vNkDW3ULKC4c/NkPbgXtcDcGGloB2vg2p2nSO9XKHWOR98mqvFp4 1wI1tSJIBUqM9ZhCi6g5xod+avsr5XCis/Evi615VhxjT/ffS+RDbgmVuzL3WC+bj82NjUkHZOsFK Vb5BXaCMmB8YVsdc77C+U2I5SoqAcP1X3vxr7PXB1fzSZnsvbJw+zwlbz4FVzFMhfYs957UbxdTzs GwvxL2lVAI9JzZgsQ+ErMA==; 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 1q4bnY-0004K1-QI; Thu, 01 Jun 2023 02:28:37 -0400 In-Reply-To: (message from Thomas Fitzsimmons on Wed, 31 May 2023 23:19:56 -0400) 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:262686 Archived-At: > From: Thomas Fitzsimmons > Cc: 63711@debbugs.gnu.org > Date: Wed, 31 May 2023 23:19:56 -0400 > > This Emacs run ultimately crashed tonight, but the signature seems > different. Crashed for what reason? The information shown by GDB about the signal which crashed Emacs is missing. And the place in the source where it crashed looks strange: INLINE _GL_ATTRIBUTE_CONST bool pdumper_object_p (const void *obj) { #ifdef HAVE_PDUMPER uintptr_t obj_addr = (uintptr_t) obj; <<<<<<<<<<<<<<<<<<<<<<< return dump_public.start <= obj_addr && obj_addr < dump_public.end; #else (void) obj; return false; #endif } How can anything in this function crash? The only possible reason I can think of is C stack overflow (but the number of call-stack frames is not large enough to justify that). Or maybe another thread crashed, not the main thread? The information displayed by GDB when it catches a fatal signal tells that as well. > The GDB session is still running if you want me to check > anything. I wasn't doing anything special when this happened. Does the > backtrace suggest that garbage collection happened during a > fontification operation? Yes, this happened inside GC. So it's most probably completely unrelated to this bug, and so please submit a new bug report with all the information.