strotol segfaults too, what the heck??