Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq3MH-0000pV-47 for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2013 15:34:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uq3MF-0001o9-UM for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2013 15:34:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq1xg-0000vQ-B6 for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 14:05:12 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq1xc-0008T9-7Y for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 14:05:12 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uq1xa-0002HB-Pr for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 14:05:07 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Uq1xU-0003lP-Qe for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 14:05:00 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8245: Urgent:Query on slave failing with invalid memory alloc request size 18446744073709537559 To: pgsql-bugs@postgresql.org From: kapplegate@apsalar.com Message-Id: Date: Fri, 21 Jun 2013 14:05:00 +0000 X-Pg-Spam-Score: -3.4 (---) 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 The following bug has been logged on the website: Bug reference: 8245 Logged by: Kim Applegate Email address: kapplegate@apsalar.com PostgreSQL version: 9.2.4 Operating system: OpenIndiana Description: One of our queries has started failing randomly on our slaves with invalid memory alloc request size 18446744073709537559 This is eventually repeatable on any slave that has failed. Of the 64 slaves it will fail on 1-5 of them for any given run. The stored procedure that is failing queries on a partition with 64 children and only returns rows from 4 of the child tables. Turning Debug on in the logs only gives this Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.warning] [27-1] ERROR: invalid memory alloc request size 18446744073709532101 Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.warning] [27-2] CONTEXT: SQL function "events_args_top500_week" statement 1 Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.debug] [28-1] DEBUG: shmem_exit(0): 7 callbacks to make Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.debug] [29-1] DEBUG: proc_exit(0): 3 callbacks to make Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.debug] [30-1] DEBUG: exit(0) Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.debug] [31-1] DEBUG: shmem_exit(-1): 0 callbacks to make Jun 20 06:50:53 * postgres[14825]: [ID 748848 local2.debug] [32-1] DEBUG: proc_exit(-1): 0 callbacks to make apsalar=# select version(); -------------------------------------------------------------------------------- PostgreSQL 9.2.4 on x86_64-pc-solaris2.11, compiled by gcc (GCC) 4.7.2, 64-bit (1 row) -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs