Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1773

QRotationSensor crashes in N950

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.1.2
    • Sensors
    • None
    • Harmattan, N950, 1.2011.22-6_PR_RM680

    Description

      On N950: SocketReader::socket(), called from AbstractSensorChannelInterface::dataReceived(), called from
      RotationSensorChannelInterface::qt_metacall(QMetaObject::Call,int,void**), causes a segmentation fault. Happens every time in a certain point of my program. The crash happens somewhere between returning from QRotationSensor::start() and receiving the first readingChanged() signal from it. The crash occurs after creating a second QRotationSensor (the previous one has been deleted before). The first sensor created does not cause a crash. (Could be a coincidence of course.)

      The same code does not crash on N900 (Maemo).

      Example code causing the crash attached (made of my app by removing unrelevant code). The crash occurs when the ship hits the ghost. (The ship is controlled by tilting the device.)

      Attachments

        Activity

          People

            lramsay Lincoln Ramsay (closed Nokia identity) (Inactive)
            helihyv Heli Hyvättinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: