You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is windows prerelease build 15014, sometimes after waking up from suspend, ps aux will segfault. Below is the message it prints:
-> ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
Signal 11 (SEGV) caught by ps (procps-ng version 3.3.10).
root 1 0.0 0.0 10640 4 ? Ssps:display.c:66: please report this bug
Segmentation fault (core dumped)
If I just run ps or ps -u $USER, then it works correctly.
Thanks for reporting the issue. I tried to repro this locally but was not able to hit any issues on a recent internal build. Can you please take a strace before and after the suspend so we can see if there are any interesting syscall failures?
I managed to hit a similar failure locally by running the command after adjusting my system time forward and backwards, and submitted a fix for the way start times are returned for threads.
I never hit the hibernate issue, but it's likely the same cause but please let us know if this comes up again after the fix hits insider builds soon.
Thanks, a lot, sometimes when my computer wake up from sleep the login screen will show the time it went to sleep instead of the current time and won't update until a few second later. This is probably similar issue.
Which insider version will be fix be in? That way I can watch out to see if I get the same issue. Thanks.
Activity
stehufntdev commentedon Jan 31, 2017
Thanks for reporting the issue. I tried to repro this locally but was not able to hit any issues on a recent internal build. Can you please take a strace before and after the suspend so we can see if there are any interesting syscall failures?
benhillis commentedon Feb 1, 2017
I was able to hit this once on my laptop but can't seem to reproduce this any more.
Eric Chang (@pkerichang) if you are able to reproduce this consistently it would be helpful to provide the output of this command:
strace -v -s 256 ps auxstehufntdev commentedon Feb 3, 2017
I managed to hit a similar failure locally by running the command after adjusting my system time forward and backwards, and submitted a fix for the way start times are returned for threads.
I never hit the hibernate issue, but it's likely the same cause but please let us know if this comes up again after the fix hits insider builds soon.
pkerichang commentedon Feb 3, 2017
Thanks, a lot, sometimes when my computer wake up from sleep the login screen will show the time it went to sleep instead of the current time and won't update until a few second later. This is probably similar issue.
Which insider version will be fix be in? That way I can watch out to see if I get the same issue. Thanks.
benhillis commentedon Feb 3, 2017
Eric Chang (@pkerichang) - definitely sounds like the issue Stephen Hufnagel (@stehufntdev) identified could be the root cause then. Stephen just checked in the change so it should be in an insider build in 1-2 weeks.