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

Cliff Jansen commented on PROTON-1833:
--------------------------------------

I built the current master on VS2008 and VS2013 without seeing the test errors 
that you see (all 64 bit builds).

 

Can you recheck your program against master and see if the problem persists?

 

If it does, can you please attach a small test case with the problem and a 
description of the hardware you are running on (i.e. VM or bare metal, N 
logical cpus, ) in case it is timing specific and that helps me to reproduce.

 

I did write a small test program that opens a single listener to 0.0.0.0:5672, 
calls container.stop() in the linstener_handler.on_open() callback, and forces 
the container destructor immediately on return from container.run().  It ran 
fine.

> 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
>            Assignee: Cliff Jansen
>            Priority: Critical
>             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to