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.devel Subject: Re: Unexec dumping results in "Segmentation fault" on Windows Msys2 Date: Thu, 22 Apr 2021 17:25:14 +0300 Message-ID: <837dkupfat.fsf@gnu.org> References: <83im52ed8b.fsf@gnu.org> <989be2e0-a090-309b-58cb-8064c6bd5aee@gmail.com> <83y2dycmgr.fsf@gnu.org> <835z0oyrct.fsf@gnu.org> <83eefby1hy.fsf@gnu.org> <64f14133-a647-7406-4908-671258038ae2@gmail.com> <834kg7xqrm.fsf@gnu.org> <79b4e022-5d46-ae76-2192-9e8594c43d8d@gmail.com> <83o8eevwym.fsf@gnu.org> <8ed0330c-482f-3f82-8b37-308328a314b5@gmail.com> <83v98fpmc0.fsf@gnu.org> <37977025-eb33-5456-651d-61fc202a6d9a@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Nikolay Kudryavtsev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 22 16:26:04 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lZaHM-0008Rz-KC for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 16:26:04 +0200 Original-Received: from localhost ([::1]:58846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZaHL-0005FG-Lp for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Apr 2021 10:26:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZaGl-0004km-8t for emacs-devel@gnu.org; Thu, 22 Apr 2021 10:25:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50182) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZaGl-0006fz-1S; Thu, 22 Apr 2021 10:25:27 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2851 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZaGi-0001Qm-Qu; Thu, 22 Apr 2021 10:25:26 -0400 In-Reply-To: <37977025-eb33-5456-651d-61fc202a6d9a@gmail.com> (message from Nikolay Kudryavtsev on Wed, 21 Apr 2021 21:19:45 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268282 Archived-At: > From: Nikolay Kudryavtsev > Cc: emacs-devel@gnu.org > Date: Wed, 21 Apr 2021 21:19:45 +0300 > > The problem that's left is that the main branch crashes with unexec > dumping on first lisp file compilation ever since commit cddf85d256. The > backtraces for that I grabbed earlier: > > https://gist.githubusercontent.com/sg2002/32ea64634a89e7b407f50e29b4ab5f7e/raw/aa0bcc517e1a4de733a9dc2678f8c45daefb95f9/gistfile1.txt > > https://gist.githubusercontent.com/sg2002/d9cfaf1268973b20d66d79f5df575498/raw/06091019c1d30b863e6000fb642e09316d82a344/gistfile1.txt Like I said before: this looks like infinite recursion that causes stack overflow. A Lisp-level backtrace could help. Does "xbacktrace" report anything interesting? If not, the way to get the Lisp backtrace is to go to each frame that calls Ffuncall and do this: (gdb) p args[0] (gdb) xsymbol