From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#66098: Crash in itree.c on macOS with incomplete backtrace Date: Sun, 24 Sep 2023 05:25:38 -0700 Message-ID: References: <83zg1icsmt.fsf@gnu.org> <83bkdu75bt.fsf@gnu.org> <87wmwis7dk.fsf@gmail.com> <83msxd3vsx.fsf@gnu.org> <83sf733h6p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66098@debbugs.gnu.org, rpluim@gmail.com, acorallo@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 24 14:26:11 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 1qkOBf-0002fp-7P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Sep 2023 14:26:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qkOBM-0001Sx-H3; Sun, 24 Sep 2023 08:25:53 -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 1qkOBL-0001Si-ED for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2023 08:25:51 -0400 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 1qkOBL-0006KB-5z for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2023 08:25:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qkOBW-00089h-Lr for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2023 08:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2023 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66098 X-GNU-PR-Package: emacs Original-Received: via spool by 66098-submit@debbugs.gnu.org id=B66098.169555836131342 (code B ref 66098); Sun, 24 Sep 2023 12:26:02 +0000 Original-Received: (at 66098) by debbugs.gnu.org; 24 Sep 2023 12:26:01 +0000 Original-Received: from localhost ([127.0.0.1]:41218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkOBU-00089R-G3 for submit@debbugs.gnu.org; Sun, 24 Sep 2023 08:26:00 -0400 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:60865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkOBR-00089C-CX for 66098@debbugs.gnu.org; Sun, 24 Sep 2023 08:25:59 -0400 Original-Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2bfed7c4e6dso78781441fa.1 for <66098@debbugs.gnu.org>; Sun, 24 Sep 2023 05:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695558339; x=1696163139; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=1VSbdpi+M9qgvGDDcarQYOQ/7ssVPQLbkWm+CbkC32A=; b=BhKfiDcdlv0NN5bRkuVQyJOCsyQubT+gb1oF954eaMNSIeiXKpwBMLJblemyMk9fPb n+uADiLrTbc49jAkaPdiwN8zrXpebWC/lysq0DMxV8bEbSoiOIbjBHDyb+WuUWEq4ihZ i9dKIMFPwJHnsZv71nS3AHSAsup3cx8NSt5FSnxHDbJc386P6JIPA7hUAoVVj+16gLqq HaH1jZij/8774wEpR33vSmyDA1FDnmISLLHjvBCic/wtuyb2gcHKRkwfIs3fmhL2/jBY JA96eZ+NzLGTnI/5uR8xInvPUeCfpfu0dydjM1yPVxuEL/ZJ/yshxBSGquyegG60f1Zi 0YBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695558339; x=1696163139; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1VSbdpi+M9qgvGDDcarQYOQ/7ssVPQLbkWm+CbkC32A=; b=JADafe/ihpuMbvHtoEqysAsxcGA/0nRsTJk9mLfE53R1nSmMfTSTttzXRAXX+MRCWj zdnauzR8U5Bw8uXzgn7fns5nBVcrTcpRPoS8dLvK7VGVEzvy4Z4DlaHYEi3V2+AO/Nvu +foxdxo3FKBlqYIWhGS6e7/GMmIsJ8TgDzAgnjxmpvVwcXAYKvaFLL8ZIcNVvpPvPNAJ 3Bek2TXZ01T8GaSt6IzqyPbDiSxZJxdpouyXWwRiQvu8dOTIPpxJjgqPo0w1J+pj2vI4 1VjB28VjQC7zwK/4BXvQtjaRnK6QIKKoAbW5E5U/LARgEtzzPomFVxNsRmjlRCfklNWV GdKA== X-Gm-Message-State: AOJu0YwVgHcfWMxioGSenmcRMPX7+BVeLSud7gJKRNbhyJSVbTHeu9T5 IuJalID6u7KvE4uLYakUJGQCQA66nIUDQzPQTv4= X-Google-Smtp-Source: AGHT+IEL5WVBvbqDLKJiOOIJFkFRYHEkX26woJEatCT5q1etMQdyZMBiZzKA4XaJ1xmo5Q6qRmNH7CUcbLs+jZ3e8U4= X-Received: by 2002:a2e:b043:0:b0:2c0:afd:e7ed with SMTP id d3-20020a2eb043000000b002c00afde7edmr3083884ljl.10.1695558339131; Sun, 24 Sep 2023 05:25:39 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Sep 2023 05:25:38 -0700 In-Reply-To: <83sf733h6p.fsf@gnu.org> 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:271237 Archived-At: Eli Zaretskii writes: > Looks like infinite recursion of some sorts? The function at > 0x7fb2d9463cb3 calls itself again and again. Yes, it looks like it. > Are you saying that the problem doesn't happen without > native-compilation? I thought that for a second, but that can't be right since I did see a crash also without it, in the original bug report: Configured using: 'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -g3'' Assuming that was the same crash, of course. I'm still trying various configurations to find out more, but it's slow going since I can't seem to find a way to reproduce it consistently. I'm now running this build: Configured using: 'configure 'CFLAGS=-O0 -g3 -fsanitize=address' --with-native-compilation CPPFLAGS=-I/usr/local/opt/llvm/include LDFLAGS=-L/usr/local/opt/llvm/lib' Since I did not see this a few weeks ago, perhaps it's time to bite the bullet and bisect.