Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fsXHH-0004Iy-69 for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Aug 2018 17:50:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fsXHF-0002v4-LK for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Aug 2018 17:50:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fsXHF-0002u5-67 for pgsql-bugs@lists.postgresql.org; Wed, 22 Aug 2018 17:50:41 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fsXHC-0007Rl-B0 for pgsql-bugs@lists.postgresql.org; Wed, 22 Aug 2018 17:50:39 +0000 Received: by mail-qt0-x242.google.com with SMTP id f19-v6so1676182qtf.2 for ; Wed, 22 Aug 2018 10:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Y+NEHzS2JOB7gPy5i9RCFXe2zRLnsvRsHpw1dNGJUCo=; b=hC7001V2AGrXMFb8VMphFbovutgPdce0E2+Fz5XcXn8n1ttiPiUQf/xxIVTn7/QJWu oFpLyIOFCjjG0vIEZYEw0n8mPJQIMwvTlhfWQ790RtpVC9MYG7eJzBz/pZpTwQrVPvvT 5YDTefKqd4FordBYejnGweCkcQvh00x4Z5OkV/g5RFG/kr+BD06w6IcC6s7Z76TYnCni pjZzAzbK4wRh8hbH7CnTwb92a1nHcjaygU1vtXmgFH28uIyWpEnv7uEtZ51qEvzAWi0G yFx7bF5X5LcJ6ebiN6hF40Zy3jhFmMPMQAWM1KtOMeLvKNJjJ1owkb6ItmCDViwnLiBo oYNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Y+NEHzS2JOB7gPy5i9RCFXe2zRLnsvRsHpw1dNGJUCo=; b=DUBWDcstyBWgbfNLuJ+7Zc0k5Cowvf+1IjqRkGs5M6wn9BiCQlyJw4/6DUJw7Lcfgv N+ESDULPJufrvba3TwIaWWjDxeuEcp8VidGZspHFxiv8zTI7PDpN7eoYKemRahD5yXu+ T8jh5OHWdimAn2iKOfQy7WvBuNUJpL8Z9RX8UP4vS6JAwmUbstm8U3GGpsFy6Ie7YP3J RrBn28R2+Drm2nCH8ucryLocxhKpcC2Srcan+S0lpe96w7u2PkxaO9KYm2AV/HwjEulc CvGb/H+gc8lctWPkqJ+IVsf6OwTLM5+EVrZrCsUYxhlMfwnBU4J/Pamw+C+oGSHCHTme fz6A== X-Gm-Message-State: AOUpUlEEhrDQQI8X3jAI5dr1G6ug2uoQDP0+vReiCiY64uCUpxeDEwiR M8quB7UsspRA0MDKR9a+bSyk1Q== X-Google-Smtp-Source: AA+uWPzDSBjgyaAkP6kZBPiNCOJHzm2miewEQljTAb7PR1f6b5c1BllnN2y0i1sSe57AdCd/tMWu5g== X-Received: by 2002:a0c:9e5a:: with SMTP id z26-v6mr52562285qve.15.1534960236915; Wed, 22 Aug 2018 10:50:36 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id s37-v6sm110962qtk.5.2018.08.22.10.50.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Aug 2018 10:50:36 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 863436FB; Wed, 22 Aug 2018 14:50:34 -0300 (-03) Date: Wed, 22 Aug 2018 14:50:34 -0300 From: Alvaro Herrera To: Dmitry Dolgov <9erthalion6@gmail.com> Cc: Alexander Kukushkin , Michael Paquier , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15346: Replica fails to start after the crash Message-ID: <20180822175034.lnvwk5js32k6mjyz@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Aug-22, Dmitry Dolgov wrote: > > ENOTIME for a closer look ATM, though, sorry. Maybe you could try > > running under valgrind? > > Could you elaborate please, what can we find using valgrind in this case, some > memory leaks? In any way there is a chance that everything will be ok, since > even just a slow tracing under gdb leads to disappearing of this race > condition. I don't know. I was thinking it could detect some invalid write in shared memory. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services