Found a quite nice blog post about default thread sizes on GNU/Linux (glibc) vs Alpine Linux (musl): https://ariadne.space/2021/06/25/understanding-thread-stack-sizes-and-how-alpine-is-different/
@thiagokokada nice find! yeah we needed to tweak the stack size for graal + SCI images... but what was even weirder with graal is that we needed to start a thread because the main thread didn't seem to have enough stack size either
Yeah, not sure why we needed to tweak the stack size of the main thread neither. I do remember it was on some specific tests though, so maybe those tests were spanning a thread and this was the problem 🤔 ?
Or maybe it is something with graalvm itself