[
https://issues.apache.org/jira/browse/PROTON-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Baptiste updated PROTON-1833:
-----------------------------
Description:
Just creating a proton::container, listening locally on
[0.0.0.0:5672|http://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)
{
{color:#FF0000}DeleteTimerQueueEx(p->timer_queue, INVALID_HANDLE_VALUE){color};
DeleteCriticalSection(&p->timer_lock);
DeleteCriticalSection(&p->bind_lock);
proactor_shutdown(p);
delete p->reaper;
WSACleanup();
pn_collector_free(p->collector);
free(p);
}
was:
Just creating a proton::container, listening locally on
[0.0.0.0:5672|http://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);
}
> qpid-proton cpp windows : Crash
> -------------------------------
>
> Key: PROTON-1833
> URL: https://issues.apache.org/jira/browse/PROTON-1833
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.21.0
> Environment: Proton version : 0.21
> Windows 7 - 64 bits
> Visual studio 2010
> Reporter: Baptiste
> Priority: Critical
>
> Just creating a proton::container, listening locally on
> [0.0.0.0:5672|http://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)
> {
> {color:#FF0000}DeleteTimerQueueEx(p->timer_queue,
> INVALID_HANDLE_VALUE){color};
> DeleteCriticalSection(&p->timer_lock);
> DeleteCriticalSection(&p->bind_lock);
> proactor_shutdown(p);
> delete p->reaper;
> WSACleanup();
> pn_collector_free(p->collector);
> free(p);
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]