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 20:42:29 +0200 Message-ID: References: <87o7gnnhqz.fsf@localhost> <87a5s5bg83.fsf@localhost> <83msw5fk9h.fsf@gnu.org> <83lebpfdse.fsf@gnu.org> <874jidb5cf.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4220"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 66744@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 20:43:50 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 1qw5Kg-0000sj-3S for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 20:43:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw5KY-0001qy-87; Thu, 26 Oct 2023 14:43:42 -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 1qw5KP-0001p2-An for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 14:43:33 -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 1qw5KN-0006t0-E1 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 14:43:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qw5Ks-0008JA-9J for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 14:44: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 18:44: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.169834579231871 (code B ref 66744); Thu, 26 Oct 2023 18:44:02 +0000 Original-Received: (at 66744) by debbugs.gnu.org; 26 Oct 2023 18:43:12 +0000 Original-Received: from localhost ([127.0.0.1]:34510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw5K4-0008Hy-2u for submit@debbugs.gnu.org; Thu, 26 Oct 2023 14:43:12 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:48619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw5K1-0008Hj-9g for 66744@debbugs.gnu.org; Thu, 26 Oct 2023 14:43:10 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9cf83c044b7so96780566b.1 for <66744@debbugs.gnu.org>; Thu, 26 Oct 2023 11:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698345751; x=1698950551; darn=debbugs.gnu.org; h=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=JdcDiOkGibIv1469esYgn9E1XrLN1oROeKLdq7mqCNg=; b=e2wxqrrm3/OfkRqhlE8ugLcqYHRj6EZQ1w41hAIAcd6Ji30W2X8j/K7pxeNTKzrvOI U3Su3YtsTcbgJnT5KT1FHJ5tHlWUrxi4pQzct1nTzlkn5woTxYwcps19gJrVOew2Z/D7 Ez2LUPnRMdqGU9a43R/u6tUx8Nv4grxNZNW/RHNBDQVO5BlqzlH9LYQPwKIxPB3wDirx kI8OHgnLc78qxqtOZi0MBj6bxU78rVtmxrEtMje2wC9FZW4J+9z3cnT5/XPzMeBYPyi2 JVdKyyzew3lDeSyVjyxpnENX03Cfzsjh0roKkZ0fJaUgtktxmM/vGzayAgmpbP/PQeQP toow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698345751; x=1698950551; h=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=JdcDiOkGibIv1469esYgn9E1XrLN1oROeKLdq7mqCNg=; b=IP8feSwHWcoAfaJFI0glpBIMpTIe2V75lrcR7d0WpCwFhmYSVTv/WJu0IGq3M+UVaz TDHrTu0zTg4YaHlyl+YJ+2iW6DgXq5eBmZ8rDaO+/FNyRj9kXTNVL2xlaSROH+jVv5AA gQuX7+OgpfZr2EnPp6VRsuZjnJLOApu8btI/a8EIbndzz0R7ssQKHwHHbq/BOQpOGyTG a30JzUOfvdg9isgi7k8xD810HL9V9G6O22WnCY7hGlaKirV/ardR3o4Rd3dvZPvfGwcR Pi/BtNzCVlB+rino73iR3tsqf4/OtkTFAxXmxgra40qpcMmcH70lY7XulMR1YmjiBhlU Qdbw== X-Gm-Message-State: AOJu0Yy4Gue6xNGUbCueKliTwR3PPFwltmyWBDuM05yjjd2SnVBhHrHz AamotKk+msKj2H8hnrVtC/PxHnY6Ebc= X-Google-Smtp-Source: AGHT+IEHHGfhy83nd2xY3Ho5WRhEzAzfVi4wdzVspMAOs6YxSeSv8s7qTXvDq6Sgc84lqHZgMfyihw== X-Received: by 2002:a17:907:3e20:b0:9c3:cd12:1927 with SMTP id hp32-20020a1709073e2000b009c3cd121927mr467492ejc.5.1698345751420; Thu, 26 Oct 2023 11:42:31 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3a163.dip0.t-ipconnect.de. [79.227.161.99]) by smtp.gmail.com with ESMTPSA id f13-20020a170906390d00b009c6e58437dasm20404eje.37.2023.10.26.11.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:42:31 -0700 (PDT) In-Reply-To: <874jidb5cf.fsf@localhost> (Ihor Radchenko's message of "Thu, 26 Oct 2023 18:34:24 +0000") 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:273313 Archived-At: Ihor Radchenko writes: > Eli Zaretskii writes: > >> Then maybe I don't understand what bothers you. What are the "changes >> made to the dump file in step 3" to which you allude? AFRAIU, step 3 >> simply loads the dump file, it doesn't change the file. What did I >> miss? > > step 1: create the dump file > step 2: load Emacs with the created dump file > step 3: repeat step 1 while Emacs is running -> running Emacs crashes > once I interact with its frame. > > Hope it is more clear. Ihor, maybe you could run emacs in a debuuger with a breakpoint on dump_map_file, so that we know for sure if mmap is called? gdb emacs (gdb) b dump_map_file (gbd) r -Q --dump-file # or what the command line was...