Socket linger crash
-
Encountered on PN1
-
Null pointer: timeout causes a reset (pointer becomes null) and then crash Why is there no init after reset? The O2 flag could be at the origin? No destructor called?
Tests on gamma36 without request->connectToRequester() in DatabaseResponder: no problem (timeouts forced) Some crashes happen by ConnectionTimeout in DatabaseResponder: ok, exception not caught. Why then it does not happen when socket is null? Remove virtual ~
Try:
- Sleep at the end of Server() to see if the event thread has an influence.