Fixed crash in Query Tool

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Fixed crash in Query Tool
Date: 2012-10-11 13:20:59
Message-ID: CANxoLDf5u7AQEnJAUvj_6oUc=aSQREPdn2wEwS2zvKtAw=HDRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave

We have found one crash in the query tool when we open very large sql file
and exit the query tool. Below are the steps to reproduce the crash:

- Launch pgAdmin3, select any server and database.
- Open query tool, goto File menu and open very large sql file.
- Exit the query tool before the file gets loaded completely. At this
point application gets crashed.

Attached is the patch file which contains the fix. Please review it and if
it looks OK to you then can you please commit it.

--
*Akshay Joshi
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246*

Attachment Content-Type Size
Fixed_QueryTool_Crash.patch application/octet-stream 1.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-10-11 13:50:41 pgAdmin III commit: Prevent a crash if the query tool is closed whilst
Previous Message Guillaume Lelarge 2012-10-10 19:13:15 Re: sysSettings::Flush()