avoid stack overflow in getSingletonStackTrace()
Summary: `sizeof(symbolizer::FrameArray<kMaxStackTraceDepth>) = 17608`, it is quite big to put on stack. When using folly::fiber we usually only have a few KB of stack space, and will overflow when calling this function. By putting FrameArray on heap we can avoid this issue. Reviewed By: yfeldblum Differential Revision: D21150720 fbshipit-source-id: 7ae1d60d47b1aa3551bf96044aadad5cc21bf914
Showing
Please register or sign in to comment