Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 11C2D9FB4D3 for ; Thu, 6 Sep 2007 11:56:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 18442-01 for ; Thu, 6 Sep 2007 11:56:50 -0300 (ADT) Received: from mx1.hub.org (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4E5249FB4CF for ; Thu, 6 Sep 2007 11:56:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mx1.hub.org (Postfix) with ESMTP id 29D8C608C8C for ; Thu, 6 Sep 2007 11:56:50 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l86EI3Y6022269; Thu, 6 Sep 2007 10:18:03 -0400 (EDT) To: Daniel Rubio cc: pgsql-admin@postgresql.org Subject: Re: Can't login to 8.2.4 if not superuser... In-reply-to: <46DFAD00.5070907@tinet.org> References: <46DE594F.30900@tinet.org> <13068.1189004492@sss.pgh.pa.us> <46DFAD00.5070907@tinet.org> Comments: In-reply-to Daniel Rubio message dated "Thu, 06 Sep 2007 09:32:16 +0200" Date: Thu, 06 Sep 2007 10:18:03 -0400 Message-ID: <22268.1189088283@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/35 X-Sequence-Number: 26796 Daniel Rubio writes: > Here's the stack trace, I'm not sure this is all you need (it's the > first time I use gdb) so, tell me if you need more information > Core was generated by `/aplicacions/postgres/bin/postmaster -D > /aplicacions/postgres/data'. > Program terminated with signal 11, Segmentation fault. > #0 0x001a66b4 in HaveNFreeProcs () > (gdb) backtrace > #0 0x001a66b4 in HaveNFreeProcs () > #1 0x0024deb4 in InitPostgres () > #2 0x001b1464 in PostgresMain () > #3 0x001837f0 in ServerLoop () > #4 0x00184cd8 in PostmasterMain () > #5 0x001373f8 in main () Well, that's pretty darn odd. It looks like you could work around the crash by setting superuser_reserved_connections to 0, but that doesn't tell us *why* it's crashing. HaveNFreeProcs, and the data structure it looks at, are simple enough that it's hard to credit a bug there. I'm worried that what you've got is really a compiler bug. What compiler did you build with, and did you use any nondefault CFLAGS? (pg_config output would be helpful here.) regards, tom lane