Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use a smaller stack for stack-overflow test.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 17 Mar 2014 22:06:46 +0000 (23:06 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 17 Mar 2014 22:06:46 +0000 (23:06 +0100)
commit53f94d305342966b29fe32f1d397071a22c16417
tree543468eb8d3e7c17b751bb59fb1f383f89f2985e
parent9a74a4d9c970bf6b49d2c15d284ca190451d5ef6
Use a smaller stack for stack-overflow test.

It is needed on FreeBSD to have a stack size < 125K to generate a SIGSEGV with
SEGV_ACCERR when using threads, and to have this test succeed.
Without that, the SIGSEGV is correctly generated, but with SEGV_MAPERR, and the
error message is not displayed.

I don't fully understand what's going on.
teshsuite/simix/stack_overflow.tesh