Breno, Just to complement what you said, the si->si_code value you get on Power with the code you provided (SEGV_ACCERR 2) comes from .../arch/powerpc/mm/fault.c, line 375: https://goo.gl/6K40Bv
Hence, changing that line to 'code = SEGV_MAPERR;' makes your code die with SIGSEGV Code ID 1, not 2: :~/stack$ uname -a Linux gromero12 4.4.0 #3 SMP Tue Jan 19 15:46:14 EST 2016 ppc64le ppc64le ppc64le GNU/Linux :~/stack$ ./overflow Got SIGSEGV(1) at address: 0x3fffcecefff0 Segmentation fault Regards, -- Gustavo Romero
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev