PATCH: Debugger crashing on OSX
PATCH: Debugger crashing on OSX
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 <dpage@pgadmin.org>
Дата:
On Thu, Apr 29, 2010 at 3:19 PM, Ashesh Vashi 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