sfackler / r2d2

A generic connection pool for Rust
Apache License 2.0
1.51k stars 82 forks source link

fatal runtime error: stack overflow #55

Closed rushmorem closed 6 years ago

rushmorem commented 6 years ago

When no servers are running, I get the following error:-

thread 'r2d2-worker-0' has overflowed its stack
fatal runtime error: stack overflow

This means that if I temporarily take the database down for maintenance or it goes down for some reason, my app crashes even when it could continue running using cached data.

sfackler commented 6 years ago

Hmm, I don't see any obvious way we'd be overflowing the stack. Could you make a small bit of code that reproduces the crash?