From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= 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:32:23 +0200 Message-ID: References: <87o7gnnhqz.fsf@localhost> <87a5s5bg83.fsf@localhost> <83msw5fk9h.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="12724"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 66744@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 18:33:46 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 1qw3In-00030v-AA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 18:33:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw3Id-0004I2-PX; Thu, 26 Oct 2023 12:33:35 -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 1qw3IZ-0004Fz-Qg for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 12:33:31 -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 1qw3IZ-0001I4-In for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 12:33:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qw3J4-0004sR-D3 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 12:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2023 16:34: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.169833798318677 (code B ref 66744); Thu, 26 Oct 2023 16:34:02 +0000 Original-Received: (at 66744) by debbugs.gnu.org; 26 Oct 2023 16:33:03 +0000 Original-Received: from localhost ([127.0.0.1]:34402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw3I7-0004r1-DH for submit@debbugs.gnu.org; Thu, 26 Oct 2023 12:33:03 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:49360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw3I5-0004q5-SB for 66744@debbugs.gnu.org; Thu, 26 Oct 2023 12:33:02 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso188155366b.2 for <66744@debbugs.gnu.org>; Thu, 26 Oct 2023 09:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698337944; x=1698942744; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gb2gaulEhumFBX5mCgTtAkLqZxhBRmxpfBuDcnrLbiA=; b=CKmw6zXTyIhjZGdIm3KrGKFrFZrjdS8vsShBAczlHbWGREvYqgwHlbMEc6UjaeKvvM +GVYhWWo3X8JsxAbiQJBuYHxr5zYG54BN2xi0T0VL06nJDn/ZGTREzRvo/jCGXN7zv9w xPWsJaHGDED3z0vUUog3Anav2Yv+c+2ACCvfeYRuv6Qj0TBUJ1KYZABbiP1yQUFVt6s2 1IjqfgVd2z1+xMwQCsJ1051i4RDZqPS0qPRpeIbSn5pNxtF7L1RkfW4s5htBf2wiZvvq vB46ihNHp62ppRL+n9UiN9gxN6mpJXs0f9ekWuZnpbDSZaI3PpVCAaWneNnXqgO28TUD ukAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698337944; x=1698942744; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=gb2gaulEhumFBX5mCgTtAkLqZxhBRmxpfBuDcnrLbiA=; b=FCkA/aioGtXGVVKMtzrvAlTDRPJz/EzHJOUkhj2ihEN3DEbeeQxb+JuiHouQ6zujcT DJkNcfKIlCe3QEwpFZTpC0ZVKEPN18F620e5Qhv5WGRAc11dDyMjY+JQ1bVK6yD0+TdG 7CZmBPLNxDWoABdaJm9mmRPtrDTmEjtY9HSwSb+QH8Sf1vwtvawWcQku8GzVlh4240eY AlR8xRUndV89Q4f7HGMgfFY7HKkSnY5ZRyK23pF1LIsH/gJTbzk/cwrYOtqgdsmnUz/n AUz1hmW+K/mTHy+k3ISBu5kiJE7ErOKk7OPM1Z5zYi5N1H9IBxqFIIbd90oVgbJzqA3g YC3A== X-Gm-Message-State: AOJu0YxG5Qu4wGdgFNgr7IpJdm1IiuXpltRwofMZPwu5pwBS1Zsu1bUt yI3/gnNOIRRQU2V9h5Rlw+gPH3PLvi0= X-Google-Smtp-Source: AGHT+IGARunMqxudQvTmhKGulEzJaCV4xeVOs+IqOqbrt4HfylojbtY9g337WVAtb+XQK0LNkzH/Gw== X-Received: by 2002:a17:907:6d05:b0:9ad:a59f:331a with SMTP id sa5-20020a1709076d0500b009ada59f331amr154661ejc.57.1698337944407; Thu, 26 Oct 2023 09:32:24 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3a163.dip0.t-ipconnect.de. [79.227.161.99]) by smtp.gmail.com with ESMTPSA id ov5-20020a170906fc0500b009ad8acac02asm12049432ejb.172.2023.10.26.09.32.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 09:32:23 -0700 (PDT) In-Reply-To: <83msw5fk9h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 26 Oct 2023 18:58:34 +0300") 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:273304 Archived-At: Eli Zaretskii writes: >> Cc: 66744@debbugs.gnu.org >> From: Gerd M=C3=B6llmann >> Date: Thu, 26 Oct 2023 17:45:49 +0200 >>=20 >> The linux man page for mmap says, according to Google, >>=20 >> MAP_PRIVATE >> ... >> It is unspecified whether changes made to the file >> after the mmap() call are visible in the mapped region. >>=20 >> 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. Ok, but I must admit that I don't see how that is done in pdumper.c.