Git commit reference
d4befa7c6205de3b1a393cb6f7c8101dde5b7860
Describe the bug
Something happened with my Internet connection during shard reconnection:
[2026-07-07 01:13:33] INFO: Reconnecting shard 0
[2026-07-07 04:16:58] INFO: Reconnecting shard 0
[2026-07-07 04:17:18] INFO: Exception when reconnecting shard 0: getaddrinfo error: Temporary failure in name resolution
Then I got the nullptr dereference segfault.
To Reproduce
Steps to reproduce the behavior:
- Break your DNS server connection?
- Get a segfault
Expected behavior
No segfault.
Screenshots
System Details:
Additional context
I'm sticking to the last v10.1.5 release, but technically should be reproducible on master too since from what I've seen there was no changes in this part of src/cluster.cpp, the exception handler still sets shard to nullptr and the part above has no if(old == nullptr) check inside.
Git commit reference
d4befa7c6205de3b1a393cb6f7c8101dde5b7860
Describe the bug
Something happened with my Internet connection during shard reconnection:
Then I got the nullptr dereference segfault.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No segfault.
Screenshots
System Details:
Additional context
I'm sticking to the last v10.1.5 release, but technically should be reproducible on
mastertoo since from what I've seen there was no changes in this part ofsrc/cluster.cpp, the exception handler still sets shard tonullptrand the part above has noif(old == nullptr)check inside.