From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: J K sanchez <1994jorgesanchez@gmail.com> Newsgroups: gmane.emacs.bugs Subject: bug#47052: 28.0.50; Segfault opening certain python file Date: Wed, 10 Mar 2021 16:59:51 +0000 Message-ID: References: <83lfavne2z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000093513d05bd319a01" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22659"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47052@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 10 18:10:34 2021 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 1lK2Lx-0005kd-Ot for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Mar 2021 18:10:33 +0100 Original-Received: from localhost ([::1]:47706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK2Lw-0001kV-NU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Mar 2021 12:10:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK2Ct-0001Hz-4C for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 12:01:13 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK2Cj-0007HP-Uh for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 12:01:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lK2Cj-0002Qb-TT for bug-gnu-emacs@gnu.org; Wed, 10 Mar 2021 12:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: J K sanchez <1994jorgesanchez@gmail.com> Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Mar 2021 17:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47052 X-GNU-PR-Package: emacs Original-Received: via spool by 47052-submit@debbugs.gnu.org id=B47052.16153956369294 (code B ref 47052); Wed, 10 Mar 2021 17:01:01 +0000 Original-Received: (at 47052) by debbugs.gnu.org; 10 Mar 2021 17:00:36 +0000 Original-Received: from localhost ([127.0.0.1]:51741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK2CK-0002Pq-0N for submit@debbugs.gnu.org; Wed, 10 Mar 2021 12:00:36 -0500 Original-Received: from mail-lj1-f171.google.com ([209.85.208.171]:40482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <1994jorgesanchez@gmail.com>) id 1lK2CI-0002Pc-1T for 47052@debbugs.gnu.org; Wed, 10 Mar 2021 12:00:34 -0500 Original-Received: by mail-lj1-f171.google.com with SMTP id e2so26467811ljo.7 for <47052@debbugs.gnu.org>; Wed, 10 Mar 2021 09:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VQDE/CzH4KoFv335FaiLIs8ZaglsA+EmcoOeaHQOSWE=; b=Py66IBOipORr4bW1TXguCCvLXDTSSZROFMGhBfbNe7W8hT14tfaenChcCF6FrV7C+8 qGluHISbH+vQRnw1AQd1V3ATyg/8SxvSz1l9hpTwPig0Nf2H5W8u+QCjfC5Aq/avAsXV fT13ZXiUjyPpUIZ6uKBcfPBJOv/kscMsJodI+SqdAmVime2l+9mBTaZ89OBcRi8eJQVP eBxiWSwoRi/ZqsgfFCdkXnVeXYXr4JfVCRMDuIJ/iAzluzDIflAGMUvkDHzT5zwExF6I jtuJ1/7SBmSIJj477LPvuN68nC2xrS5v3yIP5Bo4xX2NYCxAERntUuAeXn5bpJSXHRhi dWKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VQDE/CzH4KoFv335FaiLIs8ZaglsA+EmcoOeaHQOSWE=; b=mLmyg1qBCihbvRhpBcld40CqpLnprHLRJDDDqsXH7Mq5lKI96hXWcRVI3UA+FDjLdF ig7cup747ZhsQ2xwsCF2thtFFidBkd9WNqV7TsuZU95GjLcWzdzKHdMLXp8SeKAobDJa eCOw9j40GUncBc5oC9hn8LmfWV9n4wIneh7OefjRIGVXruRyf1/lMQuwJ9be91JZtEyC RYCn0HZVHHkf2NwsfyIFM3woXRXS0AUhcskSaIuzsAl3lXdON8HSDy9yesugqJkXnAG3 GkE1cup8EfrrB0Hk7XEo8jRjB4wcIYmwqmSGSQDFzQuuxssqucITDZKfy76YLX+O8bhw X1cA== X-Gm-Message-State: AOAM533vEK2FjuLklDr+RQ2Sz+eoKCK3Q0RF/lhMgVN7N2XXOeIqrhc4 OHXDHhBVQy5GZ/Vy7MddVcbMRnas3cxPmwjOwyM= X-Google-Smtp-Source: ABdhPJzWpoBDLEmrNhkJKgjs/Nclnb6RycgTEfYMk5hZscaGrqIT+zqDka9WJa5BQD8ZUzx0pBgFIxXJavE5juJWnFc= X-Received: by 2002:a2e:9704:: with SMTP id r4mr2270095lji.486.1615395627945; Wed, 10 Mar 2021 09:00:27 -0800 (PST) In-Reply-To: <83lfavne2z.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" Xref: news.gmane.io gmane.emacs.bugs:202018 Archived-At: --00000000000093513d05bd319a01 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I found it's caused by this piece of code inside my ~/.emacs.d/init.el (use-package undo-tree :straight t :config ;; autosave the undo-tree history (setq undo-tree-history-directory-alist `((".*" . ,temporary-file-directory))) (setq undo-tree-auto-save-history t) (global-undo-tree-mode +1) :diminish 'undo-tree-mode) El mi=C3=A9, 10 mar 2021 a las 16:55, Eli Zaretskii () escrib= i=C3=B3: > > From: J K sanchez <1994jorgesanchez@gmail.com> > > Date: Wed, 10 Mar 2021 15:54:03 +0000 > > > > I found my emacs crashed when opening certain file. It's a python file = i > > can't share but other python files open nicely. > > When using emacs -Q it opens without problems. > > I found this in gdb when using bt full which was stuck in a loop and wa= s > too long. > > a part of (gdb) bt full gives: > > #30522 0x0000557f5a97f600 in substitute_object_recurse > (subst=3D0x7ffd34af9380, > > subtree=3D0x557f615b52d3) at lisp.h:730 > > It's an infinite recursion, but I doubt we could do anything about it > without a way to reproduce the problem. If you can somehow produce a > file that is a derivative of the one you cannot share, and post it, > that would be good. > > Thanks. > --00000000000093513d05bd319a01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I found it's caused by this piece of code inside = my ~/.emacs.d/init.el

(use-package undo-tree
= =C2=A0 :straight t
=C2=A0 :config
=C2=A0 ;; autosave the undo-tree hi= story
=C2=A0 (setq undo-tree-history-directory-alist
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 `((".*" . ,temporary-file-directory)))
=C2=A0 (s= etq undo-tree-auto-save-history t)
=C2=A0 (global-undo-tree-mode +1)
= =C2=A0 :diminish 'undo-tree-mode)


El mi=C3=A9, 10 m= ar 2021 a las 16:55, Eli Zaretskii (<eli= z@gnu.org>) escribi=C3=B3:
> From: J K sanchez <1994jorgesanchez@gmail.com>
> Date: Wed, 10 Mar 2021 15:54:03 +0000
>
> I found my emacs crashed when opening certain file. It's a python = file i
> can't share but other python files open nicely.
> When using emacs -Q it opens without problems.
> I found this in gdb when using bt full which was stuck in a loop and w= as too long.
> a part of (gdb) bt full gives:
> #30522 0x0000557f5a97f600 in substitute_object_recurse (subst=3D0x7ffd= 34af9380,
> subtree=3D0x557f615b52d3) at lisp.h:730

It's an infinite recursion, but I doubt we could do anything about it without a way to reproduce the problem.=C2=A0 If you can somehow produce a<= br> file that is a derivative of the one you cannot share, and post it,
that would be good.

Thanks.
--00000000000093513d05bd319a01--