Details
Description
Just creating a proton::container, listening locally on 0.0.0.0:5672 and then call stop() on the container and getting outside of the scope (object is then destroy) => the crash happen.
Where does it crash ? In win_iocp.c, the line in red
void pn_proactor_free(pn_proactor_t *p)
{
DeleteTimerQueueEx(p->timer_queue, INVALID_HANDLE_VALUE);
DeleteCriticalSection(&p->timer_lock);
DeleteCriticalSection(&p->bind_lock);
proactor_shutdown(p);
delete p->reaper;
WSACleanup();
pn_collector_free(p->collector);
free(p);
}
NOTE:
A lot of tests failed on windows :
1> The following tests FAILED:
1> 8 - cpp-container_test (Failed)
1> 10 - cpp-reconnect_test (Failed)
1> 21 - c-proactor-tests (Failed)
1> 23 - c-example-tests (Failed)
1> 24 - cpp-example-container (Failed)
1> 25 - cpp-example-container-ssl (Failed)