Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id CAA899FB2BE for ; Tue, 24 Oct 2006 17:46:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 33966-10 for ; Tue, 24 Oct 2006 17:46:06 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id DCDC79FB2BB for ; Tue, 24 Oct 2006 17:46:05 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from bay0-omc2-s8.bay0.hotmail.com (bay0-omc2-s8.bay0.hotmail.com [65.54.246.144]) by svr4.postgresql.org (Postfix) with ESMTP id 117B55AF032 for ; Tue, 24 Oct 2006 20:46:03 +0000 (GMT) Received: from hotmail.com ([207.46.8.217]) by bay0-omc2-s8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Oct 2006 13:45:54 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 24 Oct 2006 13:45:10 -0700 Message-ID: Received: from 207.46.8.251 by by118fd.bay118.hotmail.msn.com with HTTP; Tue, 24 Oct 2006 20:45:08 GMT X-Originating-IP: [70.48.57.176] X-Originating-Email: [pelletier_32@sympatico.ca] X-Sender: pelletier_32@sympatico.ca From: "JEAN-PIERRE PELLETIER" To: pgsql-jdbc@postgresql.org Subject: server process (PID 1188) exited with exit code -1073741819, 8.2 beta1 Date: Tue, 24 Oct 2006 16:45:08 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 24 Oct 2006 20:45:10.0769 (UTC) FILETIME=[4C45E610:01C6F7AD] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.442 tagged_above=0 required=5 tests=AWL, MSGID_FROM_MTA_HEADER, SPF_NEUTRAL X-Spam-Level: ** X-Archive-Number: 200610/110 X-Sequence-Number: 15993 Hi, I have a query that throws "org.postgresql.util.PSQLException: An I/O error occured while sending to the backend". Here is a simplified version of it where I used pg_database, but any table or view do the same. PreparedStatement pstmt = connection.prepareStatement("select ? from (select * from pg_database) t"); pstmt.setObject(1, 1); ResultSet rs = pstmt.executeQuery(); It restarts PostgreSQL with this in the Log 2006-10-24 15:35:38 LOG: server process (PID 1188) exited with exit code -1073741819 2006-10-24 15:35:38 LOG: terminating any other active server processes 2006-10-24 15:35:38 LOG: all server processes terminated; reinitializing 2006-10-24 15:35:39 LOG: database system was interrupted at 2006-10-24 15:34:54 Eastern Standard Time 2006-10-24 15:35:39 LOG: Windows fopen("recovery.conf","r") failed: code 2, errno 2 2006-10-24 15:35:39 LOG: Windows fopen("pg_xlog/00000001.history","r") failed: code 2, errno 2 2006-10-24 15:35:39 LOG: Windows fopen("backup_label","r") failed: code 2, errno 2 2006-10-24 15:35:39 LOG: checkpoint record is at 0/31FDF0A0 2006-10-24 15:35:39 LOG: redo record is at 0/31FDF0A0; undo record is at 0/0; shutdown TRUE 2006-10-24 15:35:39 LOG: next transaction ID: 0/22535; next OID: 101011 2006-10-24 15:35:39 LOG: next MultiXactId: 1; next MultiXactOffset: 0 2006-10-24 15:35:39 LOG: database system was not properly shut down; automatic recovery in progress 2006-10-24 15:35:39 LOG: record with zero length at 0/31FDF0F0 2006-10-24 15:35:39 LOG: redo is not required 2006-10-24 15:35:40 LOG: database system is ready 2006-10-24 15:35:40 LOG: Windows fopen("global/pg_fsm.cache","rb") failed: code 2, errno 2 2006-10-24 15:35:40 LOG: transaction ID wrap limit is 2147484172, limited by database "postgres" 2006-10-24 15:36:40 LOG: Windows fopen("global/pgstat.stat","rb") failed: code 2, errno 2 2006-10-24 15:36:40 LOG: Windows fopen("global/pgstat.stat","rb") failed: code 2, errno 2 I am using PostgreSQL 8.2 beta1 on Windows XP, Service Pack 2 Both JDBC3 driver 8.1 build 407 and 8.2 build 503 do the same. Thanks, Jean-Pierre Pelletier e-djuster