[Issue 20857] Rethrowing range error from thread with large stack segfaults

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 25 09:48:09 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20857

Eduard Staniloiu <edi33416 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edi33416 at gmail.com

--- Comment #1 from Eduard Staniloiu <edi33416 at gmail.com> ---
I think I'm missing something because this, to me, looks more like a `Thread`
bug than an `core.exception.RangeError` bug.

I'm saying this because of the fact that using a stack size of 32MB leads to
the correct behaviour.

Also, I don't see why throwing a `staticError!RangeError` would segfault, as
the staticError's store is in TLS.

--


More information about the Digitalmars-d-bugs mailing list