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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.13.0
    • None
    • msvc2017, Windows 10 x64
    • 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

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes