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

Application crash when powering off BLE Device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.11.0, 5.11.1
    • None
    • Linux Kubuntu 16.04, I7, 32 GB ram
    • Linux/Wayland, Linux/X11

    Description

      When powering off a connected BLE device Qt Bluetooth stack is causing a segmentation fault.

      Call stack

      0: 0xa8430 /opt/Qt/5.11.0/gcc_64/lib/libQt5Bluetooth.so.5(+0xa8430)[0x7ffff2622430]
      
      1: 0xa94c9 /opt/Qt/5.11.0/gcc_64/lib/libQt5Bluetooth.so.5(+0xa94c9)[0x7ffff26234c9]
      
      2: 0xa1c1a /opt/Qt/5.11.0/gcc_64/lib/libQt5Bluetooth.so.5(+0xa1c1a)[0x7ffff261bc1a]
      
      3: 0xa3d5f /opt/Qt/5.11.0/gcc_64/lib/libQt5Bluetooth.so.5(+0xa3d5f)[0x7ffff261dd5f]
      
      4: 0x2916c6 /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x986)[0x7ffff56276c6]
      
      5: 0x6be1f /opt/Qt/5.11.0/gcc_64/lib/libQt5DBus.so.5(_ZN23QDBusPendingCallWatcher8finishedEPS_+0x2f)[0x7ffff1b18e1f]
      
      6: 0x6bf00 /opt/Qt/5.11.0/gcc_64/lib/libQt5DBus.so.5(+0x6bf00)[0x7ffff1b18f00]
      
      7: 0x2922f1 /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN7QObject5eventEP6QEvent+0xc1)[0x7ffff56282f1]
      
      8: 0x15edac /opt/Qt/5.11.0/gcc_64/lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c)[0x7ffff6a3bdac]
      
      9: 0x165e57 /opt/Qt/5.11.0/gcc_64/lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x227)[0x7ffff6a42e57]
      
      10: 0x2664e8 /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x108)[0x7ffff55fc4e8]
      
      11: 0x268efb /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x26b)[0x7ffff55feefb]
      
      12: 0x2bac83 /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(+0x2bac83)[0x7ffff5650c83]
      
      13: 0x4afb7 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7)[0x7fffee6ecfb7]
      
      14: 0x4b1f0 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b1f0)[0x7fffee6ed1f0]
      
      15: 0x4b27c /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fffee6ed27c]
      
      16: 0x2ba2df /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5f)[0x7ffff56502df]
      
      17: 0xe0b81 /opt/Qt/5.11.0/gcc_64/lib/libQt5XcbQpa.so.5(+0xe0b81)[0x7fffe737db81]
      
      18: 0x264e4a /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xea)[0x7ffff55fae4a]
      
      19: 0x26d850 /opt/Qt/5.11.0/gcc_64/lib/libQt5Core.so.5(_ZN16QCoreApplication4execEv+0x80)[0x7ffff5603850]
      

      *Last warning
      onCharReadFinished: Invalid GATT job. Skipping.

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              paletteguy Karsten Sperling Opdal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes