qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "VincentSa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1833) [cpp] Crash on Windows after calling container::stop()
Date Tue, 22 May 2018 15:53:00 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484174#comment-16484174
] 

VincentSa commented on PROTON-1833:
-----------------------------------

Hi. I will replace Baptiste as he joined another project.

I will test it with version proton-c-0.23.0 as soon as it is available and will give you the
result.

and then I will prepare a small test program If necessary,

> [cpp] Crash on Windows after calling container::stop()
> ------------------------------------------------------
>
>                 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
>            Assignee: Cliff Jansen
>            Priority: Critical
>              Labels: crash, windows
>             Fix For: proton-c-0.23.0
>
>
> 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);
> }
>  
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message