Thread: pgAdmin III 1.2.0 crashes when trying to open a database with no rights

pgAdmin III 1.2.0 crashes when trying to open a database with no rights

From
Raphaël Enrici
Date:
Dear all,

sorry for this christmas gift... Can some of you confirm this bug please:

- Try to connect to a database where the server is waiting for an ident
connection.
- Error message is displayed "FATAL:  IDENT authentication failed for
user "xxx""
- Right click on the DB and try to open the Grant Wizard.
- You can also try to launch the maintenance window and click ok...

pgAdmin III segfaults.


Here is the log:
2004-12-28 11:02:39 ERROR  : FATAL:  IDENT authentication failed for
user "blacknoz"

2004-12-28 11:02:45 INFO   : Destroying pgConn object
2004-12-28 11:02:45 STATUS : Chargement de B.Données détails... (6,55
secondes)
2004-12-28 11:02:52 INFO   : Creating a grant wizard dialogue for
Database freeoszoo
2004-12-28 11:02:52 INFO   : Creating a ctlSQLBox

Attached is a backtrace.

Regards,
Raphaël

Attachment

Re: pgAdmin III 1.2.0 crashes when trying to open

From
Andreas Pflug
Date:
Raphaël Enrici wrote:
> Dear all,
>
> sorry for this christmas gift... Can some of you confirm this bug please:
>
> - Try to connect to a database where the server is waiting for an ident
> connection.
> - Error message is displayed "FATAL:  IDENT authentication failed for
> user "xxx""
> - Right click on the DB and try to open the Grant Wizard.
> - You can also try to launch the maintenance window and click ok...

I didn't check it, but tend to confirm it anyway. I fixed connection
handling after failed connection a few days before Xmas, which probably
will fix this too because in 1.2.0 the conn will be existent, but
invalid and unusable in that situation.

Regards,
Andreas