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

bluetooth: most bluetooth tests segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.0.0
    • None
    • qt/qtconnectivity bd4df1e8e148cee77f76830a43ddc044b7a6903c
      Ubuntu 10.04 x86 32-bit

    Description

      Most bluetooth tests crash.

      [rmcgover@bq-menoetius auto]$ make -j1 -k check 2>&1 | grep 'signal 11'                                                                                              master
      QFATAL : tst_QBluetoothDeviceDiscoveryAgent::initTestCase() Received signal 11
      QFATAL : tst_QBluetoothDeviceInfo::initTestCase() Received signal 11
      QFATAL : tst_QBluetoothServiceInfo::initTestCase() Received signal 11
      QFATAL : tst_QBluetoothSocket::initTestCase() Received signal 11
      QFATAL : tst_QBluetoothTransferManager::initTestCase() Received signal 11
      QFATAL : tst_QBluetoothTransferRequest::initTestCase() Received signal 11
      QFATAL : tst_QRfcommServer::initTestCase() Received signal 11
      
      [rmcgover@bq-menoetius qbluetoothdevicediscoveryagent]$ make check TESTRUNNER="gdb --args"                                                                           master
      gdb --args ./tst_qbluetoothdevicediscoveryagent 
      GNU gdb (GDB) 7.1-ubuntu
      Copyright (C) 2010 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "i486-linux-gnu".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /home/rmcgover/build/qt/qt5/qtconnectivity/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent...done.
      (gdb) r
      Starting program: /home/rmcgover/build/qt/qt5/qtconnectivity/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent 
      [Thread debugging using libthread_db enabled]
      ********* Start testing of tst_QBluetoothDeviceDiscoveryAgent *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      
      Program received signal SIGSEGV, Segmentation fault.
      0x4007b646 in QBluetoothLocalDevice::hostMode (this=0x807bea8) at qbluetoothlocaldevice_bluez.cpp:191
      191         QDBusPendingReply<QVariantMap> reply = d_ptr->adapter->GetProperties();
      (gdb) bt
      #0  0x4007b646 in QBluetoothLocalDevice::hostMode (this=0x807bea8) at qbluetoothlocaldevice_bluez.cpp:191
      #1  0x0804a9c5 in tst_QBluetoothDeviceDiscoveryAgent::initTestCase (this=0xbfffebb0) at tst_qbluetoothdevicediscoveryagent.cpp:97
      #2  0x0804c743 in tst_QBluetoothDeviceDiscoveryAgent::qt_static_metacall (_o=0xbfffebb0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfffe8a0)
          at tst_qbluetoothdevicediscoveryagent.moc:61
      #3  0x402673e8 in QMetaMethod::invoke (this=0xbfffeaa0, object=0xbfffebb0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., 
          val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1647
      #4  0x4002b249 in QMetaMethod::invoke (this=0xbfffeaa0, object=0xbfffebb0, connectionType=Qt::DirectConnection, val0=..., val1=..., val2=..., val3=..., val4=..., 
          val5=..., val6=..., val7=..., val8=..., val9=...) at ../../include/QtCore/../../src/corelib/kernel/qmetaobject.h:120
      #5  0x4002683a in invokeMethod (obj=0xbfffebb0, methodName=0x4003bda3 "initTestCase()") at qtestcase.cpp:925
      #6  0x40029277 in qInvokeTestMethods (testObject=0xbfffebb0) at qtestcase.cpp:1616
      #7  0x40029b39 in QTest::qExec (testObject=0xbfffebb0, argc=1, argv=0xbfffec84) at qtestcase.cpp:1854
      #8  0x0804c655 in main (argc=1, argv=0xbfffec84) at tst_qbluetoothdevicediscoveryagent.cpp:334
      

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: