Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIMiI-0003dP-Fe for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Feb 2014 18:26:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WIMiH-0004eJ-Q0 for pgsql-bugs@arkaria.postgresql.org; Tue, 25 Feb 2014 18:26:41 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIMiG-0004eC-Ls for pgsql-bugs@postgresql.org; Tue, 25 Feb 2014 18:26:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WIMiA-0001Gu-52 for pgsql-bugs@postgresql.org; Tue, 25 Feb 2014 18:26:40 +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 s1PIQVPL003854; Tue, 25 Feb 2014 13:26:31 -0500 From: Tom Lane To: Rainer Tammer cc: pgsql-bugs@postgresql.org, cbbrowne@gmail.com Subject: Re: Problem with PostgreSQL 9.2.7 and make check on AIX 7.1 In-reply-to: <530CD7C3.3090401@spg.schulergroup.com> References: <530B1EEC.1080402@spg.schulergroup.com> <8776.1393273299@sss.pgh.pa.us> <530C5312.3010508@spg.schulergroup.com> <32656.1393346132@sss.pgh.pa.us> <530CCD87.9080407@spg.schulergroup.com> <1179.1393348704@sss.pgh.pa.us> <530CD7C3.3090401@spg.schulergroup.com> Comments: In-reply-to Rainer Tammer message dated "Tue, 25 Feb 2014 18:49:55 +0100" Date: Tue, 25 Feb 2014 13:26:31 -0500 Message-ID: <3853.1393352791@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Rainer Tammer writes: > The worker is hanging here: > (dbx) where > semop(??, ??, ??) at 0xd02f8df0 > PGSemaphoreLock(0x32438750, 0x1000001) at 0x10060958 > ProcSleep(0x20212d18, 0x20039140) at 0x10114ab8 > WaitOnLock(0x20212d18, 0x201f74f0) at 0x101269c0 > LockAcquireExtended(0x2ff1dc90, 0x1, 0x0, 0x0, 0x1000001) at 0x10128384 > LockAcquire(0x2ff1dc90, 0x1, 0x0, 0x0) at 0x101284a0 > LockRelationOid(0xa35c, 0x1) at 0x10173d50 > RangeVarGetRelidExtended(0x2020f5d8, 0x1, 0x1000001, 0x0, 0x0, 0x0) at > 0x1009dcf8 Pretty much as expected. So the question is why the signal isn't getting serviced; semop() should be interruptable. Given that you found it works again on a more recent AIX release, maybe that's an OS bug? It'd be worth adding some elog printouts to try to confirm whether the signal handlers are getting entered at all. It seems possible that the SIGALRM handler is entered but then the nested SIGINT occurrence is not serviced for some reason. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs