perror(): Ensure the 'stack' property is not enumerable