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 1oaJFn-0005DL-M1 for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Sep 2022 16:04:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oaJFl-0000sr-Bd for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Sep 2022 16:04:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaJFk-0000qZ-U0 for pgsql-hackers@lists.postgresql.org; Mon, 19 Sep 2022 16:04:13 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oaJFh-0005M8-Qb for pgsql-hackers@postgresql.org; Mon, 19 Sep 2022 16:04:11 +0000 Received: by mail-qt1-x833.google.com with SMTP id s18so17930238qtx.6 for ; Mon, 19 Sep 2022 09:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemguards-com-ec.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=00YMaVf1Ma91ukMvv//x5C7M8pjeeakn+bGk9QwGkhE=; b=XpXtk1jYWfyjNZhSPTXY9OicN54pNTlbLd7kGizR+e8LwNeau6HdjUf6cVrDyD4ns6 Loxdv3484Pp0BA/DufxDPJTRAokxShlNp4e62Ngyp/xT57oMSi+4zbdM78+032ctHT8e hIJqFjAlKFTmszsnPne4J0su9idGoRfcvFxTcJpa2dMEmTM6Bq0O+3jFEDyYabhnu80d m1dKlyq4vdCMQ2DrMgpv9HC28MEakubX/e9sYd6igiX4MN+5aeWqqVZ27WNF9ftlzSWA AWaSfO0J66EgEXJhb9zGuWv6+wsNaidqPlz+ChjWwj9CIfZUpB1RwDZCEgJwpcayl/22 ytZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=00YMaVf1Ma91ukMvv//x5C7M8pjeeakn+bGk9QwGkhE=; b=Jq9Pk5kGSmc1OmVe1Xgc2goW6WWUBuSc1WVuvB+JyvQxudM2dbikfyHWjoAMcg/PfO 7ERPZ3v3cE1JmvBpcdC1VHtRwU1jqQ6zZR5LzDgEugQapJlKj39XSX67MMYRj4zJ0gdo kMDRRHK3fGTNuzCJBGgiQoCHUqZD5iNRTeYSuFlIwbvgV7YGnHuVGgwo24BEj8nysJTW 44450YyUSnuuRzo3MM2yYV75DM2GDH+3aCilz1usfGpKkhqkgoNTMMJZDh+kDnndrmCy cWmyPKOwZwyuJDz7B9KmClGlOz0LhDAkymh712UEW0EswaKLmnXCuOa13IddpmYQZ4l6 AnFw== X-Gm-Message-State: ACrzQf1kUZkEiPuw5h9JqqGdh7hOXoe3oQRa4s2fodFPm1dRergRwqfU TYil3KvBfhbTXbhSyKRzQNKxzQ== X-Google-Smtp-Source: AMsMyM74Bdyv94ATrpDD4Pjz7mB+AlFKh+/08TNSO0HUhQSp3nBRFeBjff35MU81zU9US/ge/ZlAWQ== X-Received: by 2002:a05:622a:1755:b0:35b:a3ad:6283 with SMTP id l21-20020a05622a175500b0035ba3ad6283mr15360072qtk.422.1663603447385; Mon, 19 Sep 2022 09:04:07 -0700 (PDT) Received: from ahch-to ([201.183.1.162]) by smtp.gmail.com with ESMTPSA id w18-20020a05620a445200b006ce9d6e51f4sm12175846qkp.67.2022.09.19.09.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 09:04:07 -0700 (PDT) Date: Mon, 19 Sep 2022 11:04:03 -0500 From: Jaime Casanova To: Kyotaro Horiguchi Cc: andres@anarazel.de, pgsql-hackers@postgresql.org Subject: Re: START_REPLICATION SLOT causing a crash in an assert build Message-ID: References: <20220915.173011.1996796030245946057.horikyota.ntt@gmail.com> <20220916.143717.1696696757596823748.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220916.143717.1696696757596823748.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Sep 16, 2022 at 02:37:17PM +0900, Kyotaro Horiguchi wrote: > At Thu, 15 Sep 2022 11:15:12 -0500, Jaime Casanova wrote in > > It fails at ./src/backend/utils/activity/pgstat_shmem.c:530 inside > > Thanks for the info. I reproduced by make check.. stupid.. > > It's the thinko about the base address of reset_off. > > So the attached doesn't crash.. > Hi, Just confirming there have been no crash since this last patch. -- Jaime Casanova Director de Servicios Profesionales SystemGuards - Consultores de PostgreSQL