What are you using to check for your STACK_PROT
This is annocheck
Alternate: ----- $ readelf --segments ./the_app Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 0x10 ----- where this app uses only "RW" and not "X", so the stack is not executable.