Responding to several simultaneous requests results in "Freeing freed buffer" error
Occasionally getting the error "freeing freed buffer." This is coming from aserve's main.cl, in the function free-sresource.
It usually happens when many threads coming in at once, e.g. when first bringing up Gendl tasty into a cache-cleared browser and it's trying to request all the static files, .png's etc.
The following can replicate it pretty reliably:
(dotimes (n 10) (mp:process-run-function "try" #'(lambda() (net.aserve.client:do-http-request "http://localhost:9003/tasty"))))
Adjust the port number accordingly, and increase the number on the dotimes until it happens.
In CCL (on MacOS at least) you get "freeing freed buffer."