const wchar_t kPipeName[] = L"\\\\.\\Pipe\\anndmpipe";
if (crash_server) {
return;
}
std::wstring dump_path = L".";
crash_server = new CrashGenerationServer(kPipeName,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
true,
&dump_path);
if (!crash_server->Start()) {
delete crash_server;
crash_server = NULL;
}
this my code for new process mode when i debug it
it alwarys dead lock in !crash_server->Start())
if (!RegisterWaitForSingleObject(&pipe_wait_handle_,
overlapped_.hEvent,
OnPipeConnected,
this,
INFINITE,
kPipeIOThreadFlags)) {
why it dead lock??
Original issue reported on code.google.com by calflov...@gmail.com on 6 Jun 2012 at 9:28
Original issue reported on code.google.com by
calflov...@gmail.com
on 6 Jun 2012 at 9:28