Create the cluster using redis-cli --cluster create. Default options.
Start redis-cluster-proxy. Default options.
Connect to proxy via redis-cli.
Run the following series of commands:
proxy cluster info
proxy cluster update
proxy cluster info
proxy cluster update.
This will crash the proxy, with the following error message:
redis-cluster-proxy(77503,0x700009d67000) malloc: *** error for object 0x7fa03fa0f920: pointer being freed was not allocated
redis-cluster-proxy(77503,0x700009d67000) malloc: *** set a breakpoint in malloc_error_break to debug
Note that the second proxy cluster info command does not return the expected results.
If you start fresh again and run the following in sequence:
proxy cluster info
proxy cluster update
proxy cluster update
You get a different, but seemingly related crash. The first crash does not produce a bug report, but here is the report for the second sequence:
To reproduce:
redis-cli --cluster create
. Default options.proxy cluster info
proxy cluster update
proxy cluster info
proxy cluster update
.This will crash the proxy, with the following error message:
Note that the second
proxy cluster info
command does not return the expected results.If you start fresh again and run the following in sequence:
proxy cluster info
proxy cluster update
proxy cluster update
You get a different, but seemingly related crash. The first crash does not produce a bug report, but here is the report for the second sequence: