Sadly the incoming numbers seem **not** to confirm that just raising the priority would help much here. The vast majority of crashes continue to not have any IPC shutdown state annotation. I assume that we could add some annotation inside [`ProcessChild::NotifyImpendingShutdown()`](https://searchfox.org/mozilla-central/rev/7142c947c285e4fe4fada728508b773528a225d8/ipc/glue/ProcessChild.cpp#72) to check if that [special `IMPENDING_SHUTDOWN_MESSAGE_TYPE` message](https://searchfox.org/mozilla-central/rev/9bed2623831804ac086bbb80cb666e5c3b00416a/ipc/glue/MessageChannel.cpp#892-895) sent by [ContentParent::StartForceKillTimer()](https://searchfox.org/mozilla-central/rev/7142c947c285e4fe4fada728508b773528a225d8/dom/ipc/ContentParent.cpp#2319) is processed, which would give us an indication if we might be able to talk to the client process in these situations at all such that we could trigger shutdown in a similar way. Otherwise I would assume we do not even arrive with any kind of message and IPC communication is somehow stalled?
Bug 1755376 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Sadly the incoming numbers seem **not** to confirm that just raising the priority would help much here. The vast majority of crashes continue to not have any IPC shutdown state annotation. I assume that we could add some annotation inside [`ProcessChild::NotifyImpendingShutdown()`](https://searchfox.org/mozilla-central/rev/7142c947c285e4fe4fada728508b773528a225d8/ipc/glue/ProcessChild.cpp#72) to check if that [special `IMPENDING_SHUTDOWN_MESSAGE_TYPE` message](https://searchfox.org/mozilla-central/rev/9bed2623831804ac086bbb80cb666e5c3b00416a/ipc/glue/MessageChannel.cpp#892-895) sent by [`ContentParent::StartForceKillTimer()`](https://searchfox.org/mozilla-central/rev/7142c947c285e4fe4fada728508b773528a225d8/dom/ipc/ContentParent.cpp#2319) is processed, which would give us an indication if we might be able to talk to the client process in these situations at all such that we could trigger shutdown in a similar way. Otherwise I would assume we do not even arrive with any kind of message and IPC communication is somehow stalled?