From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#61960: 30.0.50; Unexec build reliably crashes during loadup Date: Sun, 02 Jul 2023 17:10:51 +0300 Message-ID: References: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.camel@yandex.ru> <63f3de6f0cc0d015d2dcbcdd6adc95482dc0c6ad.camel@yandex.ru> <835y72q2r1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34238"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.48.3 Cc: 61960@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 02 16:11:28 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 1qFxnT-0008iV-VH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jul 2023 16:11:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFxn6-0004CB-Oj; Sun, 02 Jul 2023 10:11:04 -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 1qFxn4-0004Bl-PG for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 10:11:02 -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 1qFxn4-0007mJ-Fl for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 10:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFxn3-0004ne-Tt for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 10:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jul 2023 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61960 X-GNU-PR-Package: emacs Original-Received: via spool by 61960-submit@debbugs.gnu.org id=B61960.168830705818440 (code B ref 61960); Sun, 02 Jul 2023 14:11:01 +0000 Original-Received: (at 61960) by debbugs.gnu.org; 2 Jul 2023 14:10:58 +0000 Original-Received: from localhost ([127.0.0.1]:60893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFxn0-0004nM-I4 for submit@debbugs.gnu.org; Sun, 02 Jul 2023 10:10:58 -0400 Original-Received: from forward500a.mail.yandex.net ([178.154.239.80]:37434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFxmw-0004nB-5J for 61960@debbugs.gnu.org; Sun, 02 Jul 2023 10:10:57 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net [IPv6:2a02:6b8:c1f:5e51:0:640:23ee:0]) by forward500a.mail.yandex.net (Yandex) with ESMTP id E1DFE5E7AE; Sun, 2 Jul 2023 17:10:51 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id pAR1FnYDVW20-Xf1aRzMa; Sun, 02 Jul 2023 17:10:51 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1688307051; bh=KAKm+TjpqoEjXxAydJR2fjkk2ekPKmdVLTRyvDgD3TI=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=vV0BHif8EZRui9aNOTvmBt9IIXFgeyoK3IGan8OS2s8cwxzO/dNr8WuLxJ9wCD+47 03uTCcV6wTN1CjQ3IeON9kO07WRbynkuSOyB7II36PgQgh+h1QcmsLevaye9UggsM6 nq+myu3fTcO28KSJcRAreyLHBILan3ru5EGKjB8o= Authentication-Results: mail-nwsmtp-smtp-production-main-51.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: 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:264488 Archived-At: On Sun, 2023-07-02 at 14:32 +0300, Konstantin Kharlamov wrote: > but without reverse-execution (as `rr` for some reason doesn't work with > `temacs` in this case) it will be hard to pinpoint. >=20 > I am planning to report the `rr` problem to them, so hopefully it will be > possible to find the real culprit in the future. UPD: after some research turned out `rr` works well, but what I'm seeing wi= th `rr replay` stopping at `syscall_traced()` is due to `temacs` executing `execve`, and gdb by default not following into it. To make it work one can execute `when` in gdb, and then relaunch `rr replay -g $WHENRESULT`. This peculiarity is very terribly documented despite devs vaguely referring to t= hat in various bugreports. I guess I'll have to fix the docs to make sure it's = more clear for future users.