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#53497: 29.0.50; native-compile after restarting Emacs Date: Tue, 25 Jan 2022 14:36:26 +0200 Message-ID: <83k0eohu0l.fsf@gnu.org> References: <86lez5zb7o.fsf@gnu.org> <87zgnl1l4o.fsf@gnus.org> <86h79tzait.fsf@gnu.org> <83zgnljop0.fsf@gnu.org> <864k5tz4ac.fsf@gnu.org> <83tudtjnqm.fsf@gnu.org> <86zgnl45sq.fsf@gnu.org> <83o841jlhz.fsf@gnu.org> <83mtjljl8s.fsf@gnu.org> <83lez5jjcf.fsf@gnu.org> <867dap834p.fsf@gnu.org> <835yq9j6jn.fsf@gnu.org> <861r0wjcz4.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32468"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 53497@debbugs.gnu.org, akrl@sdf.org To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 25 13:49:23 2022 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 1nCLGF-0008IR-As for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 13:49:23 +0100 Original-Received: from localhost ([::1]:54894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCLGE-0003LY-9G for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 07:49:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCL4J-0006qM-Fy for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 07:37:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCL4I-0006bn-0T for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 07:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCL4H-0003IK-T2 for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 07:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jan 2022 12:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53497 X-GNU-PR-Package: emacs Original-Received: via spool by 53497-submit@debbugs.gnu.org id=B53497.164311420912643 (code B ref 53497); Tue, 25 Jan 2022 12:37:01 +0000 Original-Received: (at 53497) by debbugs.gnu.org; 25 Jan 2022 12:36:49 +0000 Original-Received: from localhost ([127.0.0.1]:47257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCL44-0003Hr-JK for submit@debbugs.gnu.org; Tue, 25 Jan 2022 07:36:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCL42-0003Hd-IM for 53497@debbugs.gnu.org; Tue, 25 Jan 2022 07:36:47 -0500 Original-Received: from [2001:470:142:3::e] (port=33268 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCL3w-0006WC-CL; Tue, 25 Jan 2022 07:36:41 -0500 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=OF3PXibTrJmzwiREeLODoaRM4L/HNlNalMQ9h5p58Jc=; b=pdH28DAGGSQM /RiNoSRhaGchoTXnmqsmMEu+N2SdtfbBQuYEgmHWZQKpCJ36+i/mKGWVLtBXpazUt/PsL4ovW4BPQ n4oLMSyu2t4i8Jbfg5Kkuj5t34hsjbMGjtlAW8g76j+8rx9sIq3c9g4FtRf6XTCgKx/3LUxptmd7k wE0mdn+QgSOFl/bIpOWKmQrebEmWsKH6jH1d4Btmau5jc+9gbEglRxYx37ktXM/SlyQ2qlkJ0FCV/ 2xVtrpweO8goHsDxfDrtWwwi0xtCp4KrWwR/T5vvZntAvpiI/R4CIoOeiXb4ZJiWwCVuQAmy+GnFo WExsWhwuuLhjmMZ3e1ZQBw==; Original-Received: from [87.69.77.57] (port=1552 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 1nCL3s-0004kx-VG; Tue, 25 Jan 2022 07:36:37 -0500 In-Reply-To: <861r0wjcz4.fsf@gnu.org> (message from Arash Esbati on Tue, 25 Jan 2022 12:01:35 +0100) 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:225170 Archived-At: > From: Arash Esbati > Cc: akrl@sdf.org, larsi@gnus.org, 53497@debbugs.gnu.org > Date: Tue, 25 Jan 2022 12:01:35 +0100 > > Eli Zaretskii writes: > > > So I think the only way to make progress here is to run Emacs under > > GDB, with a breakpoint in maybe_defer_native_compilation, and if and > > when it breaks, see what goes on there. In general, this breakpoint > > should break as soon as you invoke some command that loads a .elc file > > for which there's no corresponding .eln file. > > > > I hope your Emacs is not stripped of debugging symbols; if it is, > > please rebuild and install without stripping and with -g3 switch, and > > run the resulting executable under GDB as described above. > > Thanks for the guidance. I did that all and stared for some times at > it. Since it doesn't emit an error and I'm not really familiar with the > code, I think I have to spend more time on this exercise. You mean, the breakpoint in maybe_defer_native_compilation never breaks? That in itself is probably a sign of some problem. > I suggest I close this report for now and dig further, I can re-open > once I have something new. > > OK for you? Thanks again to you all. There's no need to close it right away, unless you can no longer reproduce the issue. I'd prefer to close when we either understand the reasons or the problem goes away by itself and becomes unreproducible.