Open keithchew opened 7 months ago
Since I am not using TLS, I have commented out tlsProcessPendingData:
void beforeSleep(struct aeEventLoop *eventLoop) {
...
// tlsProcessPendingData();
from server.cpp
So far, haven't experienced the crash. Is this a bug in tlsProcessPendingData(), ie it thinks it has the global lock but it doesn't?
Crash report
I wrote a test module to perform RedisModule_Scan, and if the data is large enough or if this is called enough times, I get a crash. Module snippet is:
Crash log:
Is module scanning not supported properly in KeyDB?
This crash feels similar to this one here:
https://github.com/Snapchat/KeyDB/issues/452
I am guessing RedisModule_Scan runs in the background causing some kind of contention with the main thread.