Thread: PATCH: Debugger crashing on OSX

PATCH: Debugger crashing on OSX

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


Attachment

Re: PATCH: Debugger crashing on OSX

From
Dave Page
Date:
On Thu, Apr 29, 2010 at 3:19 PM, Ashesh Vashi
<ashesh.vashi@enterprisedb.com> wrote:
> 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, patch applied.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company