Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Segfault when using synchronous redis requests #2789
Classification (Please choose one option):
Reproducibility (Please choose one option):
1.9.0 and 1.9.1
I did install them from your repository. Actually I tried rspamd_1.9.1-0
Operation system (the exact version), CPU (including architecture and processor family):
Description (Please provide a descriptive summary of the issue):
I use some own modules which load settings from redis. This is done with synchronous requests. I used documentation from https://rspamd.com/doc/lua/sync_async.html
Segfault occurs when doing connection:exec().
This happens also if I just add the example plugin from https://rspamd.com/doc/lua/sync_async.html (last example from page).
Compile errors (if any):
Relevant logs (see details here):
Segfaults occur whenever an email arrives.
Debugging information (see details here):
We had the same problem while upgrading from 1.8.3 to 1.9.0.
I don't know if the 'coro' flag is documented somewhere, i just saw it in a commit and tried it...