debug segfault 命令

Debug Segfault 命令执行一个非法的内存访问从而让 Redis 崩溃,仅在开发时用于 BUG 调试。

语法

DEBUG SEGFAULT

返回值

实例

redis> DEBUG SEGFAULT 
Could not connect to Redis at: Connection refused
not connected>