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 1mgtt6-0005v0-0V for pgsql-bugs@arkaria.postgresql.org; Sat, 30 Oct 2021 19:19:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mgtt4-00023H-6D for pgsql-bugs@arkaria.postgresql.org; Sat, 30 Oct 2021 19:19:30 +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 1mgtt3-000236-Nv for pgsql-bugs@lists.postgresql.org; Sat, 30 Oct 2021 19:19:29 +0000 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mgtt0-0001d4-7m for pgsql-bugs@lists.postgresql.org; Sat, 30 Oct 2021 19:19:28 +0000 Received: by mail-qk1-x735.google.com with SMTP id y10so12731207qkp.9 for ; Sat, 30 Oct 2021 12:19:25 -0700 (PDT) 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=euAkOWCkvVk20mfbaZlJv9rKHcTr5tnrUn5CcE7TIUc=; b=SoBuo1932JARWCCdc95M1XLnavX0axAnrKIT5vZiG+Q+HT00jZwRWSlXOhrmsQB2wm Z8XHkHSgFq64mS0/V/xZ4DYHIf02HKKJ6ZEU5M2bjleDMmzsF/mzHEuBATGezdElP2LN yiM2TEMA63SAbZofK1skxbXlnUAliu/SfbeK8= 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=euAkOWCkvVk20mfbaZlJv9rKHcTr5tnrUn5CcE7TIUc=; b=5HI+PD5bIYH0uUytrystdWGzjQ27EemXD9ci8k3CvCcMSpiq0VsAQwEL110E0zAIWK dQLIEXStyM/Oo8GGoyJsJkSnUa9qfFq7+GzgDVnEGON++tzUoFs+FWuSQRun8uUW3Fwk I8zph00UgUvCguxIkPEw8q7jLNhQg+9veBMcRjkdvO1xh9u8kPsm5wJP1g+wqhjzDY0t 5KYGMv8kKIixHNnlNhlUZSRBLbU2Hn/SdDgshLx2/o93orEZ4lH03MUoAvviUKkusBwg lYsf2LTqv/M5JftQmMLjhBaeVyI4qYayWKy2dPrfADiYvy+3pFU+aRJACq4j6Q/8X5t8 TS+A== X-Gm-Message-State: AOAM531ABdxpRAVz06nf9I8HboGjn839aKsxQldJKbyUBJGF/kYieed5 TzAjS89yNBHcIkWiq70CZxsqHQ== X-Google-Smtp-Source: ABdhPJxWp5N5HsVT/DJIlP5Gmk7gNyjpSDI3zoDymHUfvNgKfGszKyFhBFM1bvDlHjYSaIR9c0K7Gw== X-Received: by 2002:a05:620a:818:: with SMTP id s24mr15360895qks.395.1635621564013; Sat, 30 Oct 2021 12:19:24 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id g19sm7053575qtg.78.2021.10.30.12.19.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Oct 2021 12:19:22 -0700 (PDT) Date: Sat, 30 Oct 2021 12:19:19 -0700 From: Noah Misch To: Sandeep Thakkar Cc: Andrey Borodin , CM Team , PostgreSQL mailing lists , Michael Paquier , Tom Lane , Peter Geoghegan , Andres Freund Subject: Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data Message-ID: <20211030191919.GA355663@rfd.leadboat.com> References: <20211017151205.GA2384251@rfd.leadboat.com> <9BA43784-E4A7-4638-900C-FC9868C388FA@yandex-team.ru> <20211019030212.GB3403374@rfd.leadboat.com> <20211024050028.GA3310519@rfd.leadboat.com> <20211024233502.GA3960658@rfd.leadboat.com> <20211028140459.GA284584@rfd.leadboat.com> <6EA60326-3CDF-4433-A190-F6D94A4B2ED5@yandex-team.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 Sat, Oct 30, 2021 at 01:44:56PM +0530, Sandeep Thakkar wrote: > On Sat, Oct 30, 2021 at 1:29 PM Sandeep Thakkar wrote: > > On Sat, Oct 30, 2021 at 12:56 PM Andrey Borodin = wrote: > >> Some failed runs on this animal indicate SegFault in places changed by > >> bugfix relevant to this thread. Fails were observed only on HEAD, but = this > >> may be a result of concurrent nature of possible new bug. If there is = a new > >> bug - this would affect upcoming point release. But we do not know for > >> sure. Other animals show no signs of any related SegFault. > >> Can you please run make check phase on this animal on HEAD multiple ti= me > >> (preferably ~hundred times)? If some of this runs fail it's vital to > >> collect backtraces of run. > > > > OK I got it now. I've scheduled "./run_build.pl HEAD" on this animal to > > run multiple times in a day. Unfortunately, I can't run it ~100 times > > because it's a legacy (slow) server and also we run another animal (ano= le - > > with a different compiler) on the same server. Depending on the time ev= ery > > run on HEAD takes, I'll increase the frequency. Hope this helps. > > I've used "--force" option so that it ignores the last running status. > ./run_build.pl --verbose --force HEAD Thanks, but I don't think that gets us closer to having a stack trace for t= he SIGSEGV. If some run gets a SIGSEGV, the core dump will get unlinked. I'd disable both buildfarm member cron jobs and then run this script (derived f= rom gharial's buildfarm configuration): git clone https://git.postgresql.org/git/postgresql.git cd postgresql git checkout 70bef49 export LD_LIBRARY_PATH=3D'/opt/uuid-1.6.2/inst/lib:/opt/packages/uuid-1.6.2= /inst/lib:/opt/packages/krb5-1.11.3/inst/lib/hpux64:/opt/packages/libmemcac= hed-0.46/inst/lib/hpux64:/opt/packages/libevent-2.0.10/inst/lib/hpux64:/opt= /packages/expat-2.0.1/inst/lib/hpux64:/opt/packages/gdbm-1.8.3/inst/lib/hpu= x64:/opt/packages/openldap-2.4.24/inst/lib/hpux64:/opt/packages/proj-4.7.0/= inst/lib:/opt/packages/geos-3.2.2/inst/lib:/opt/packages/db-5.1.19/inst/lib= /hpux64:/opt/packages/freetype-2.4.4/inst/lib/hpux64:/opt/packages/tcltk-8.= 5.9/inst/lib/hpux64:/opt/packages/openssl-1.0.0d/inst/lib/hpux64:/opt/packa= ges/editline-2.9/inst/lib/hpux64:/opt/packages/mutt-1.5.21/inst/lib/hpux64:= /opt/packages/libidn-1.20/inst/lib/hpux64:/opt/packages/libxslt-1.1.26/inst= /lib/hpux64:/opt/packages/libgcrypt-1.4.6/inst/lib/hpux64:/opt/packages/lib= gpg_error-1.10/inst/lib/hpux64:/opt/packages/libxml2-2.7.8/inst/lib/hpux64:= /opt/packages/zlib-1.2.5/inst/lib/hpux64:/opt/packages/grep-2.7/inst/lib/hp= ux64:/opt/packages/pcre-8.12/inst/lib/hpux64:/opt/packages/ncurses-5.8/inst= /lib/hpux64:/opt/packages/termcap-1.3.1/inst/lib/hpux64:/opt/packages/gette= xt-0.18.1.1/inst/lib/hpux64:/opt/packages/libiconv-1.13.1/inst/lib/hpux64:/= opt/packages/sdk-10.2.0.5.0-hpux-ia64/instantclient_10_2/lib' cat >temp.conf <