-
Notifications
You must be signed in to change notification settings - Fork 16
Squad Leader app freezes when it's been running for some period of time #84
Comments
+1 - I noticed this intermittently after a few minutes of running with the emulator as well, |
@kerryrobinson feel free to add to this issue if you have any more info |
@csmoore , @kerryrobinson , @dfoll Please continue to run SL and see if you can establish a pattern. Does it kill the tablet or the program? Could it also be network latency, number of layers or messages, device type, etc.? |
i'll try this some more when i'm back in the office next week and provide more detail on my environment, etc. from what i remember, inactivity may be the key... it's when i have it running and leave it for a few minutes, when i come back to the app it is frozen. i have to then force stop the app. i'm using an Asus Transformer Infinity (TF700T). |
I'm not sure this should be labeled "known issue." Yes, we know it's an issue, but "known issue" connotes that we have thrown up our hands and decided we can't fix or implement it. |
Feel free to label (and change with impunity) these however you want that best captures how you want to categorize and filter these. Add a note if you like, but also label how you like. |
To summarize my findings today: i tested this on my phone (HTC One) and tablet (Asus TF700T). So far the app doesn't freeze on the phone. It does seem to freeze on the tablet after about 5 minutes. This occurs with labels on or off. Specifically, it's the map that freezes. Once this happens, i can still click on some of the buttons in the app and see them depressed. I can also see the heading, position and time elements updating at the bottom of the app, and i can see the position still being reported in other apps listening on the UDP port (vehicle commander). After i click a number of times, the screen goes black and i need to force stop the app. |
@kerryrobinson how consistently does it freeze on your tablet? Occasionally, most of the time, or all the time? I saw this issue once, late last week on a Samsung Galaxy Tab 7 tablet. I have successfully run it for several minutes and several hours a few times since then without the map freezing, so I don't know how to reproduce it. The map does not freeze on my Samsung Galaxy S III phone. |
We might also need/want to know if you are using a web map or local (ex. TPK) maybe even the sample mapconfig.xml file used when it "goes pear-shaped." And if web, then maybe try with a local TPK. (Note: just throwing out ideas, since I know next-to-nothing about this) |
@csmoore , good point. It happens consistently. I use local data (TPKs of topo, imagery and scanned which i've kept from the previous released version of SL). My mapconfig.xml looks like this:
|
i'll try changing the basemap to one of the others (i'm usually using the topo basemap), and i'll try using online services to see if it still freezes. |
I can confirm it still freezes with other local basemaps, and when using online services. Also, my tablet is running Android 4.2.1. |
One more debugging type question (that may have already been answered, but just to make sure) for folks who have seen this: does this only happen when Military Symbols are being shown & pumped into the MessageProcessor, or does it just happen anytime scrolling around the background map? I'm not sure if there is even any way (like an UI option) to not have the MessageProcessor message loop running to even test removing this to see if it is related to the problem. |
Here is the "releasable" description of this issue that I will put in the README (thanks to @kerryrobinson for crafting most of it): On some devices, we have noticed that the Squad Leader application will freeze after a few minutes of inactivity. In this situation, the application should be stopped and then started again. This issue will be addressed in a future release. |
I thought I'd mention that I now get this issue consistently on a Samsung Galaxy Tab 7. The amount of time needed to freeze the app varies--from less than five minutes to almost an hour--but it always freezes eventually. I will see if I can track down the cause. |
Glad it can be reproduced consistently on another device. |
Backlog item - https://app.asana.com/0/23019535413944/23192032216673 |
noticed this at FedUC, i was told that kerry had an issue in on this as well, but i was looking for it and didn't see the issue.not sure if there may be some sort of memory leak, or what might be causing this weird behavior, but it seems that after letting the app run for some period of time it will just freeze. i will need to try to come up with more of a repro case on this one, as it seems that currently the period fluctuates and actually seems to be caused more by inactivity, than by how long the app was running... may want to change the label from "low" once there is a good repro case for this.
The text was updated successfully, but these errors were encountered: