Lists: | pgsql-bugs |
---|
From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Wierd MD5-authentication crash on Solaris 8 |
Date: | 2003-12-04 19:10:24 |
Message-ID: | 200312041110.24161.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Severity: Core dump
Frequency: Unusual
PostgreSQL Version: 7.4.0 release
Platform:
Solaris 8
gmake 3.80
gcc 3.23
440mhz UltraSparc III
Netra T1/105
Reproducability: 100% on this machine and an identical one.
Not yet tested on other machines running Solaris 8.
Summary: attempting to connect via MD5 authentication as a user
who has no password triggers a core dump of Postmaster.
Steps to Reproduce:
1) set localhost authentication to MD5
2) set up a new user without setting a password.
3) attempt to connect as that user.
Core dump file is available. Strace can also be done if desired.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Wierd MD5-authentication crash on Solaris 8 |
Date: | 2003-12-05 03:55:53 |
Message-ID: | 87ad67kjee.fsf@mailbox.samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Summary: attempting to connect via MD5 authentication as a user
> who has no password triggers a core dump of Postmaster.
[...]
> Core dump file is available.
Can you post a stacktrace? (Building the postmaster with debugging
symbols first would be nice.)
-Neil
From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | Neil Conway <neilc(at)samurai(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Wierd MD5-authentication crash on Solaris 8 |
Date: | 2003-12-05 17:14:28 |
Message-ID: | 200312050914.28137.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Neil,
> Can you post a stacktrace? (Building the postmaster with debugging
> symbols first would be nice.)
I'll see what I can do. A regular strace should be easy.
--
Josh Berkus
Aglio Database Solutions
San Francisco
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Wierd MD5-authentication crash on Solaris 8 |
Date: | 2003-12-09 03:39:03 |
Message-ID: | 26440.1070941143@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Solaris 8
> Summary: attempting to connect via MD5 authentication as a user
> who has no password triggers a core dump of Postmaster.
Is this the bsearch-of-no-elements problem recently discussed?
(If you have other users who do have passwords, then it's not...)
regards, tom lane
From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Wierd MD5-authentication crash on Solaris 8 |
Date: | 2003-12-12 17:17:58 |
Message-ID: | 200312120917.58380.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Tom,
> Is this the bsearch-of-no-elements problem recently discussed?
> (If you have other users who do have passwords, then it's not...)
Actually, it could be. Is it patched in the current source code?
--
Josh Berkus
Aglio Database Solutions
San Francisco
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Wierd MD5-authentication crash on Solaris 8 |
Date: | 2003-12-12 18:47:50 |
Message-ID: | 21052.1071254870@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> Is this the bsearch-of-no-elements problem recently discussed?
> Actually, it could be. Is it patched in the current source code?
Yeah, see
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/libpq/hba.c
regards, tom lane