Epic memory leak detected while scrolling through long directories. ForkWrapper::connect_parent_fd() allocates sockets which are never closed. The close function is being called properly but the kernal isn't releasing the sockets anyway. It endlessly increments the socket number until 1023. netstat shows a growing number of TIMED_WAIT sockets still open. They all go away after the crash but not until the crash. This might have been affecting all file reads, hence loading many long playlists could crash it. The mane program forks into a subprocess which waits for a connection from the mane program. To close the file, the subprocess closes its listening socket while the mane program's socket is still open, which might cause it to get into TIMED_WAIT. Attempt 1: wait for a socket read to fail on the subprocess side. Read just locked up after the socket was closed, indicating someone else still owned it. ...