English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Redis Debug Segfault Command

Redis Server

The Redis Debug Segfault command performs an illegal memory access to make Redis crash, 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

Online Examples

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

 

Redis Server