Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1833

[cpp] Crash on Windows after calling container::stop()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Works for Me
    • proton-c-0.21.0
    • None
    • proton-c
    • Proton version : 0.21
      Windows 7 - 64 bits

      Visual studio 2010

    Description

      Just creating a proton::container, listening locally on 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)

      {  

      DeleteTimerQueueEx(p->timer_queue, INVALID_HANDLE_VALUE);

      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)

      Attachments

        Activity

          People

            cliffjansen Clifford Jansen
            bapro Baptiste
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: