group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #31805
[Bug 1755681] Re: pstree crashes on fclose(NULL)
*** This bug is a duplicate of bug 1837444 ***
https://bugs.launchpad.net/bugs/1837444
Lucas identified this beign the same as one that he works on.
Marking as duplicate.
** This bug has been marked a duplicate of bug 1837444
pstree seg fault
--
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