News for hackers. Stuff that matters.
Re:Leaving htop running freezes macOS High Sierra by saagarjha on Saturday January 06, 2018 @02:36AM (#16084306)
From the symptoms, it looks like it’s starving the computer of memory. It doesn’t look like anyone’s debugged this, so once I get back to my computer I’ll take a look and get it reported to Apple.
Re:Leaving htop running freezes macOS High Sierra by saagarjha on Saturday January 06, 2018 @05:13AM (#16084647)
I can't edit anymore, so I'm going to reply: I did a bit more research on this issue and it's not actually a memory bug at all. In reality there appears to be an infinite loop in calls to task_for_pid: https://github.com/hishamhm/htop/issues/682#issuecomment-355.... I'm still not sure who's doing the wrong thing, htop or Apple, but it's clear that freezing up the system is always incorrect behavior.
Re:Leaving htop running freezes macOS High Sierra by yjftsjthsd-h on Saturday January 06, 2018 @10:32AM (#16085641)
Kinda sounds like an htop bug that shouldn't be able to freeze the system because, y'know, not letting any process freeze the system is part of the OS's job. Of course, it might also be an htop bug that's triggered by Darwin handing it bad data, so there could be blame to share;)
Re:Leaving htop running freezes macOS High Sierra by jonke on Saturday January 06, 2018 @02:48AM (#16084325)
After a Quick Reading of the issues it reminds me of an old linux Kernel bug.

https://groups.google.com/forum/m/#!topic/mechanical-sympath...