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

QAccelerometer setAccelerationMode to Gravity crash on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.1
    • Component/s: Sensors
    • Labels:
      None
    • Environment:
      Samsung Galaxy Tab 3, Qt 5.3
    • Platform/s:
      Android
    • Commits:
      87b569ccc4df161e33d41f7a5f1f25eced6f65c3

      Description

      In C++ using QAccelerometer, when setting the acceleration mode to Gravity on android, the application crash:

      W/System.err( 3583): java.lang.NullPointerException
      W/System.err( 3583): at org.qtproject.qt5.android.sensors.QtSensors.getSensorDescription(QtSensors.java:76)
      W/System.err( 3583): at dalvik.system.NativeStart.run(Native Method)
      F/libc ( 3583): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 3596 (example.sensors)

      It used to work with previous version of Qt.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tvete Paul Olav Tvete
              Reporter:
              guillaumec Guillaume Chereau
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes