From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#63711: 30.0.50; Crash in xdisp.c when it->string is 0x0 Date: Thu, 01 Jun 2023 07:52:31 -0400 Message-ID: References: <83ilcgn9ud.fsf@gnu.org> <835y8gmt3f.fsf@gnu.org> <834jo0mono.fsf@gnu.org> <83353kmmoq.fsf@gnu.org> <83zg5sl2mr.fsf@gnu.org> <838rd3elvg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5937"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 63711@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 01 13:55:24 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 1q4gtn-0001KQ-A2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Jun 2023 13:55:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4grZ-0003Ve-Sx; Thu, 01 Jun 2023 07:53:05 -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 1q4grX-0003D4-7x for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 07:53: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 1q4grW-0000W2-Ur for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q4grW-0001zT-G8 for bug-gnu-emacs@gnu.org; Thu, 01 Jun 2023 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jun 2023 11:53:02 +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.16856203637621 (code B ref 63711); Thu, 01 Jun 2023 11:53:02 +0000 Original-Received: (at 63711) by debbugs.gnu.org; 1 Jun 2023 11:52:43 +0000 Original-Received: from localhost ([127.0.0.1]:37176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4grC-0001yr-N1 for submit@debbugs.gnu.org; Thu, 01 Jun 2023 07:52:43 -0400 Original-Received: from mail.fitzsim.org ([69.165.165.189]:32800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4gr7-0001yV-Ey for 63711@debbugs.gnu.org; Thu, 01 Jun 2023 07:52:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KlZc/PJg87WguMj1NARjOfTA92OK8woteySQPaKT6Co=; b=VlzlsijQhW7USgEjAAiiwjRscC fqAT3shBBjz9GC+DGEUFKk2qzJP6pPNbeUVrUjD9C81inNqCcgl5q+fi3+7W+QiHHFFPVyarS4LY1 MkFpWYFLrWEacG2VGEH4xaJfxHXrIY14M8FPuGQWjFPlJse7bpX+uN2UGVJ+cncX5mo2cAT1tj5jQ zlyRHGrZok+07BeytVcDjSmQ01CCWs262On7PzWTJ+Tj4zDB5MrvaERL6DyalQx458XdGnNBN8p4F 0r+bl0srdMXW4lG0AeMWlUGt9FrEV3XUYdXKZSH8rG4mNbPD7BNw+PGaKOolnElTU7liGHQiG40Iu b14vIEYA==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q4gr2-000TQj-0X; Thu, 01 Jun 2023 07:52:31 -0400 In-Reply-To: <838rd3elvg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 01 Jun 2023 09:29:23 +0300") 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:262699 Archived-At: Eli Zaretskii writes: >> 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. Darn, I forgot to increase GNU Screen's scrollback setting and that information scrolled away. > 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? Yes, I wondered that too. > 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 other threads are all in __GI___poll. > The information displayed by GDB when it catches a fatal signal tells > that as well. OK. >> 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. I will increase GNU Screen's scrollback and restart the run. This will probably happen again soonish, at which point I'll file the new bug report with the signal information. Thanks for analyzing the backtraces. Thomas