debugger: NULL pointer dereference on connect failure.