geph-official / geph2

(ARCHIVED) Geph (迷霧通) is a modular Internet censorship circumvention system designed specifically to deal with national filtering.
https://geph.io
GNU General Public License v3.0
1.19k stars 161 forks source link

Mysterious client freezes #15

Closed nullchinchilla closed 4 years ago

nullchinchilla commented 4 years ago

A user has reported that the client freezes after an hour or so of usage. Logs show a sudden lack of activity, but the stats server evidently still responds as the UI does not freeze.

This has been an extremely difficult bug to reproduce. Some things that this bug are not;

Stack traces have been added in 0647618 to debug this issue.

nullchinchilla commented 4 years ago

Fixed in gephgui (https://github.com/geph-official/gephgui/commit/36ced33c467aded215de43a811826d36693e2115)

The problem was that when gephgui spawns geph-client, it does not read from stderr. This means that geph-client eventually blocks logging to stderr, which blocks progress entirely.