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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
CrashDebuggerOnOSXOnCancellation.patch text/x-patch 365 bytes

Responses

Browse pgadmin-hackers by date

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