Fixed crash in Query Tool - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Fixed crash in Query Tool
Date
Msg-id CANxoLDf5u7AQEnJAUvj_6oUc=aSQREPdn2wEwS2zvKtAw=HDRA@mail.gmail.com
Whole thread Raw
Responses Re: Fixed crash in Query Tool  (Dave Page <dpage@pgadmin.org>)
List 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

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: sysSettings::Flush()
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Prevent a crash if the query tool is closed whilst