Thread: Crash in pgadmin3 (Recent Files for postgresql.conf)
HI List,
We found a weird bug in pgAdmin3 (1.16) on Ubuntu and Windows 7.
Step to reproduce it:
1. File->Open postgresql.conf
2. Open any postgresql.conf on the file system. (This will open Backend Configuration Editor)
In Backend Configuration Editor:
3. File->Recent Files-><previous-selected-conf-file>
And, boom!!!
NOTE: Select any of the recently opened file and pgAdminIII will crash.
Here is the patch to resolve the issue.
Attachment

On Sun, Oct 7, 2012 at 11:17 PM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
HI List,We found a weird bug in pgAdmin3 (1.16) on Ubuntu and Windows 7.Step to reproduce it:1. File->Open postgresql.conf2. Open any postgresql.conf on the file system. (This will open Backend Configuration Editor)In Backend Configuration Editor:3. File->Recent Files-><previous-selected-conf-file>And, boom!!!NOTE: Select any of the recently opened file and pgAdminIII will crash.Here is the patch to resolve the issue.
Please find the updated patch, which resolves the issue much simpler way.
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
Attachment
Thanks, patch applied.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Mon, Oct 8, 2012 at 8:41 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
HI List,We found a weird bug in pgAdmin3 (1.16) on Ubuntu and Windows 7.Step to reproduce it:1. File->Open postgresql.conf2. Open any postgresql.conf on the file system. (This will open Backend Configuration Editor)In Backend Configuration Editor:3. File->Recent Files-><previous-selected-conf-file>And, boom!!!NOTE: Select any of the recently opened file and pgAdminIII will crash.Here is the patch to resolve the issue.Please find the updated patch, which resolves the issue much simpler way.
--Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

On Mon, Oct 8, 2012 at 6:20 PM, Dave Page <dpage@pgadmin.org> wrote:
Thanks, patch applied.
Thanks a lot.
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
On Mon, Oct 8, 2012 at 8:41 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:--HI List,We found a weird bug in pgAdmin3 (1.16) on Ubuntu and Windows 7.Step to reproduce it:1. File->Open postgresql.conf2. Open any postgresql.conf on the file system. (This will open Backend Configuration Editor)In Backend Configuration Editor:3. File->Recent Files-><previous-selected-conf-file>And, boom!!!NOTE: Select any of the recently opened file and pgAdminIII will crash.Here is the patch to resolve the issue.Please find the updated patch, which resolves the issue much simpler way.
--Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company