You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "shapi malachiev (JIRA)" <ji...@apache.org> on 2019/04/12 11:51:00 UTC

[jira] [Created] (QPID-8298) DUMP if build with options /Gy and /OPT:ICF

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org