Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyU9E-0001cD-Cg for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Jan 2013 21:15:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TyU9D-0006iw-T2 for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Jan 2013 21:15:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyU9D-0006ir-Ap for pgsql-bugs@postgresql.org; Thu, 24 Jan 2013 21:15:47 +0000 Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyU9C-0001Fs-7P for pgsql-bugs@postgresql.org; Thu, 24 Jan 2013 21:15:46 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id A0E59330A7; Fri, 25 Jan 2013 10:15:44 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lbO7DhMWfX5Q; Fri, 25 Jan 2013 10:15:42 +1300 (NZDT) Received: from [192.168.1.64] (122-60-64-230.jetstream.xtra.co.nz [122.60.64.230]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id 9FA0D330DB; Fri, 25 Jan 2013 10:15:42 +1300 (NZDT) Message-ID: <5101A47D.6050508@catalyst.net.nz> Date: Fri, 25 Jan 2013 10:15:41 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Joe Conway CC: "pgsql-bugs@postgresql.org" Subject: Re: PL/R Median Busts Commit (Postgres 9.1.6 + plr 8.3.0.13 on Ubuntu 12.10 64 bit) References: <5100B6B2.8030408@catalyst.net.nz> <51014FCB.30601@joeconway.com> <5101A3DA.5080507@catalyst.net.nz> In-Reply-To: <5101A3DA.5080507@catalyst.net.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) 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 On 25/01/13 10:12, Mark Kirkwood wrote: > On 25/01/13 04:14, Joe Conway wrote: >> On 01/24/2013 05:21 AM, Mark Kirkwood wrote: >>> I admit - it sounds unlikely. However a simple scenario (attached) gives >>> rise to: >> >> This is the wrong place for the bug report on PL/R I think, but I'll >> take a look. >> >> Joe >> >> > > FYI - 8.4 shows the same behaviour as 9.1, but 8.3 gets a SUGUSR1: > > > Program received signal SIGUSR1, User defined signal 1. > 0x00000000005a401f in SIInsertDataEntry (segP=0x7f3b8ea5e2a0, > data=data@entry=0x4082d10) at sinvaladt.c:255 > 255 segP->buffer[segP->maxMsgNum % MAXNUMMESSAGES] = *data; > (gdb) > > Sorry - the others are getting a SIGUSR1 too (just was not so obvious). Here's bt from 9.1: Program received signal SIGUSR1, User defined signal 1. 0x00007f2bfe4c1707 in kill () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007f2bfe4c1707 in kill () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x0000000000611683 in SICleanupQueue (callerHasWriteLock=1 '\001', minFree=) at sinvaladt.c:672 #2 0x0000000000611768 in SIInsertDataEntries (data=0x7f2bf68b4cb0, n=0) at sinvaladt.c:437 #3 0x00000000006cdad1 in ProcessInvalidationMessagesMulti (hdr=0x295b240, func=0x610de0 ) at inval.c:402 #4 0x00000000006ce780 in AtEOXact_Inval (isCommit=) at inval.c:940 #5 0x00000000004826cd in CommitTransaction () at xact.c:1893 #6 0x000000000048467d in CommitTransactionCommand () at xact.c:2562 #7 0x0000000000623a17 in finish_xact_command () at postgres.c:2452 #8 finish_xact_command () at postgres.c:2441 #9 0x0000000000626b5d in exec_simple_query (query_string=0x29f7d60 "COMMIT;") at postgres.c:1051 #10 PostgresMain (argc=, argv=, username=) at postgres.c:3968 #11 0x00000000005eb429 in BackendRun (port=0x2979f00) at postmaster.c:3611 #12 BackendStartup (port=0x2979f00) at postmaster.c:3296 #13 ServerLoop () at postmaster.c:1460 #14 0x00000000005ebd3c in PostmasterMain (argc=, argv=0x2955600) at postmaster.c:1121 #15 0x0000000000453d20 in main (argc=1, argv=0x2955600) at main.c:199 (gdb) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs