ffgraz / gluon

Graz fork of Gluon firmware
https://ffgraz.mkg20001.io
Other
4 stars 0 forks source link

Issue with respondd olsr provider and uloop #33

Open mkg20001 opened 2 years ago

mkg20001 commented 2 years ago

The olsr respondd provider is currently broken A crash occurs when it is executed in a fork In this fork the provider is overriding the uloop global state. not forking would lead to a crash. (supposedly) The provider does crash in the fork aswell, but did not crash during an execution in debugger once, meaning its just a race condition.

Since its in a fork, its harder to debug and ive just given up at this point

Another thing to note is that olsr1&2 have a hardlimit on concurrent api requests/telnet sessions and 1) those failures would have to be handeled with retries in libolsrdhelper 2) the failures can be reduced by raising the limit to a more appropriate size (as we do many calls per provider)