Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: