Closed Bug 1944669 Opened 7 months ago Closed 6 months ago

Warning "failed to send SIGKILL to process" appears in terminal

Categories

(Core :: IPC, defect, P2)

Firefox 136
defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox134 --- unaffected
firefox135 --- unaffected
firefox136 --- fixed
firefox137 --- fixed

People

(Reporter: viktor_jaegerskuepper, Assigned: jld)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Steps to reproduce on Linux:

  • launch Firefox from terminal
  • visit www.youtube.com or www.reddit.com (I could reproduce this easier with Youtube, other sites might also work.)
  • open new tab
  • close tab with Youtube/Reddit
  • notice a warning like this in the terminal appearing after a few seconds:
    [Parent 121553, IPC I/O Parent] WARNING: failed to send SIGKILL to process 133325: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:159
  • if the warning doesn't appear, try again

I couldn't figure out why the warning doesn't always appear. Interestingly I also got the warning by just visiting Youtube and waiting for some time.

During my regular browsing sessions this warning appears several times. I don't know if this means there is a bug or if this warning should be silenced.

I ran mozregression with --process-output=stdout and got:
Last good revision: 16b2437248d92c7a4d79b5f7ddee09935685e6a6
First bad revision: e3c3c980538708e0cde56b28ffa4e37861640a6d
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=16b2437248d92c7a4d79b5f7ddee09935685e6a6&tochange=e3c3c980538708e0cde56b28ffa4e37861640a6d

This points to bug 1658072.

OS: Arch Linux
KDE Plasma 6.2.5 on Wayland

Setting Regressed by field after analyzing regression range found by mozregression in comment #0.

Keywords: regression
Regressed by: 1658072

:jld, since you are the author of the regressor, bug 1658072, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jld)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → jld
Severity: -- → S4
Priority: -- → P2

I'm going to assume the warning is harmless, but jld can elaborate.

Type: enhancement → defect
Type: enhancement → defect

As far as I can tell, bug 1658072 didn't change the behavior except for the logging. I have a patch.

Flags: needinfo?(jld)

The case in question is where the process exits before the timeout
expires and it's a forkserver child. Previously (before bug 1658072)
there wouldn't be a log message in this case, but otherwise the effect
was the same: if a process with the given pid was still running, it
would be sent SIGKILL.

Pushed by jedavis@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e357dbb1efc Suppress ProcessWatcher logspam introduced in earlier rewrite. r=ipc-reviewers,mccr8
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch

The patch landed in nightly and beta is affected.
:jld, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox136 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(jld)

The case in question is where the process exits before the timeout
expires and it's a forkserver child. Previously (before bug 1658072)
there wouldn't be a log message in this case, but otherwise the effect
was the same: if a process with the given pid was still running, it
would be sent SIGKILL.

Original Revision: https://phabricator.services.mozilla.com/D237857

Attachment #9467004 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: scary-looking log messages that may result in filing unnecessary bugs
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: n/a
  • Risk associated with taking this patch: very low
  • Explanation of risk level: affects only a log message, and only a feature that's usually preffed off
  • String changes made/needed: none
  • Is Android affected?: no
Attachment #9467004 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: needinfo?(jld)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: