Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coR9s-0000Ci-2A for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2017 08:53:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1coR9r-0002xe-Hn for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2017 08:53:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1coR8O-0000BK-Dh for pgsql-hackers@postgresql.org; Thu, 16 Mar 2017 08:51:48 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1coR8M-0000Yg-0X for pgsql-hackers@postgresql.org; Thu, 16 Mar 2017 08:51:47 +0000 Received: by mail-wm0-x236.google.com with SMTP id t189so41665955wmt.1 for ; Thu, 16 Mar 2017 01:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=nBsHIjnFzf1PPyi63mgsRXqbEOogf2y22/MTzJTJYMA=; b=voVrYj1xvWxEA8n5hjJNo5eYvhmS7P90gc4HWth9kpMlmZif3d4CCyUJkESck5/v1O dQnSSFDca5DrLUaohhyyOw6U8h4HbaV9C87Nzw4H0Dg8KT10XMfVdRNqXC0/36cgZ0Sp I3ExBMJ8auLwny31efEk2XeaZF8cfCjBl7yKywZz6bEr6JdIZXD31jovw88P7BwxU5WL ceGPMg27qRTVEVFjr1o7+cp1edh/DLBWipcn+vinhiNB7+hGztrXrDuBwZhQMPO+pFga i3gXuYsCQD84Uwvlw+p7fFJtZ1xS8On7ydhyAHAyjcz2zKWHxSZB+AWOxKQYC4i0hUMn fFYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=nBsHIjnFzf1PPyi63mgsRXqbEOogf2y22/MTzJTJYMA=; b=GDkQmoz4B/sx/A4/z4gaYDzlENKPF0YK9z8+vdsTzpCxZkBBr/w9kUwj5YA4uC/fe5 sUntC3n8Zdc/IAFCZSPVC8CLm0xOWfUJyUYsgyOuDFzAll2gkJg7btFhz+SyOF8UO6pk we5xrytLF+qznJwDdaLatP5aPygmxbxJv0f+dkAFI3YkjoXp9Om3gXpO9TzSfpjrbUxE abrM4u1MwXBE9bxVriMxr3bry1RcGRTLK7sncaDXMVCnxh3N0sdG7FBsTCwx1b3njML+ aD+X553mioECYKH4lBI1WHHG9vYoaZ1wdHBG9zUFjbTui7LU2ZKB4aDfj+nWXGuWGeYF 5Nuw== X-Gm-Message-State: AFeK/H2kSGsRexff5Ox7C0dsUdw6ZmmcNu5tXTg6Po9yKrx9he6pDnzm7utIjSTrQ0I0zuV+ X-Received: by 10.28.59.193 with SMTP id i184mr8374697wma.97.1489654304052; Thu, 16 Mar 2017 01:51:44 -0700 (PDT) Received: from [192.168.0.105] (150.123.broadband11.iol.cz. [90.178.123.150]) by smtp.gmail.com with ESMTPSA id c8sm5337746wrd.34.2017.03.16.01.51.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 01:51:43 -0700 (PDT) Subject: Re: logical replication launcher crash on buildfarm To: Andres Freund References: <20170316032833.2zxfnqe3sl3ktrbt@alap3.anarazel.de> <20170316034246.3uurliezczmka6cn@alap3.anarazel.de> <20170316084423.whlkxjtm735tqjgu@alap3.anarazel.de> Cc: pgsql-hackers@postgresql.org, Petr Jelinek , Peter Eisentraut From: Petr Jelinek Message-ID: <0337938f-4bda-3157-014e-c699d2d884f0@2ndquadrant.com> Date: Thu, 16 Mar 2017 09:51:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170316084423.whlkxjtm735tqjgu@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 16/03/17 09:44, Andres Freund wrote: > On 2017-03-16 09:40:48 +0100, Petr Jelinek wrote: >> On 16/03/17 04:42, Andres Freund wrote: >>> On 2017-03-15 20:28:33 -0700, Andres Freund wrote: >>>> Hi, >>>> >>>> I just unstuck a bunch of my buildfarm animals. That triggered some >>>> spurious failures (on piculet, calliphoridae, mylodon), but also one >>>> that doesn't really look like that: >>>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=culicidae&dt=2017-03-16%2002%3A40%3A03 >>>> >>>> with the pertinent point being: >>>> >>>> ================== stack trace: pgsql.build/src/test/regress/tmp_check/data/core ================== >>>> [New LWP 1894] >>>> [Thread debugging using libthread_db enabled] >>>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >>>> Core was generated by `postgres: bgworker: logical replication launcher '. >>>> Program terminated with signal SIGSEGV, Segmentation fault. >>>> #0 0x000055e265bff5e3 in ?? () >>>> #0 0x000055e265bff5e3 in ?? () >>>> #1 0x000055d3ccabed0d in StartBackgroundWorker () at /home/andres/build/buildfarm-culicidae/HEAD/pgsql.build/../pgsql/src/backend/postmaster/bgworker.c:792 >>>> #2 0x000055d3ccacf4fc in SubPostmasterMain (argc=3, argv=0x55d3cdbb71c0) at /home/andres/build/buildfarm-culicidae/HEAD/pgsql.build/../pgsql/src/backend/postmaster/postmaster.c:4878 >>>> #3 0x000055d3cca443ea in main (argc=3, argv=0x55d3cdbb71c0) at /home/andres/build/buildfarm-culicidae/HEAD/pgsql.build/../pgsql/src/backend/main/main.c:205 >>>> >>>> it's possible that me killing things and upgrading caused this, but >>>> given this is a backend running EXEC_BACKEND, I'm a bit suspicous that >>>> it's more than that. The machine is a bit backed up at the moment, so >>>> it'll probably be a while till it's at that animal/branch again, >>>> otherwise I'd not have mentioned this. >>> >>> For some reason it ran again pretty soon. And I'm afraid it's indeed an >>> issue: >>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=culicidae&dt=2017-03-16%2003%3A30%3A02 >>> >> >> Hmm, I tried with EXEC_BACKEND (and with --disable-spinlocks) and it >> seems to work fine on my two machines. I don't see anything else >> different on culicidae though. Sadly the backtrace is not that >> informative either. I'll try to investigate more but it will take time... > > I can give you a login to that machine, it doesn't do anything but run > buildfarm animals... Will have to be my tomorrow however. > That would be helpful, thanks. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers