Обсуждение: PATCH: Debugger crashing on OSX

Поиск
Список
Период
Сортировка

PATCH: Debugger crashing on OSX

От
Ashesh Vashi
Дата:
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


Вложения

Re: PATCH: Debugger crashing on OSX

От
Dave Page
Дата:
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