3 ms·
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
by saagarjha 9y ago
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.
- saagarjha 9y agoI 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-355736956 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.
- yjftsjthsd-h 9y agoKinda 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;)
- jonke 9y agoAfter a Quick Reading of the issues it reminds me of an old linux Kernel bug. https://groups.google.com/forum/m/#!topic/mechanical-sympathy/QbmpZxp6C64 https://groups.google.com/forum/m/#!topic/mechanical-sympath...