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

QRotationSensor crashes in N950

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: Sensors
    • Labels:
      None
    • Environment:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes