Richard-W / neutron

Framework for developing fast and scalable web-applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThreadController segfaults when project is compiled with valac-0.16

Richard-W opened this issue · comments

This should not be a problem, since valac-0.16 is deprecated, but Debian 7 still uses it and a lot of production-system use Debian 7.

The problem seems to be the closure that is used to construct the Thread object. The struct that is given to the closure internally, should contain a reference to the ThreadController-Object. This reference is null, so every try to access object-members results in a Segfault.

Not really acceptable workaround: Set the worker_threads parameter in the config-file to 0. In this case neutron does not use the ThreadController-object at all.