dbTalk Databases Forums  

[BUGS] Wierd MD5-authentication crash on Solaris 8

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Wierd MD5-authentication crash on Solaris 8 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Josh Berkus
 
Posts: n/a

Default [BUGS] Wierd MD5-authentication crash on Solaris 8 - 12-04-2003 , 01:25 PM







Severity: Core dump
Frequency: Unusual
PostgreSQL Version: 7.4.0 release
Platform:=20=20
Solaris 8
gmake 3.80
gcc 3.23
440mhz UltraSparc III
Netra T1/105
Reproducability: 100% on this machine and an identical one.=20
Not yet tested on other machines running Solaris 8.
Summary: attempting to connect via MD5 authentication as a user=20
who has no password triggers a core dump of Postmaster.
Steps to Reproduce:=20=20
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.

--=20
-Josh Berkus
Aglio Database Solutions
San Francisco


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
  #2  
Old   
Neil Conway
 
Posts: n/a

Default Re: [BUGS] Wierd MD5-authentication crash on Solaris 8 - 12-04-2003 , 09:58 PM






Josh Berkus <josh (AT) agliodbs (DOT) com> writes:
Quote:
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


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #3  
Old   
Josh Berkus
 
Posts: n/a

Default Re: [BUGS] Wierd MD5-authentication crash on Solaris 8 - 12-05-2003 , 11:17 AM



Neil,

Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
  #4  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Wierd MD5-authentication crash on Solaris 8 - 12-08-2003 , 10:04 PM



Josh Berkus <josh (AT) agliodbs (DOT) com> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #5  
Old   
Josh Berkus
 
Posts: n/a

Default Re: [BUGS] Wierd MD5-authentication crash on Solaris 8 - 12-12-2003 , 11:22 AM



Tom,

Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
  #6  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Wierd MD5-authentication crash on Solaris 8 - 12-12-2003 , 12:50 PM



Josh Berkus <josh (AT) agliodbs (DOT) com> writes:
Quote:
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/cvsw...nd/libpq/hba.c

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.