Redis Debug Segfault Command
The Redis Debug Segfault command performs an illegal memory access to crash Redis, used only for BUG debugging during development.
Syntax
The basic syntax of the redis Debug Segfault command is as follows:
redis 127.0.0.1:6379> DEBUG SEGFAULT
Available Version
= 1.0.0
Return Value
None
Example
redis 127.0.0.1:6379> DEBUG SEGFAULT
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>