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 1mjyn8-0007Xe-3S for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Nov 2021 07:10:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mjyn6-0002hl-3P for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Nov 2021 07:10:04 +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 1mjyn5-0002hc-JQ for pgsql-bugs@lists.postgresql.org; Mon, 08 Nov 2021 07:10:03 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mjymy-00068A-8j for pgsql-bugs@lists.postgresql.org; Mon, 08 Nov 2021 07:10:02 +0000 Received: by mail-oi1-x22d.google.com with SMTP id bf8so8224194oib.6 for ; Sun, 07 Nov 2021 23:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=kMW/aV+ths86ItxGAavCrqCAdLM33BN2dA+W340MulU=; b=SjwI4DgE0FnppM+ufmP7Fn7RmI5z3/OhSwq0Tkhlaxazkb1J6YvzRIWtqUnYDmajay PZw+vgLUmnWuEmcJdzxYtAVMA+RDHLYJaElWOPiuQ1t5bV7fxsIvbhZ7ZoysusUWI+rY Z2enfk78u7qwUWW3K3dMOUEUoJOqvR1R8dDu8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=kMW/aV+ths86ItxGAavCrqCAdLM33BN2dA+W340MulU=; b=T7BwL3UfniX00EwUcLdq+i2NSQF3XrBouzBZ6csfpgGTuHUbnndjl8MxpYUNBIsOKL NTCZumcQhl1Xmab3FKXoUAhUKEL3N+5vdVd1+1yBmYV6GUU7zvVtlRGlQsf6AALDjCIf WO0XzO3ua6yb6lcHZ8KXSJEZAGPmwudOXZDhRL2HBWJwMF24F7eDGtxECtoeSwVR7GL9 Jay++WqTF3imSBj6wAFLVk9JjCMiItO5HVI3raempGiRBVwlOOZrzDvDA9rfqY8Dfrd2 wgm7n4ibeuxpbh2VTpu9RGoyEhOqniuR9+p19Wmpk6lWS2k7IXPZUIeBb1AEQrO1KmuA Ojrw== X-Gm-Message-State: AOAM533mYB17eOhLNT8L6aQvEH4l6x0gmGQDpysl8IRrieTPjNHWkS8k X+eQWQefJt6MvJriBUOuFsj3Aw== X-Google-Smtp-Source: ABdhPJyUhumb5EQWds9xeosi1nh2UN8AUmBTKBgSyguf3zlVviWuRJ9xWK41EXLCiLXxBXZVzfdwMQ== X-Received: by 2002:a54:4391:: with SMTP id u17mr36225154oiv.15.1636355394080; Sun, 07 Nov 2021 23:09:54 -0800 (PST) Received: from rfd.leadboat.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id g10sm991898otg.10.2021.11.07.23.09.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Nov 2021 23:09:53 -0800 (PST) Date: Sun, 7 Nov 2021 23:09:50 -0800 From: Noah Misch To: Semab Tariq Cc: Thomas Munro , Sandeep Thakkar , Robert Haas , Andrey Borodin , Andres Freund , CM Team , PostgreSQL mailing lists , Michael Paquier , Tom Lane , Peter Geoghegan Subject: Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data Message-ID: <20211108070950.GB882747@rfd.leadboat.com> References: <20211105013553.GA671366@rfd.leadboat.com> <20211105090347.GB671366@rfd.leadboat.com> <20211105112236.GA711250@rfd.leadboat.com> <20211106230846.GA790288@rfd.leadboat.com> <20211107232202.GA882747@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Nov 08, 2021 at 11:22:45AM +0500, Semab Tariq wrote: > On Mon, Nov 8, 2021 at 4:22 AM Noah Misch wrote: > > Thanks.  That shows the crash happened sometime after strcmp(defval1->adbin, > > defval2->adbin).  Please run the attached version, > > PFA the new log file > 0x40000000003fdc30:2 in equalTupleDescs (tupdesc1=0x60000000001fdb98, tupdesc2=0x6000000000202da8) > 0x40000000003fdc30:2 : br.call.sptk.many rp=0x3fffffffff3fdc30 > 0x3fffffffff3fdc30 in () > 0x3fffffffff3fdc30: Error accessing memory address 0x3fffffffff3fdc30: Bad address. This postgres binary apparently contains an explicit branch to 0x3fffffffff3fdc30, which is not an address reasonably expected to contain code. (It's not a known heap, a known stack, or a CODE section from the binary file.) This probably confirms a toolchain bug. Would you do "git checkout 166f943" in the source directory you've been testing, then rerun the test and post the compressed tmp_check/log directory? I'm guessing that will show the bad branch instruction no longer present.