got new information. I start gdb and backtrace and i found where is the
seg fault. The function "decode_at_error" doesn't check if *error or
*final are NULL... and in my case they are.
if I put a check in the function it remains stuck waiting AT cmd reply....
The wakeup logic should only be used with the Freerunner. Please
disable it unless you know what you're doing. Something else is wrong.