Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pmNkw-0001PC-V4 for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Apr 2023 23:50:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pmNkv-00025e-Ga for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Apr 2023 23:50:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pmNkv-00025V-5V for pgsql-hackers@lists.postgresql.org; Tue, 11 Apr 2023 23:50:33 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pmNks-002KZb-GJ for pgsql-hackers@postgresql.org; Tue, 11 Apr 2023 23:50:32 +0000 Received: by mail-ej1-x634.google.com with SMTP id dm2so24645481ejc.8 for ; Tue, 11 Apr 2023 16:50:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681257028; x=1683849028; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EpDYHL22c4DFhZiggrR/vkX8Pz1e0oovEZSygPlMCLE=; b=A13IaaMPpTdT/+bJaleEyz/jyUhSa91c3iu6h5VvDIOHvdmAdRfCF1iGJECBqyx7Zz MEk9XlCo8wHsBsbIVkv8jF5fcOpeQ4nE9acZfc5/ac70jZvXlXCamxvTsxsGS9Fze6yD cp4iuoikkaB76qMHXWkC6qOaziMVVvpPIrsuOqr7u5+9yqrzTf0y8msX1Rv+hhQVZI1K AbocNjaa4UV4irQsSknU8C1vylW8lHUClQDu/5i8CjeipGwC5f1pBiFQ+jcDOfAaqhNW 7Il8wquBtJhuSHXgd7gTi0OfmDq2zU7aKy6kLJadjJWE1PxlPIsXpCscDP7QYejRJ/Bz jcTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681257028; x=1683849028; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EpDYHL22c4DFhZiggrR/vkX8Pz1e0oovEZSygPlMCLE=; b=p3NuLTapI3qURyJBOeMUUeiPZVggoJIquwMd9xbcr8YDTERhWuaRD80rmmZJFzBooH 6w8d/pJZAMGwp17nbv0nHbfG2/Un9JXYFwUqlamt6g96NsVuqOiDtO66aRnfJ18wvbwC nDwkKERX6aevyfPYkv8Xq02H3GQeCch/+0rDXjA3j1+32jCj+42HmPdp1aRLn4KGdw+b yfNYB1sjv2Gl0oWo0u4ewAI03KQrFVr3+HEYxrDe/lejKMw1WZh97lpmWBiU7ld1XCCO aNs7Z7eSRh5J1pY2xCMzBJ6ErzHlXK/LR5ljN8e4xaHDCoe+7+oYqMj84PfIaIqX6qgK j4ug== X-Gm-Message-State: AAQBX9fIF1bxFrD1F5AXEmIiK+FZKyWUUa9GUht+gxDO4dEMpHB5VQ9L JsivkK+lem4peGtjpIEgK/OASG9CgZh+3KbErQo= X-Google-Smtp-Source: AKy350ZM7vU5k6Zd1DljZ7BsljsUiKCRxdZyMuNt6JB0Q4evptCHPR5xtEqOfiKi1+IJVHpn+wtKeDO+hky818c9VAo= X-Received: by 2002:a17:906:4bd7:b0:94b:ffe9:37f6 with SMTP id x23-20020a1709064bd700b0094bffe937f6mr2242730ejv.3.1681257028469; Tue, 11 Apr 2023 16:50:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Thomas Munro Date: Wed, 12 Apr 2023 11:49:51 +1200 Message-ID: Subject: Re: v15b1: FailedAssertion("segment_map->header->magic == (DSA_SEGMENT_HEADER_MAGIC ^ area->control->handle ^ index)", File: "dsa.c", ..) To: Justin Pryzby Cc: pgsql-hackers@postgresql.org, Andres Freund Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 12, 2023 at 11:37=E2=80=AFAM Justin Pryzby wrote: > $ ls /dev/shm/ |grep 3696856876 || echo not found > not found Oh, of course it would have restarted after it crashed and unlinked that... So the remaining traces of that memory *might* be in the core file, depending (IIRC) on the core filter settings (you definitely get shared anonymous memory like our main shm region by default, but IIRC there's something extra needed if you want the shm_open'd DSM segments to be dumped too...) > (In case it matters: the vm has been up for 1558 days). I will refrain from invoking cosmic radiation at this point :-) > If it's helpful, I could provide the corefile, unstripped binaries, and > libc.so, which would be enough to use gdb on your side with "set > solib-search-path". Sounds good, thanks, please send them over off-list and I'll see if I can figure anything out ...