shapi malachiev created QPID-8298:
-------------------------------------
Summary: DUMP if build with options /Gy and /OPT:ICF
Key: QPID-8298
URL: https://issues.apache.org/jira/browse/QPID-8298
Project: Qpid
Issue Type: Bug
Reporter: shapi malachiev
In file win_iocp.c
[https://github.com/apache/qpid-proton/blob/master/c/src/proactor/win_iocp.c]
defined variable
line 1589
static void proactor_wake_stub() {}
ULONG_PTR proactor_wake_key = (ULONG_PTR) &proactor_wake_stub;
static void psocket_wakeup_stub() {}
ULONG_PTR psocket_wakeup_key = (ULONG_PTR) &psocket_wakeup_stub;
If build project with options /Gy and /OPT:ICF generated single procedure and
proactor_wake_key == psocket_wakeup_key
in procedure
static pn_event_batch_t *proactor_completion_loop(struct pn_proactor_t* p, bool
can_block) {
line 2553
if (completion_key == psocket_wakeup_key)
batch = psocket_process((psocket_t *) overlapped, NULL, p->reaper);
else if (completion_key == proactor_wake_key)
batch = proactor_process((pn_proactor_t *) overlapped);
when connection closed always true if (completion_key == psocket_wakeup_key)
and application dump
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]