Select to view content in your preferred language

Survey123 Android App - Intermittent Crashing opening one survey

5036
28
04-30-2019 11:37 AM
CoreyLunty1
Occasional Contributor

Hello

I have a group of users who are experiencing intermittent crashing (the Android 'Survey123 has stopped working' dialog) when opening a survey.

Here are details on the crash:

-They are using Samsung Android tablets (exact model varies, I can get more details)

-Issue has occurred both in office (on WiFi) and in the field (on LTE connection)

-The error only occurs for one survey

-The error has been reproduced on multiple android tablet devices, suggesting it is not a single device specific problem

-The survey is launched by users clicking an arcgis-survey123:// URL, specifying both the itemID and a value for a single field. 

-I was once able to reproduce the problem by starting the survey directly from within the Survey123 app and not via URL

-They typically click this link from within Collector, but I have tested clicking the link from the AGOL webmap in the Google Chrome android app and it also will occasionally result in a crash.  I believe this rules out the transition from Collector app to Survey123 app as the culprit

-In my testing I have reproduced the crash on maybe 3% of survey launches.  Field staff reports suggest they are seeing higher failure rates however 

Here are resolutions we have attempted:

-Deletion and redownloading of the problematic survey via Survey123 app

-In Survey123, going into Settings > Storage > Fix Database

-Uninstall and reinstall of Survey123 app via Google Play store

The problem may not happen again for a while but it always reoccurs eventually.

Here are some things I would rather not do:

-factory reset tablets

-have to republish the survey

Note the large log file involved me repeatedly attempting to reproduce the problem. I have included the whole log because of the information at the beginning on android version, app version etc. The other two logs I have clipped to only include logging from the attempts which actually generated an error.

update: removed first and last names of inspectors from xlsx and re-attached esriinfo.zip

28 Replies
AaronKoelker
Frequent Contributor

Adding my experience to this discussion since it is close, though I see it on all my surveys instead of just one.

Using a Samsung Galaxy S9+ and Survey123 for Android has become unusable for me since the 3.3 update. Upon opening any survey, the app crashes somewhere between immediately and maybe 30 seconds or so. I can open a survey and not make any inputs on the screen, and the app will still close out at random. Disabled the app's permissions for location services and still see that same behavior, so not sure what's running in the background and tripping the crash. I get this behavior on all surveys, ranging from complex surveys with pulldata and external CSVs, to a simple test survey with a single yes/no question. Have reinstalled the app multiple times, and cleared installation folder manually through the file explorer. I also attempted to test the 3.4 EAC beta, but see the same behavior. If anything, the crash occurs quicker.

Haven't been able to get a hold of another android device in my office to test, but my coworkers iPhone devices are able to run the same surveys without issue. Works ok in the browser, too. So it seems to be android or device specific.

Wondering if anyone else is seeing issues on Galaxy devices after 3.3? Part of my position is to help support all our GIS users with their mobile solutions, including Survey123, so not being able to test or use any of our surveys has me in a bit of a pickle.

EDIT: Looks like the addition of a 64-bit version in 3.5 has solved my issue regarding the Samsung Galaxy S9+, which is a 64-bit device. The app is much more stable and usable!

-Aaron
by Anonymous User
Not applicable

Hi Aaron,

Great to hear using the 64 bit version of the Android app has resolved your crashing issues. A lot of work went into 3.5 to resolve some crashing and memory issues on all platform and we are seeing much better stability.

Are you experiencing any other outstanding issues with 3.5 and crashes or unexpected behaviour?

Phil.

0 Kudos
AaronKoelker
Frequent Contributor

After further testing with 3.5, I'm actually still getting pretty frequent crashes. Sometimes the app will run fine for 15-20 minute stretches with no issue -- other times I'll get three or four successive crashes in a row immediately upon launching that app. I haven't yet been able to pick out any rhyme or reason to the behavior yet.

Aaron

-Aaron
0 Kudos
DougBrowning
MVP Esteemed Contributor

Look at what else is open when it happens.  Also look at tablet free space.  Tablets co mingle the memory.  When the crashes happen in a row have you tried a close all on the apps open?  Have you tried close all then rebooted?  

0 Kudos
AaronKoelker
Frequent Contributor

Good point, I'll keep an eye on any running/suspended apps as I use it more to see if there's a culprit.

-Aaron

-Aaron
0 Kudos
by Anonymous User
Not applicable

Hi Aaron,

Are you using the 3.5 64-bit version?

Can you give the exact details of the device this happens on (make/model/OS version etc)?

Regards,

Phil.

0 Kudos
AaronKoelker
Frequent Contributor

Phil I'm on 3.5164 (64bit). The device is a Samsung Galaxy S9+ (model SM-G965U1) with Android OS 9 running.

-Aaron

-Aaron
0 Kudos
AaronKoelker
Frequent Contributor

Just wanted to update -- with version 3.6 I'm not having any of the previous issues on the Galaxy S9+. I was able to collect a few dozen points over the course of an hour yesterday without a single crash, even though I was multi-tasking and jumping into other applications at the same time. Thanks for continuing to push new updates.

-Aaron

-Aaron
by Anonymous User
Not applicable

Hi Aaron,

Thanks for the update and great to hear you are no longer getting crashes with the update to 3.6.

Phil.

0 Kudos