Re: BUG: Can not wait for thread termination pgAdmin III 1.18.0-beta1

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Paragon Corporation <lr(at)pcorp(dot)us>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: BUG: Can not wait for thread termination pgAdmin III 1.18.0-beta1
Date: 2013-07-05 09:13:31
Message-ID: CAG7mmoyjTz1UTtewqFLVocahfoYZPfjMWgtFbGYJ0C88z+-yMA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Fri, Jul 5, 2013 at 1:22 AM, Paragon Corporation <lr(at)pcorp(dot)us> wrote:

> This seems to be an issue with the Query window. I should note that if I
> run
> the same commands using psql
> Errors just return back without any weird alert and also doesn't happen if
> I
> run an older pgAdmin with 9.3beta2 -- pgAdmin III 1.16.1 for example does
> not have this problem.
>
> ---
>
>
> I just installed PostgreSQL 9.3 beta2 using EDB installer (which installed
> pgAdmin 1.18.0-beta1).
> If I try to run something in SQL Query window that triggers an error -- for
> example creating a role that already exists
>
> I get a pgAdmin III alert saying:
>
> "An error has occurred: Can not wait for thread termination (error 6: the
> handle is invalid.)"
> And then it shows the error normally.
>
> This error seems to happen when you are for example trying to create an
> account that already exists and I suspect any time postgres tries to throw
> an error.
>
> I don't recall having this issue in the
> PostgreSQL 9.3 beta1 release.
>
> I've tried this on both my local windows 7 64-bit and a windows 2003 R2
> server and get the same error.
>
>
> To replicate the error try doing this in pgAdmin query window and second
> time will bring up the alert.
>
> CREATE ROLE test;
> CREATE ROLE test; --doesn't always trigger alert
> CREATE ROLE test;
>
> Sometimes the error just happens randomly too often after the alert has
> been
> triggered once.
>
I could not reproduce the above issue.
Even though - I know couple of places, where you could get this kind of
error.
In order to resolve the issue, I have sent a patch to pgadmin-hackers list.

You can follow the mail thread:
http://www.postgresql.org/message-id/CAG7mmoyaNxJU2xUMsOj3mLxObEt0qsXHCObT690V5MLcdtrVPA@mail.gmail.com

>
>
> Thanks,
> Regina
>
>
>
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>

--
--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Christian.Dangaard 2013-07-09 05:53:47 pgAdmin 1.16.1 Unattended Installation [SEC=UNOFFICIAL]
Previous Message Paragon Corporation 2013-07-04 19:52:38 BUG: Can not wait for thread termination pgAdmin III 1.18.0-beta1