[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 5.4.3] Stack overflow causes crash
- From: Andrew Gierth <andrew@...>
- Date: Thu, 17 Jun 2021 08:26:17 +0100
>>>>> "cloudfreexiao" == cloudfreexiao <996442717qqcom@gmail.com> writes:
cloudfreexiao> i check msv default stack size is 1MB
My guess is that you're overflowing the stack. Testing the same code on
freebsd shows it needs about 730k of stack space, and stack usage varies
by fairly large margins between different compilers and different
compiler options (in particular, compiling with no optimization or low
optimization levels often increases stack usage greatly).
--
Andrew.