diff options
author | Dave Parks <davep@lindenlab.com> | 2022-03-25 13:21:10 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-03-25 13:21:10 -0500 |
commit | 180989f28e69600a3bc198b8b62101ec25374bee (patch) | |
tree | a6e0496f1eba79e5edc4912b2959a1ef86a3aec9 /indra/llcommon/llexception.cpp | |
parent | 34e79c8f4e251200496651f9ae2b5126a6f7faa3 (diff) | |
parent | ed98d77fe81a04a03c76e159f8fa963adf6b1109 (diff) |
Merge remote-tracking branch 'remotes/origin/DRTVWR-546' into SL-17005
Diffstat (limited to 'indra/llcommon/llexception.cpp')
-rw-r--r-- | indra/llcommon/llexception.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llexception.cpp b/indra/llcommon/llexception.cpp index b584b0ff8b..46560b5e4c 100644 --- a/indra/llcommon/llexception.cpp +++ b/indra/llcommon/llexception.cpp @@ -97,6 +97,11 @@ static const U32 STATUS_MSC_EXCEPTION = 0xE06D7363; // compiler specific U32 msc_exception_filter(U32 code, struct _EXCEPTION_POINTERS *exception_infop) { + const auto stack = to_string(boost::stacktrace::stacktrace()); + LL_WARNS() << "SEH Exception handled (that probably shouldn't be): Code " << code + << "\n Stack trace: \n" + << stack << LL_ENDL; + if (code == STATUS_MSC_EXCEPTION) { // C++ exception, go on |