[REGRESSION] kill segfaults w/ single, negative PID

Bug #1643084 reported by dann frazier
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
Fix Released
High
dann frazier
Xenial
Fix Released
High
dann frazier

Bug Description

[Impact]
The kill binary will segfault when called w/ a single, negative PID. This breaks a use case where you maybe sending the default signal (SIGTERM) to all processes (-1) or all processes in a process group (-<PGID). This is regression introduced via an SRU to fix LP: #1637026.

[Test Case]
$ /bin/kill -9
Segmentation fault (core dumped)

[Regression Risk]
This fix will now make our optparsing almost identical to current yakkety, for which I see no obvious regressions filed.

Revision history for this message
dann frazier (dannf) wrote :
Changed in procps (Ubuntu Xenial):
assignee: nobody → dann frazier (dannf)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello dann, or anyone else affected,

Accepted procps into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/procps/2:3.3.10-4ubuntu2.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in procps (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
dann frazier (dannf)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for procps has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package procps - 2:3.3.10-4ubuntu2.3

---------------
procps (2:3.3.10-4ubuntu2.3) xenial; urgency=medium

  * kill: Fix segfault when called with single negative pid,
    a regression introduced in 2:3.3.10-4ubuntu2.1 (LP: #1643084).

 -- dann frazier <email address hidden> Fri, 18 Nov 2016 16:08:57 -0700

Changed in procps (Ubuntu Xenial):
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
tags: added: regression-update
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.