Skip site navigation (1) Skip section navigation (2)

PATCH: Debugger crashing on OSX

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dave(dot)page(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: PATCH: Debugger crashing on OSX
Date: 2010-04-29 14:19:48
Message-ID: n2i8cf965d31004290719n94996c66z78009c0e3307042e@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi Dave,

As you found the segment fault on OSX  related to debugger.
In dlgDirectDbg::OnTargetComplete(), It waits for the function
this->Show(true) for completion, and "this" pointer will not be available on
cancellation,  and hence It is crashing on next line.
ie. this->SetFocus();

On removing this line, the problem is getting solved.

--
Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company<http://www.enterprisedb.com>

Attachment: CrashDebuggerOnOSXOnCancellation.patch
Description: text/x-patch (365 bytes)

Responses

pgadmin-hackers by date

Next:From: Erwin BrandstetterDate: 2010-04-29 15:28:09
Subject: Re: Redundant statements
Previous:From: Ashesh VashiDate: 2010-04-29 13:25:07
Subject: Re: PATCH(WIP): Printing Support And Save GQB/Explain as an image

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group