redis-py
redis-py copied to clipboard
`redis.cluster.RedisCluster` with RESP3 and hiredis causes segmentation fault
Version: redis-py 5.0.1 / Redis 7.1 (AWS ElastiCache)
Platform: CPython 3.11.7 on macOS Sonoma 14.2 (M2 Pro)
Description: redis.cluster.RedisCluster
instances with protocol=3 (i.e. RESP3 enabled) crash the Python interpreter when performing commands and the hiredis
extra dependency is installed in the local environment.
Example to reproduce:
url = "rediss://hostname:6379/0?protocol=3"
client = redis.cluster.RedisCluster.from_url(url)
client.get("test")
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)