[Quickfix-developers] Session::next/nextQueued deep recursion
Brought to you by:
orenmnero
From: Caleb E. <cal...@gm...> - 2005-01-19 20:04:14
|
We had a crash in production today that I believe was caused by a stack overflow due to deep recursion by the Session::next and ::nextQueued methods. Basically, a session was disconnected (possibly due to a networking outage - still investigating that). Re-establishing the connection took long enough that a large backlog of messages built up on both sides of the connection. When the connection was re-established, we ended up with a large queue of messages, and our process crashed. I'm attaching the stack trace, which is over 2,600 levels deep! I'm pretty sure the stack overflowed. The process is compiled with optimized code on the Sun C++ compiler, so there are function names but no symbols etc in the output. Let me know if more info is needed to debug this. -- Caleb Epstein caleb dot epstein at gmail dot com |