Thread: Crash in pgadmin3 (Recent Files for postgresql.conf)

Crash in pgadmin3 (Recent Files for postgresql.conf)

From
Ashesh Vashi
Date:
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.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:
Enterprise PostgreSQL Company

 

http://www.linkedin.com/in/asheshvashi


Attachment

Re: Crash in pgadmin3 (Recent Files for postgresql.conf)

From
Ashesh Vashi
Date:

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.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.
Please find the updated patch, which resolves the issue much simpler way.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: 
Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi 


--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:
Enterprise PostgreSQL Company

 

http://www.linkedin.com/in/asheshvashi



Attachment

Re: Crash in pgadmin3 (Recent Files for postgresql.conf)

From
Dave Page
Date:
Thanks, patch applied.

On Mon, Oct 8, 2012 at 8:41 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:

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.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.
Please find the updated patch, which resolves the issue much simpler way.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: 
Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi 


--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:
Enterprise PostgreSQL Company

 

http://www.linkedin.com/in/asheshvashi





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

Re: Crash in pgadmin3 (Recent Files for postgresql.conf)

From
Ashesh Vashi
Date:

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

http://www.linkedin.com/in/asheshvashi 


On Mon, Oct 8, 2012 at 8:41 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:

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.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.
Please find the updated patch, which resolves the issue much simpler way.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: 
Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi 


--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA:
Enterprise PostgreSQL Company

 

http://www.linkedin.com/in/asheshvashi





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