Open Bug 1872850 Opened 10 months ago Updated 10 months ago

Nightly process became completely unresponsive during a build, and never recovered.

Categories

(Core :: Widget: Cocoa, defect, P5)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

Attachments

(2 files)

I saw this happen twice so far: I'm doing a build and doing something else on my terminal, and going back to Nightly doesn't work at all.

I'm not sure if https://crash-stats.mozilla.org/report/index/bf183466-64c0-4ef1-af79-13b120240103 is related or not. Relevant code seems to be related to bug 1864641 so cc'ing relevant folks.

I attached the info I got from force-quitting. I also got a trace doing xctrace, but I basically got no info... Happy to attach it tho.

Attached file traces.zip

Recorded with xctrace record --template 'Time Profiler' --attach 2813 so not sure if useful.

Are you saying that this is not a dupe of bug 1864641?

Flags: needinfo?(emilio)

That is a shutdown hang. This is not, this is the parent process being stuck

Flags: needinfo?(emilio)

My point is that I'm not sure whether they're related in the sense that the parent process seems to be killing content processes according to the attachment in comment 0. Those processes might not be responsive because they're on the background but this is causing the parent process to hang ~indefinitely or at least for a really long time

Attachment 9370867 [details] shows the following:

  1. On the main thread, ContentParent::KillHard blocks in ExceptionHandler::WriteMinidump
  2. On the "Breakpad ExceptionHandler" thread, MinidumpGenerator::WriteBootargsStream blocks in malloc
  3. On the "com.apple.NSEventThread" thread, malloc is suspended in the kernel: *11 ??? (kernel.release.t6020 + 734208) [0xfffffe0008613400] (suspended) 1-11

Not sure what to make of this.

ni? me to file a radar / maybe bring it up with apple folks, because ^ makes no sense to me either.

Flags: needinfo?(emilio)

(In reply to Markus Stange [:mstange] from comment #5)

Attachment 9370867 [details] shows the following:

  1. On the main thread, ContentParent::KillHard blocks in ExceptionHandler::WriteMinidump
  2. On the "Breakpad ExceptionHandler" thread, MinidumpGenerator::WriteBootargsStream blocks in malloc
  3. On the "com.apple.NSEventThread" thread, malloc is suspended in the kernel: *11 ??? (kernel.release.t6020 + 734208) [0xfffffe0008613400] (suspended) 1-11

Not sure what to make of this.

Is this the Apple profiler freezing the parent process to get the thread stacks while the parent process was trying to write the minidump?

Am I right in thinking the KillHard stack is a result of the force quit? But we're interested in the original hang.

Flags: needinfo?(emilio)

The severity field is not set for this bug.
:spohl, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(spohl.mozilla.bugs)
Severity: -- → S4
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P5

I believe this is Bug 1864641 and that killing the parent process may result in differing outcomes and call stacks.

See Also: → 1864641
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: