Thread: BUG #1982: pgAdmin 1.2.2 crash when refreshing objects

BUG #1982: pgAdmin 1.2.2 crash when refreshing objects

From
"edward"
Date:
The following bug has been logged online:

Bug reference:      1982
Logged by:          edward
Email address:      edward.pilipczuk@unisys.com
PostgreSQL version: 8.0.3
Operating system:   Win2000 WS
Description:        pgAdmin 1.2.2 crash when refreshing objects
Details:

how to recreate crash in pgAdmin 1.2.2 on W2K
1. open application and connect to my_db
2. navigate on left panel:
   open db->my_db->schemes->public->tables->my_table
3. open child window to edit/review the table layout
4. don't accept changes, but push refresh button on the toolbar of the main
pgAdmin window
5. try to accept changes now on the child window

Application crashes with the message "memory access violation"

Re: BUG #1982: pgAdmin 1.2.2 crash when refreshing objects

From
"Dave Page"
Date:
=20

> -----Original Message-----
> From: pgsql-bugs-owner@postgresql.org=20
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of edward
> Sent: 21 October 2005 10:40
> To: pgsql-bugs@postgresql.org
> Subject: [BUGS] BUG #1982: pgAdmin 1.2.2 crash when refreshing objects
>=20
>=20
> The following bug has been logged online:
>=20
> Bug reference:      1982
> Logged by:          edward
> Email address:      edward.pilipczuk@unisys.com
> PostgreSQL version: 8.0.3
> Operating system:   Win2000 WS
> Description:        pgAdmin 1.2.2 crash when refreshing objects
> Details:=20
>=20
> how to recreate crash in pgAdmin 1.2.2 on W2K
> 1. open application and connect to my_db
> 2. navigate on left panel:
>    open db->my_db->schemes->public->tables->my_table
> 3. open child window to edit/review the table layout
> 4. don't accept changes, but push refresh button on the=20
> toolbar of the main
> pgAdmin window
> 5. try to accept changes now on the child window

There won't be a 1.2.3 release as we're aboout to release 1.4 (we don't
maintain prior major releases like PostgreSQL because we keep backwards
compatibility anyway). Please test this in 1.4 beta 3 (in which the
refresh and tree handling code is largely rewritten) and report any
issues to pgadmin-support@postgresql.org.

Regards, Dave.

Re: BUG #1982: pgAdmin 1.2.2 crash when refreshing objects

From
Andreas Pflug
Date:
Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: pgsql-bugs-owner@postgresql.org
>>[mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of edward
>>Sent: 21 October 2005 10:40
>>To: pgsql-bugs@postgresql.org
>>Subject: [BUGS] BUG #1982: pgAdmin 1.2.2 crash when refreshing objects
>>
>>
>>The following bug has been logged online:
>>
>>Bug reference:      1982
>>Logged by:          edward
>>Email address:      edward.pilipczuk@unisys.com
>>PostgreSQL version: 8.0.3
>>Operating system:   Win2000 WS
>>Description:        pgAdmin 1.2.2 crash when refreshing objects
>>Details:
>>
>>how to recreate crash in pgAdmin 1.2.2 on W2K
>>1. open application and connect to my_db
>>2. navigate on left panel:
>>   open db->my_db->schemes->public->tables->my_table
>>3. open child window to edit/review the table layout
>>4. don't accept changes, but push refresh button on the
>>toolbar of the main
>>pgAdmin window
>>5. try to accept changes now on the child window

This is a known problem, not easily solved (not in 1.4.0).
When refreshing, you're destroying program structures used by the open
dialog. Advice: don't do this.

Regards,
Andreas