Access violation when trying to join a thread

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.24.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a new monitor thread fails to create and returns the `EAGAIN` error, we incorrectly assume it has been created. Then when attempting to shutdown the thread later on, we cause an Access Violation in the client application. Some details:

      `thread_create` doesn't check if the creation succeeds or not.

      When we attempt to stop the server monitor thread, it is assumed that it was already running. The call on `thread_join stop` will crash

      It would be nice if C driver could handle this situation gracefully to avoid crashes.

            Assignee:
            Kevin Albertson
            Reporter:
            Linda Qin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: