You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "VincentSa (JIRA)" <ji...@apache.org> on 2018/06/08 09:52:00 UTC
[jira] [Commented] (PROTON-1833) [cpp] Crash on Windows after
calling container::stop()
[ https://issues.apache.org/jira/browse/PROTON-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505880#comment-16505880 ]
VincentSa commented on PROTON-1833:
-----------------------------------
same issues with version 0.23.0 :
* Unit test 'c-proactor-tests' still failed
* same crash in pn_proactor_free(pn_proactor_t *p) : Access violation reading location 0xffffffffffffffff.
*The received pointer = 0xfeeefeeefeeefeee which corresponds to a freed heap memory*
Call stack:
qpid-proton-proactord.dll!pn_proactor_free(pn_proactor_t * p) Line 3025 + 0xc bytes C++
qpid-proton-cpp.dll!proton::container::impl::~impl() Line 151 C++
qpid-proton-cpp.dll!proton::container::impl::`scalar deleting destructor'() + 0x2c bytes C++
qpid-proton-cpp.dll!proton::internal::pn_unique_ptr<proton::container::impl>::~pn_unique_ptr<proton::container::impl>() Line 51 + 0x4c bytes C++
qpid-proton-cpp.dll!proton::container::~container() Line 42 + 0x28 bytes C++
> [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.24.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