HelloZeroNet/ZeroNet

ZeroNet freezes during startup because of bogus timeout values passed to kevent.

Open

#1,202 opened on Dec 9, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2,245 forks)batch import
bughelp wanted

Repository metrics

Stars
 (18,200 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  • ZeroNet version: 0.6.0
    • Operating system:FreeBSD 11.1
    • Web browser:Chrome
    • Tor status: always
    • Opened port: no
    • Special configuration: n/a

ZeroNet freezes during startup. The problem was traced to the kevent call made by libev from gevent. Bogus timeout value is passed to kevent. gevent maintainer claims that race condition in ZeroNet causes the problem.

See details here: https://github.com/gevent/gevent/issues/1051#issuecomment-350490266

Contributor guide