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#66744: 30.0.50; Emacs crashes when re-dumping into the same dump file another Emacs instance is using Date: Thu, 26 Oct 2023 18:58:34 +0300 Message-ID: <83msw5fk9h.fsf@gnu.org> References: <87o7gnnhqz.fsf@localhost> <87a5s5bg83.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36886"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 66744@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 17:59:59 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 1qw2m5-0009IW-CK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 17:59:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw2li-0000rO-8G; Thu, 26 Oct 2023 11:59:34 -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 1qw2lg-0000r1-Jp for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 11:59:32 -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 1qw2lg-0003v9-Ba for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 11:59:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qw2mA-0003wh-CO for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 12:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2023 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66744 X-GNU-PR-Package: emacs Original-Received: via spool by 66744-submit@debbugs.gnu.org id=B66744.169833594615059 (code B ref 66744); Thu, 26 Oct 2023 16:00:02 +0000 Original-Received: (at 66744) by debbugs.gnu.org; 26 Oct 2023 15:59:06 +0000 Original-Received: from localhost ([127.0.0.1]:34369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw2lG-0003uo-EW for submit@debbugs.gnu.org; Thu, 26 Oct 2023 11:59:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw2lB-0003uE-5m for 66744@debbugs.gnu.org; Thu, 26 Oct 2023 11:59:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw2ka-0003oF-Kg; Thu, 26 Oct 2023 11:58:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HUL7XAeb5jdBgxNQLsTUyH3W8OLBHwY/Xyd/kC+qOCs=; b=AH+rdxsAL+bhH7LHgl57 yKyCKcYewYasXWNdfyUDl8RAAQ7k9tc3p0LbluLMx7fVp/d9dTAN2oSNjDyM+XgiO3GdCJpRtfYj4 Imhgg8S54olbx2M3pj5O/uKcvgVuSlT146RsrV7my1x4187jQNYwBumxqxNrwcblVhB6nwOO8kNVw SCJaUK46Ze34eAjSCB7yhDGGyKMP7KwMHQ8tjppxQ1L8dVLsm2UOeBAxZT9rvYlNFhHllv8kxCkmJ W+bIzX3fUIytXDUeDvyNG+OYz84mjMsoIA3+/4PQvxAfShfgdTUbVASX2+ralupSJrsI9OwFoYx+A Uj+FBJTjMLvuEQ==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Thu, 26 Oct 2023 17:45:49 +0200) 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:273302 Archived-At: > Cc: 66744@debbugs.gnu.org > From: Gerd Möllmann > Date: Thu, 26 Oct 2023 17:45:49 +0200 > > The linux man page for mmap says, according to Google, > > MAP_PRIVATE > ... > It is unspecified whether changes made to the file > after the mmap() call are visible in the mapped region. > > So, if the changes made to the dump file in step 3 are visible in the > mmaped dump file that Emacs from step 2 uses, that would be a bit > suboptimal :-). Emacs on GNU/Linux doesn't use mmap, we stopped doing this many years ago. It could be relevant to MS-Windows, which emulates mmap and uses the relevant code in Emacs. But Ihor doesn't use MS-Windows, AFAIK.