'Buffer Overflow not spawning shell in ARM Assembly?

(I know, Too many answers already, but need help) After i executed my payload to spawn a shell i had this error. Does someone know the problem ?

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source