Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3507E1337B93 for ; Thu, 5 May 2011 16:32:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 43958-07 for ; Thu, 5 May 2011 19:31:56 +0000 (UTC) X-Greylist: delayed 00:09:56.811602 by SQLgrey-1.7.6 Received: from rotring.dds.nl (rotring.dds.nl [85.17.178.138]) by mail.postgresql.org (Postfix) with ESMTP id CD25B1337A5D for ; Thu, 5 May 2011 16:31:54 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by rotring.dds.nl (Postfix) with ESMTP id B0910580AE for ; Thu, 5 May 2011 21:21:56 +0200 (CEST) Received: from [192.168.1.40] (195-241-9-193.adsl.dds.nl [195.241.9.193]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by rotring.dds.nl (Postfix) with ESMTPSA id 95FDF58C18 for ; Thu, 5 May 2011 21:21:51 +0200 (CEST) Message-ID: <4DC2F8D1.9080200@dds.nl> Date: Thu, 05 May 2011 21:21:53 +0200 From: Leon Widdershoven User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Adding a user without expiration date using pgAdmin III causes postgresql Beta1 to crash Content-Type: multipart/alternative; boundary="------------040104020508080201000209" X-Virus-Scanned: clamav-milter 0.97 at rotring X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.565 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FILL_THIS_FORM_FRAUD_PHISH=0.334, HTML_MESSAGE=0.001, T_FILL_THIS_FORM_SHORT=0.01, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/31 X-Sequence-Number: 30170 This is a multi-part message in MIME format. --------------040104020508080201000209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hoi, I have just installed Postgresql Beta 1 on a new Windows 7 64-bit system (without a previously installed PostgreSQL). When using pgAdmin III (included in the installer package) to create a user (Login Role) postgresql crashes. This does not occur when I also set an expiration date on that user. OS: Windows 7 64-bit PostgreSQL version: PostgreSQL 9.1beta1, compiled by Visual C++ build 1500, 64-bit Steps to reproduce: - Download PostgreSQL via Download 9.1 Beta 1 installers (offsite link) on the PostgreSQL website - install PostgreSQL (not upgrade) - start pgAdmin - connect to the server - right-click on Login Roles - select New login role... - fill in Role name Password Password (again) - OK can now be clicked - click OK You now see an error dialog (server closed the connection unexpectedly) This is because the server has crashed. Even though it's probably pgAdmin sending an illegal statement to the server I think the major problem here is that it causes the server to crash. Regards, Leon Widdershoven Logs (verbose): 2011-05-05 21:07:33 CEST LOG: 00000: database system was shut down at 2011-05-05 21:06:15 CEST 2011-05-05 21:07:33 CEST LOCATION: StartupXLOG, .\src\backend\access\transam\xlog.c:6005 2011-05-05 21:07:33 CEST LOG: 00000: database system is ready to accept connections 2011-05-05 21:07:33 CEST LOCATION: reaper, .\src\backend\postmaster\postmaster.c:2435 2011-05-05 21:07:33 CEST LOG: 00000: autovacuum launcher started 2011-05-05 21:07:33 CEST LOCATION: AutoVacLauncherMain, .\src\backend\postmaster\autovacuum.c:404 2011-05-05 21:08:29 CEST LOG: 00000: server process (PID 2700) was terminated by exception 0xC0000005 2011-05-05 21:08:29 CEST HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2011-05-05 21:08:29 CEST LOCATION: LogChildExit, .\src\backend\postmaster\postmaster.c:2871 2011-05-05 21:08:29 CEST LOG: 00000: terminating any other active server processes 2011-05-05 21:08:29 CEST LOCATION: HandleChildCrash, .\src\backend\postmaster\postmaster.c:2695 2011-05-05 21:08:29 CEST WARNING: 57P02: terminating connection because of crash of another server process 2011-05-05 21:08:29 CEST DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2011-05-05 21:08:29 CEST HINT: In a moment you should be able to reconnect to the database and repeat your command. 2011-05-05 21:08:29 CEST LOCATION: quickdie, .\src\backend\tcop\postgres.c:2592 2011-05-05 21:08:29 CEST LOG: 00000: all server processes terminated; reinitializing 2011-05-05 21:08:29 CEST LOCATION: PostmasterStateMachine, .\src\backend\postmaster\postmaster.c:3116 2011-05-05 21:08:39 CEST FATAL: XX000: pre-existing shared memory block is still in use 2011-05-05 21:08:39 CEST HINT: Check if there are any old server processes still running, and terminate them. 2011-05-05 21:08:39 CEST LOCATION: PGSharedMemoryCreate, .\src\backend\port\win32_shmem.c:194 --------------040104020508080201000209 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hoi,

I have just installed Postgresql Beta 1 on a new Windows 7 64-bit system (without a previously installed PostgreSQL).

When using pgAdmin III (included in the installer package) to create a user (Login Role) postgresql crashes.

This does not occur when I also set an expiration date on that user.

OS: Windows 7 64-bit
PostgreSQL version: PostgreSQL 9.1beta1, compiled by Visual C++ build 1500, 64-bit

Steps to reproduce:
- Download PostgreSQL via Download 9.1 Beta 1 installers (offsite link) on the PostgreSQL website
- install PostgreSQL (not upgrade)
- start pgAdmin
- connect to the server
- right-click on Login Roles
- select New login role...
- fill in
   Role name
   Password
   Password (again)
- OK can now be clicked - click OK

You now see an error dialog (server closed the connection unexpectedly)
This is because the server has crashed.

Even though it's probably pgAdmin sending an illegal statement to the server I think the major problem
here is that it causes the server to crash.

Regards,
Leon Widdershoven

Logs (verbose):
2011-05-05 21:07:33 CEST LOG:  00000: database system was shut down at 2011-05-05 21:06:15 CEST
2011-05-05 21:07:33 CEST LOCATION:  StartupXLOG, .\src\backend\access\transam\xlog.c:6005
2011-05-05 21:07:33 CEST LOG:  00000: database system is ready to accept connections
2011-05-05 21:07:33 CEST LOCATION:  reaper, .\src\backend\postmaster\postmaster.c:2435
2011-05-05 21:07:33 CEST LOG:  00000: autovacuum launcher started
2011-05-05 21:07:33 CEST LOCATION:  AutoVacLauncherMain, .\src\backend\postmaster\autovacuum.c:404
2011-05-05 21:08:29 CEST LOG:  00000: server process (PID 2700) was terminated by exception 0xC0000005
2011-05-05 21:08:29 CEST HINT:  See C include file "ntstatus.h" for a description of the hexadecimal value.
2011-05-05 21:08:29 CEST LOCATION:  LogChildExit, .\src\backend\postmaster\postmaster.c:2871
2011-05-05 21:08:29 CEST LOG:  00000: terminating any other active server processes
2011-05-05 21:08:29 CEST LOCATION:  HandleChildCrash, .\src\backend\postmaster\postmaster.c:2695
2011-05-05 21:08:29 CEST WARNING:  57P02: terminating connection because of crash of another server process
2011-05-05 21:08:29 CEST DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2011-05-05 21:08:29 CEST HINT:  In a moment you should be able to reconnect to the database and repeat your command.
2011-05-05 21:08:29 CEST LOCATION:  quickdie, .\src\backend\tcop\postgres.c:2592
2011-05-05 21:08:29 CEST LOG:  00000: all server processes terminated; reinitializing
2011-05-05 21:08:29 CEST LOCATION:  PostmasterStateMachine, .\src\backend\postmaster\postmaster.c:3116
2011-05-05 21:08:39 CEST FATAL:  XX000: pre-existing shared memory block is still in use
2011-05-05 21:08:39 CEST HINT:  Check if there are any old server processes still running, and terminate them.
2011-05-05 21:08:39 CEST LOCATION:  PGSharedMemoryCreate, .\src\backend\port\win32_shmem.c:194
--------------040104020508080201000209--