pstree crashes on fclose(NULL)
Bug #1755681 reported by
Thomas Snider
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
psmisc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am on 16.04.4 LTS. I am seeing pstree crash intermittently, and I tracked it down to an fclose(NULL):
https:/
I am guessing it is a race condition where the procfs entry disappears between dir listing and the fopen() call several lines above.
This is fixed in the latest release (v23.0, released 9 months ago) but exists in the current version of psmisc for 16.04.4 (v22.21).
Would this call for a bump of the upstream version, or an Ubuntu-specific patch to remove that fclose() call?
To post a comment you must log in.
After two weeks of no response, is this the wrong venue?