зеркало из https://github.com/mozilla/gecko-dev.git
More temporary debug spew to sort linux mochitest hang.
This commit is contained in:
Родитель
f160fbceec
Коммит
e6ff1d1ce5
|
@ -265,6 +265,16 @@ PluginModuleChild::AnswerNP_Shutdown(NPError *rv)
|
||||||
{
|
{
|
||||||
AssertPluginThread();
|
AssertPluginThread();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef OS_LINUX
|
||||||
|
printf("TEST-UNEXPECTED-FAIL | plugin process %d | got NP_Shutdown() %d\n", getpid());
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// the PluginModuleParent shuts down this process after this RPC
|
// the PluginModuleParent shuts down this process after this RPC
|
||||||
// call pops off its stack
|
// call pops off its stack
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,24 @@ protected:
|
||||||
void WaitForChildExit()
|
void WaitForChildExit()
|
||||||
{
|
{
|
||||||
DCHECK(process_);
|
DCHECK(process_);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
printf("TEST-UNEXPECTED-FAIL | process %d busy-waiting on | child process %d\n", getpid(), process_);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
HANDLE_EINTR(waitpid(process_, NULL, 0));
|
HANDLE_EINTR(waitpid(process_, NULL, 0));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
printf("TEST-UNEXPECTED-FAIL | process %d done busy-waiting on | child process %d\n", getpid(), process_);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pid_t process_;
|
pid_t process_;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче