diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2023-08-15 15:32:35 -0400 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2023-08-31 21:11:11 -0400 | 
| commit | 6a219d147d0761fce1fd75dc75f98b4e5283feb7 (patch) | |
| tree | 7f03881456574ea274414c1b2009c003dd691216 | |
| parent | 3147b55cecb5fc8a0de71cee09b0e12b66b75a40 (diff) | |
SL-18837: Enlarge default coroutine stack size.
A test executable on a GitHub Windows runner failed with C00000FD, which
reports stack overflow.
(cherry picked from commit aab7b4ba3812e5876b1205285bcfd8cff96bcac9)
| -rw-r--r-- | indra/llcommon/llcoros.cpp | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/indra/llcommon/llcoros.cpp b/indra/llcommon/llcoros.cpp index 70d8dfc8b9..cfaf3415e7 100644 --- a/indra/llcommon/llcoros.cpp +++ b/indra/llcommon/llcoros.cpp @@ -123,11 +123,7 @@ LLCoros::LLCoros():      // Previously we used      // boost::context::guarded_stack_allocator::default_stacksize();      // empirically this is insufficient. -#if ADDRESS_SIZE == 64 -    mStackSize(512*1024), -#else -    mStackSize(256*1024), -#endif +    mStackSize(768*1024),      // mCurrent does NOT own the current CoroData instance -- it simply      // points to it. So initialize it with a no-op deleter.      mCurrent{ [](CoroData*){} } | 
