ayoola-solomon / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Crash if Sensor data watched!!! #625

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.SELECT ANT+ SENSOR ( Xperia Astive, Timex HRM or Garmin SDP foot pod )
2.START RECORDING ROUTE
3.LOOK SENSOR STATUS

What is the expected output? 
TO SEE SENSOR STATUS
What do you see instead?
Application Sen Message:
 Sorry, My Tracks ( prosess com.google.android.maps.mytracks) has stoppe unexpextably. Try again later)
[forece quit]

Then my Traks start again automatically,...

But sometimes
IT WILL REPRODUCE ERROR RAPORT

What version of MyTracks are you using? On what version of Android? On what
phone?
from android market as well from here.
Abdroid 2.3.4
SonyEricson Xpoeria Active

TIMEX HRM 2.4GHZant +  m501 FCC ID: EP9-TMXM501 IC: 3348A-TMXM501
Garmin Food Pad FCC ID:06RSDM IC: 3979A-SDM4

Booth ANT+ devices work's well whit ANT+ demo

If possible please provide a log.  Either upload here or send to mytracks-
support@google.com.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Please provide any additional information here:
Makeing review about ant+ sports applications
to http://bouy007.dy.fi

Waiting that HRM can be recorded and happy when
SPD as well bike sensors will work!

Original issue reported on code.google.com by Joni.Kur...@gmail.com on 5 Nov 2011 at 1:04

GoogleCodeExporter commented 9 years ago
One week ago, I got a SonyEricsson Xperia Active that has been suffering from 
spontaneous shutdowns or reboots. I was first suspecting a hardware fault, but 
this happens even when the phone is stationary.

One possible explanation is that on day 1, I installed MyTracks and enabled the 
ANT+Sport sensor (heart rate belt). Last weekend, I was recording routes (no 
sensors nearby, but the ANT+Sport support was enabled). Less than 30 minutes 
after stopping the recording, the phone shut down or rebooted. After 
restarting, it would shut down or reboot again within less than a minute, until 
I run out of patience and pull the battery and SIM.

Then, I did not access MyTracks for a while. No crash or reboot in 2 full days. 
Today, I recorded again, and got a shutdown or a reboot some 10 or 15 minutes 
after stopping the recording. After restarting, the phone rebooted. While it 
was starting, I pressed the power button, chose "power off" from the menu, and 
powered up the phone again. There has been no crash thereafter. The reboot 
cycles would otherwise continue for a long time. One night, the battery went 
from 98% to 64% in 7 hours due to this constant rebooting.

I work on a database kernel, but I am an Android newbie. At this point, the 
most likely explanation is a bug in the SonyEricsson ANT+Sport stack–a bug 
that MyTracks is triggering. Otherwise, this bug would occur on any Android 
phone. I have now switched off the ANT+Sport sensor to test this hypothesis. I 
once tested the GSC-10 ANT+Sport cadence sensor support with the bundled 
iMapMyRide, and the whole system also crashed during this experiment.

I am happy to provide any log information, if you point me to some 
instructions. Would the log survive a kernel crash?

If the bug is in the SonyEricsson ANT+Sport stack, a possible workaround would 
be to disable the ANT+Sport sensor reception unless a recording is in progress.

Original comment by msmak...@gmail.com on 9 Dec 2011 at 11:03

GoogleCodeExporter commented 9 years ago
I just got a spontaneous reboot after having disabled ANT+Sport support in 
MyTracks and restarted the phone. I had used MyTracks and the built-in camera 
application, both with GPS enabled. The reboots may still be related to GPS 
use, but unlikely to be related to the ANT+Sport stack. Battery drain should 
not be an issue; it was close to 100% charge when this latest reboot occurred.

Original comment by msmak...@gmail.com on 9 Dec 2011 at 7:56

GoogleCodeExporter commented 9 years ago
Issue solved at last update,... Mytraks dose not CRASH anymore,...
yes HRM sensor works but no support for GARMIN FOOT POD, FCC ID: 06rsdm4
ic: 3797a-sdm4

Original comment by Joni.Kur...@gmail.com on 15 Dec 2011 at 12:46

GoogleCodeExporter commented 9 years ago
For me, this could be a kernel bug. I got one crash when ANT+Sport sensor 
support was disabled in MyTracks. Now that I forced the mobile network to 2G 
only (I got 60% time without a signal on 3G), the phone has not crashed. I 
guess I should record tracks more often, with ANT+Sport enabled, to be able to 
say if disabling 3G is a valid workaround for the crash.

Anyway, it would be nice to know if there are any log files that survive a 
kernel crash.

Original comment by msmak...@gmail.com on 15 Dec 2011 at 12:51

GoogleCodeExporter commented 9 years ago
Are you using the bluetooth radio. I've had bluetooth failures fixed by a 
reboot and spontaneous handset reboots when using bluetooth in Sony Xperia X10 
and Sony Xperia ARC handsets.

Original comment by kenep...@gmail.com on 19 Dec 2011 at 11:28

GoogleCodeExporter commented 9 years ago
No Bluetooth or WLAN. Only 2G and sometimes not even ANT+Sport.

My Xperia Active seems to enter this constant crashing or rebooting cycle 
almost always after recording a GPS track for at least 30 minutes and then 
stopping (maybe saving the track to SD card). Pulling the battery cures it.

I took the phone to repair. I tried to make it crash again by recording my 
30-60min bicycle route. It was the first time of MyTrack use since removing and 
replacing the battery. I had disabled ANT+Sport. I am not sure if I had used 
WLAN on that day. Within 10 minutes of stopping the recording, the phone 
rebooted and hung some time after the reboot (the screen went black, possibly 
after the timeout, and a short power button press was ignored).

Original comment by msmak...@gmail.com on 20 Dec 2011 at 8:53

GoogleCodeExporter commented 9 years ago
This very much looks like a kernel hang. Apparently, a background thread of 
MyTracks is hanging the kernel and some watchdog is kicking in. A workaround in 
MyTracks is probably not worth the effort. I will try to get SonyEricsson to 
have a look at this, because I would hate to return the phone. Read on for some 
details.

I received my SonyEricsson Xperia Active ST17i from warranty repair yesterday. 
Apparently, they merely reimaged the device without trying to repeat the 
problem. But, I guess that they may have run some hardware test utility, which 
would have not found any problems.

After receiving the device, basically the only thing I did was setting up the 
icons and widgets, and downloading MyTracks 1.1.13. Previous time, it was 
1.1.11. This time, I used 1.1.13 as a widget, not via an icon.

Sure enough, less than 24 hours from installing MyTracks and using it for a 
total of 1 hour or so, the phone finally hung. This time, it hung when I was 
trying to access WiFi. It would not find my base station from across the room 
(a bug that I once noticed before the warranty repair). After the hang, the 
phone would reboot every 2 to 3 minutes. I did not even enter the PIN to unlock 
the SIM. The reboot loop stopped when I pushed the power button in the PIN 
dialog and selected "Power off". After powering it on some minutes later (no 
battery removal needed), it has worked.

Original comment by msmak...@gmail.com on 28 Dec 2011 at 8:27

GoogleCodeExporter commented 9 years ago
Updating the SonyEricsson Xperia Active ST17i to image 4.0.2.A.0.62 fixed the 
hang issue that was present with the previous version 4.0.2.A.0.42. Both are 
based on Android 2.3.4.

Original comment by msmak...@gmail.com on 25 Mar 2012 at 8:17

GoogleCodeExporter commented 9 years ago
Glad to hear the new kernel image fixed the problem.

Original comment by jshih@google.com on 22 Jun 2012 at 11:28