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

SIGSEGV on QBluetoothDeviceInfo::operator=(QBluetoothDeviceInfo const&)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.11.3
    • None
    • raspbian
    • Linux/X11

    Description

      I encountered a SIGSEGV on 

       

      0x7650367c in QBluetoothDeviceInfo::operator=(QBluetoothDeviceInfo const&) () from /usr/lib/arm-linux-gnueabihf/libQt5Bluetooth.so.5

      {{}}

      full backtrace

      {{}} {{qt.bluetooth.bluez: BluetoothManagement: Ignored event: 13
      qt.bluetooth.bluez: BluetoothManagement: Ignored event: 13
      qt.bluetooth.bluez: Updating RSSI for "34:81:F4:30:0D:FD" QVariant(short, -51)
      qt.bluetooth.bluez: Discovery on: "7A:B3:2D:CF:77:8E" Mode: QBluetoothServiceDiscoveryAgent::DiscoveryMode(FullDiscovery)
      [Detaching after fork from child process 7025]
      qt.bluetooth.bluez: BluetoothManagement: Ignored event: 13
      SDP for 7A:B3:2D:CF:77:8E B8:27:EB:9C:37:E2
      qt.bluetooth.bluez: BluetoothManagement: Ignored event: d
      Cannot establish sdp session
      qt.bluetooth.bluez: BluetoothManagement: Ignored event: d
      qt.bluetooth.bluez: SDP scan failure QProcess::ExitStatus(NormalExit) 3
      qt.bluetooth.bluez: Discovery on: "34:81:F4:30:0D:FD" Mode: QBluetoothServiceDiscoveryAgent::DiscoveryMode(FullDiscovery)
      [Detaching after fork from child process 7047]
      SDP for 34:81:F4:30:0D:FD B8:27:EB:9C:37:E2
      qt.bluetooth.bluez: BluetoothManagement: Ignored event: b
      Using PUBLIC_BROWSE_GROUP for SDP search
      qt.bluetooth.bluez: Discovered services "34:81:F4:30:0D:FD" "" "{00000000-0000-0000-0000-000000000000}" >>> ("{00001200-0000-1000-8000-00805f9b34fb}")
      "Thu Oct 15 10:32:06 2020Found new service: ({00000000-0000-0000-0000-000000000000})\n"
      qt.bluetooth.bluez: Discovered services "34:81:F4:30:0D:FD" "SerialPort" "{00000000-0000-0000-0000-000000000000}" >>> ("{00001101-0000-1000-8000-00805f9b34fb}")
      "Thu Oct 15 10:32:06 2020Found new service: SerialPort({00000000-0000-0000-0000-000000000000})\n"
      "Thu Oct 15 10:32:06 2020Serial port service found\n"
      qt.bluetooth.bluez: void QBluetoothServiceDiscoveryAgentPrivate::stop() Stop called
      "Thu Oct 15 10:32:06 2020Create socket\n"
      "Thu Oct 15 10:32:06 2020ConnectToService done\n"

      Thread 1 "qdomyos-zwift" received signal SIGSEGV, Segmentation fault.
      0x7650367c in QBluetoothDeviceInfo::operator=(QBluetoothDeviceInfo const&) () from /usr/lib/arm-linux-gnueabihf/libQt5Bluetooth.so.5
      (gdb)
      (gdb)
      (gdb)
      (gdb)
      (gdb) thread apply all bt

      Thread 2 (Thread 0x732853c0 (LWP 6602)):
      #0 _GI__poll (timeout=-1, nfds=2, fds=0x7290ca48) at ../sysdeps/unix/sysv/linux/poll.c:29
      #1 _GI__poll (fds=0x7290ca48, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:26
      #2 0x7557aeb4 in ?? () from /usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)

      Thread 1 (Thread 0x76ff2290 (LWP 6599)):
      #0 0x7650367c in QBluetoothDeviceInfo::operator=(QBluetoothDeviceInfo const&) () from /usr/lib/arm-linux-gnueabihf/libQt5Bluetooth.so.5
      #1 0x765513b4 in ?? () from /usr/lib/arm-linux-gnueabihf/libQt5Bluetooth.so.5
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
      (gdb)}}

      {{}}

      {{}}

      You can find the full source code here: {{}}

      https://github.com/cagnulein/qdomyos-zwift/blob/toorx/src/toorxtreadmill.cpp

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            robertoviola Roberto Viola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes