Enabled -D_FORTIFY_SOURCE=2, ./task.py {test,run} both run fine afterwords