Comment 5 for bug 1272294

Revision history for this message
Martin Pitt (pitti) wrote : Re: qtsensors doesn't work on desktop

Looking at frame #1:

#1 0x00007f4606168e99 in core::SharedAccelerometer::SharedAccelerometer (this=0x7f460636d290 <core::SharedAccelerometer::instance()::instance>, parent=<optimized out>) at /build/buildd/qtubuntu-sensors-0.6+14.04.20140113.1/plugins/sensors/core_shared_accelerometer.cpp:38

This is

      m_accelerometer = ua_sensors_accelerometer_new();

i. e. calling platform-api. Frame #0 is the address NULL, i. e. it tries to call a NULL function. This suggests that the hybris dynloaded bridge in platform-api is not available.

The ProcMaps in the report suggests that you don't use the simulated test sensor backend, as libubuntu-application-api-test1 is not loaded. I suppose you did not run your program under UBUNTU_PLATFORM_API_BACKEND=libubuntu_application_api_test.so.1 UBUNTU_
PLATFORM_API_SENSOR_TEST=/tmp/sensors ?