[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41363] knot-resolver: Enable reloading of policy files (add lua-cqu
From: |
Simon South |
Subject: |
[bug#41363] knot-resolver: Enable reloading of policy files (add lua-cqueues) |
Date: |
Fri, 29 May 2020 15:36:01 -0400 |
I'm posting updated patches here as a work-in-progress, in case anyone
else is interested. The patches are not yet ready to be applied.
The package definitions are pretty much complete (I believe), however
the regression tests for luajit-cqueues are failing for me on both
aarch64 and x86_64.
On aarch64, the test for issue #71 (only) fails with
71-empty-cqueue: .......
71-empty-cqueue: testing issue 71A
71-empty-cqueue: 71A OK
71-empty-cqueue: testing 71B
71-empty-cqueue: setting alert on inner loop
71-empty-cqueue: stepping inner loop
71-empty-cqueue: polling inner loop
71-empty-cqueue: stepping inner loop
71-empty-cqueue: timeout before inner loop test completed
This test, along with the rest of the suite, passes fine if the stock
Lua 5.1 interpreter is used instead, which suggests a possible
regression in LuaJIT. (Building LuaJIT from the latest revision in its
source repository leads to the same error.)
On x86_64, that test passes but a different one fails:
141-segfault-on-accept: OK
PANIC: unprotected error in call to Lua API (attempt to call a thread value)
I've written to the authors of cqueues regarding the first issue but
have not received a response. I may try following up with LuaJIT's
author as a next step; a bit of analysis might reveal why these tests
are failing but my interest here is in getting a DNS server up and
running, not in learning Lua or diving into the internals of a compiler.
Perhaps someone more familiar with these libraries, language and tools
could help?
--
Simon South
ssouth@simonsouth.net
0001-gnu-Add-luajit-ossl.patch
Description: Text Data
0002-gnu-Add-lua-cqueues.patch
Description: Text Data
0003-gnu-knot-resolver-Enable-automatic-reloading-of-poli.patch
Description: Text Data