HelloZeroNet / HelloZeroNet/ZeroNet

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

Open
#1,202 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
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

No contributing guide indexed for this repository

Research direction

Start with the startup path that invokes gevent/libev and the kevent call described in the report, then review gevent issue 1051 and its linked discussion. Reproduce the freeze on FreeBSD 11.1 and determine whether the reported ZeroNet race is involved; done means startup no longer freezes with valid timeout handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.