Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78282

Crash in QLowEnergyControllerPrivateWinRT::connectToDevice when turning off BLE device during service discovery

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.13.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      msvc2017, Windows 10 x64
    • Platform/s:
      Windows

      Description

      We faced crashes during the discovering process when we shut down the BLE device (it is not paired!) meanwhile. This happend on multiple machines. It seems that the crash happens during the service discovery in the QLowEnergyControllerPrivateWinRTNew::connectToDevice method.

       

      I attached some pics of the callstack and the codelines.

       

      Would be great if anybody has a hint on that or look into it. I checked the bugreports and found this quite similar one: https://bugreports.qt.io/browse/QTBUG-70162. Not sure though if it could be connected.

       

      Env: Visual Studio 2017 on Win10 x64

       

       

        Attachments

        1. callstack3.PNG
          callstack3.PNG
          96 kB
        2. code1.PNG
          code1.PNG
          37 kB
        3. code2.PNG
          code2.PNG
          35 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ablasche Alex Blasche
            Reporter:
            eckertj Jacob Eckert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes