Commit 495c2289 authored by Marius Wachtler's avatar Marius Wachtler

Fix issue where our c++ exception unwinding code would sometimes skip frames

I encountered this issue sometimes in the sqlalchemy integration test.
parent fa87f0bb
...@@ -535,6 +535,7 @@ public: ...@@ -535,6 +535,7 @@ public:
void begin() { void begin() {
exc_info = ExcInfo(NULL, NULL, NULL); exc_info = ExcInfo(NULL, NULL, NULL);
pystack_extractor = PythonStackExtractor(); // resets skip_next_pythonlike_frame
t.restart(); t.restart();
static StatCounter stat("unwind_sessions"); static StatCounter stat("unwind_sessions");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment