]> git.saurik.com Git - redis.git/blobdiff - src/debug.c
Safer handling of MULTI/EXEC on errors.
[redis.git] / src / debug.c
index 003d2bd408f41cc7ed2c2f749edaaea4fe21f444..d4ee1cb47103e586e260e949b92e005d1b0e184a 100644 (file)
@@ -746,6 +746,7 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
 #if defined(HAVE_PROC_MAPS)
     /* Test memory */
     redisLog(REDIS_WARNING, "--- FAST MEMORY TEST");
+    bioKillThreads();
     if (memtest_test_linux_anonymous_maps()) {
         redisLog(REDIS_WARNING,
             "!!! MEMORY ERROR DETECTED! Check your memory ASAP !!!");