Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iFhHR-0001JW-Vw for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Oct 2019 16:15:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iFhHQ-0007Rd-SV for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Oct 2019 16:15:08 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iFhHQ-0007RT-KM for pgsql-bugs@lists.postgresql.org; Wed, 02 Oct 2019 16:15:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iFhHO-00028f-Ic for pgsql-bugs@lists.postgresql.org; Wed, 02 Oct 2019 16:15:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x92GF4nB008757; Wed, 2 Oct 2019 12:15:04 -0400 From: Tom Lane To: Miha Vrhovnik cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16033: segmentation fault when runing update In-reply-to: <96a2b703-9e74-bc35-c700-bccbf8678c66@naviter.com> References: <16033-6c9a1ddbdad9f296@postgresql.org> <32600.1570024314@sss.pgh.pa.us> <96a2b703-9e74-bc35-c700-bccbf8678c66@naviter.com> Comments: In-reply-to Miha Vrhovnik message dated "Wed, 02 Oct 2019 17:40:35 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8755.1570032904.1@sss.pgh.pa.us> Date: Wed, 02 Oct 2019 12:15:04 -0400 Message-ID: <8756.1570032904@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Miha Vrhovnik writes: > Unfortunately I'd need a bit of hand holding for generating a core as > I've added the `ulimit -c unlimited` at the top of the init.d file but > to no avail. That seems reasonable. (Just to check off the obvious, you did restart the postmaster service afterwards, right?) > find / -name core There are few if any modern platforms on which the name of a core file is just "core" -- most people add a PID, for instance. Searching the whole filesystem is also unlikely to be productive. I'd just take a look into the PG data directory and see if you see anything including "core" in its name. Also, I don't know much about Ubuntu, but if it uses systemd then probably systemd has commandeered collection of core files and you need to negotiate with systemd-coredump. (Your reference to an init.d file makes this theory unlikely, but I mention it for completeness.) regards, tom lane