Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
1.1.2
-
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.)