strtod() call causes arduino to reset

how can I troubleshoot this?

Serial.print(temp); just before the strtod(temp, NULL);

if temp is not what you expect then you can add some more printing to see how your parsing code is working