group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #22643
[Bug 1755681] Re: pstree crashes on fclose(NULL)
I think you are right here, not sure what happened to the triager of
march 14th.
23 is in Artful and Bionic already.
So the question here is to backport via an SRU to Xenial
** Also affects: psmisc (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: psmisc (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1755681
Title:
pstree crashes on fclose(NULL)
Status in psmisc package in Ubuntu:
Fix Released
Status in psmisc source package in Xenial:
Confirmed
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://gitlab.com/psmisc/psmisc/blob/28005b99fedef566b06286bd6ca72a7a4d673f20/src/pstree.c#L822
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/psmisc/+bug/1755681/+subscriptions