Important: These forums are for discussions between SkyDemon users. They are not routinely monitored by SkyDemon staff so any urgent issues should be sent directly to our Customer Support.

SkyDemon freezes or crashes when connected to WiFi


Author
Message
ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
SkyDemon locks up periodically (or even crashes) when my device is connected to one of the on-board Wi-Fi networks of my plane:
* Stratux (versions 1.5b1 and 1.5b2)
* iLevil AHRS Mini

After a few seconds, SkyDemon becomes unresponsive or crashes. This happens regardless whether in planning or navigation mode (doesn't matter if I have third-party device enabled in settings or not).

SkyDemon is able to connect to my Stratux and receive GPS position and traffic, but alas only for a few seconds before it locks up or crashes.

I have tried SkyDemon on Android on the following devices: Moto G5 Plus, Amazon Kindle HD Fire 8 and 10. I have tried different recent SkyDemon versions (latest stable 3.11.2, and beta 3.11.3.26929). I have tried different SkyDemon settings, and cleared the application cache of SkyDemon.

SkyDemon does not have this issue when the device is connected to a regular wifi of my home. So I'm suspecting that the messages that those wifi devices are sending (GDL90, NMEA) are throwing off SkyDemon for some reason.

Do you have any ideas what could cause this, and how I can further diagnose the issue?

pilot-byom
p
Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)
Group: Forum Members
Posts: 323, Visits: 388
It is a known bug in the Stratux Beta, stay at the latest Stratux v1.4r5 for now when using Skydemon!
ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
MarkusM - 2/19/2019 11:39:59 AM
It is a known bug in the Stratux Beta, stay at the latest Stratux v1.4r5 for now when using Skydemon!

Thanks Markus, I'll test it tonight.

Do you know what the specific issue is with Stratux release 1.5b1, or can you point me to a ticket on this?

pilot-byom
p
Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)Too Much Forum (3.3K reputation)
Group: Forum Members
Posts: 323, Visits: 388
ZorgroZ - 2/19/2019 12:20:23 PM
MarkusM - 2/19/2019 11:39:59 AM
It is a known bug in the Stratux Beta, stay at the latest Stratux v1.4r5 for now when using Skydemon!

Thanks Markus, I'll test it tonight.

Do you know what the specific issue is with Stratux release 1.5b1, or can you point me to a ticket on this?

I think is is only on the list of known issues so far, but not yet a standalone ticket on github - may never get one as it appears directly connected to other open issues.

Edited 2/19/2019 12:57:59 PM by MarkusM
ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
MarkusM - 2/19/2019 11:39:59 AM
It is a known bug in the Stratux Beta, stay at the latest Stratux v1.4r5 for now when using Skydemon!

Just tested it with Stratux release v1.4r5: same problem on two different Android devices. SkyDemon locks up on one device (Moto G5 Plus) immediately after loading, and crashes on the other one (latest Kindle Fire HD). SkyDemon latest beta version.

I'll try it on my old iPad tonight, and with the latest stable release of SkyDemon.

Any other ideas?

Edited 2/19/2019 1:00:59 PM by ZorgroZ
ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
ZorgroZ - 2/19/2019 12:58:55 PM
MarkusM - 2/19/2019 11:39:59 AM
It is a known bug in the Stratux Beta, stay at the latest Stratux v1.4r5 for now when using Skydemon!

Just tested it with Stratux release v1.4r5: same problem on two different Android devices. SkyDemon locks up on one device (Moto G5 Plus) immediately after loading, and crashes on the other one (latest Kindle Fire HD). SkyDemon latest beta version.

I'll try it on my old iPad tonight, and with the latest stable release of SkyDemon.

Any other ideas?

I've tested with an old 9.7 inch iPad and SkyDemon 3.11.2. No freezes or crashes.

So this issue seems specific to SkyDemon on Android.

How could I diagnose further? Does SkyDemon have a log file or debugging mode which I could enable?

neubamat
n
Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)Too Much Forum (720 reputation)
Group: Forum Members
Posts: 19, Visits: 18
This happens to me with SD 3.12.4.27411 on Fire Tab HD 8 as well.
I wasn't able to reproduce it with my Nokia 6 (Android P) even if just wifi was enabled (mobile data offline).
If I connect to a non routable wifi network, I'm getting a network connection error notification on Nokia 6 and no dialog but a lock up on HD 8.
That's my workaround:
  1. connect tab to wifi with internet connectivity and "Internet Usage" set so "Live Data when Planning" to download recent data.
  2. set SD to "Offline Mode", exit SD
  3. connect to stratux
  4. launch SD
I didn't see any crashes when following this procedure.


b3nn0
b
Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)
Group: Forum Members
Posts: 42, Visits: 3.4K
Seeing the same issue. But I'm pretty sure that this is not a stratux bug. It also happens with other devices (as OP said, iLevil. And - no matter what stratux does, crashing is certainly not the right way to deal with it).
And yes, it is clearly related to network usage by skydemon. Somehow Skydemon seems to block the main thread while waiting for network i/o (until it times out eventually). This is definitely a skydemon issue. Also, it seems to be a rather new issue. I think I didn't have that problem in older Skydemon versions.
Basically, whenever the Android devices is connected to a Wifi without internet connection and Skydemon is set to use data, it will freeze occasionally.



b3nn0
b
Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)
Group: Forum Members
Posts: 42, Visits: 3.4K
Sorry for the double post - any official news on this? It is really quite annoying..
I have used the report functionality of the "App not responding" dialog - no idea if it helps.
(EDIT: I'm a full-time Android developer, even though Java, not C#. If I can do anything to help, let me know)


Edited 4/30/2019 1:39:14 PM by b3nn0
Tim Dawson
Tim Dawson
SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)SkyDemon Team (683K reputation)
Group: Forum Members
Posts: 8.2K, Visits: 9.5K
You might like to contact our technical support about this. I have no knowledge of it but I do know we haven't changed our network connectivity on Android lately.
b3nn0
b
Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)
Group: Forum Members
Posts: 42, Visits: 3.4K
Did that - also happens in the latest beta, by the way.

ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
The problem is unfortunately still present under Android with the current version of SkyDemon (3.12.7.22564). I've tested on four devices now:
* Motorola G5 Plus
* Motorola G7 Plus
* Kindle Fire HD 8
* Kindle Fire HD 10

I've tried various settings in both Stratux and SkyDemon. Whenever SkyDemon is connected to the Stratux wifi, it freezes. On iOS everything works as expected.

I'm quite desperate to get this working for safety reasons. Tim / SkyDemon support, would you be able to look into this please?

b3nn0
b
Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)Too Much Forum (486 reputation)
Group: Forum Members
Posts: 42, Visits: 3.4K
ZorgroZ - 6/15/2019 5:04:24 PM
The problem is unfortunately still present under Android with the current version of SkyDemon (3.12.7.22564). I've tested on four devices now:
* Motorola G5 Plus
* Motorola G7 Plus
* Kindle Fire HD 8
* Kindle Fire HD 10

I've tried various settings in both Stratux and SkyDemon. Whenever SkyDemon is connected to the Stratux wifi, it freezes. On iOS everything works as expected.

I'm quite desperate to get this working for safety reasons. Tim / SkyDemon support, would you be able to look into this please?


I had a quite lengthy discussion with their support until they finally admitted it was a bug in SD.
Anyway, you have two options:
1) Install the latest Stratux European Edition image on your Stratux, which contains a workaround (it configures Android's network interface slightly different): https://github.com/b3nn0/stratux/releases
OR
2) Install the latest SD beta for Android, where they have fixed the issue properly:

ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
b3nn0 - 6/15/2019 6:04:39 PM
ZorgroZ - 6/15/2019 5:04:24 PM
The problem is unfortunately still present under Android with the current version of SkyDemon (3.12.7.22564). I've tested on four devices now:
* Motorola G5 Plus
* Motorola G7 Plus
* Kindle Fire HD 8
* Kindle Fire HD 10

I've tried various settings in both Stratux and SkyDemon. Whenever SkyDemon is connected to the Stratux wifi, it freezes. On iOS everything works as expected.

I'm quite desperate to get this working for safety reasons. Tim / SkyDemon support, would you be able to look into this please?


I had a quite lengthy discussion with their support until they finally admitted it was a bug in SD.
Anyway, you have two options:
1) Install the latest Stratux European Edition image on your Stratux, which contains a workaround (it configures Android's network interface slightly different): https://github.com/b3nn0/stratux/releases
OR
2) Install the latest SD beta for Android, where they have fixed the issue properly:

Thanks b3nn0. I just tried the latest version of your European Stratux release, but the problem is still there, on both my Kindle Fire HD 8 and my Motorola Moto G7 Plus.

 (I didn't see a configuration setting for "SkyDemon Android disconnect bug workaround", so I changed /etc/stratux.conf directly, setting the corresponding variable to "true". That should be ok, right?

Will now try the latest SkyDemon beta and report back.

ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
ZorgroZ - 6/15/2019 7:58:43 PM
b3nn0 - 6/15/2019 6:04:39 PM
ZorgroZ - 6/15/2019 5:04:24 PM
The problem is unfortunately still present under Android with the current version of SkyDemon (3.12.7.22564). I've tested on four devices now:
* Motorola G5 Plus
* Motorola G7 Plus
* Kindle Fire HD 8
* Kindle Fire HD 10

I've tried various settings in both Stratux and SkyDemon. Whenever SkyDemon is connected to the Stratux wifi, it freezes. On iOS everything works as expected.

I'm quite desperate to get this working for safety reasons. Tim / SkyDemon support, would you be able to look into this please?


I had a quite lengthy discussion with their support until they finally admitted it was a bug in SD.
Anyway, you have two options:
1) Install the latest Stratux European Edition image on your Stratux, which contains a workaround (it configures Android's network interface slightly different): https://github.com/b3nn0/stratux/releases
OR
2) Install the latest SD beta for Android, where they have fixed the issue properly:

Thanks b3nn0. I just tried the latest version of your European Stratux release, but the problem is still there, on both my Kindle Fire HD 8 and my Motorola Moto G7 Plus.

 (I didn't see a configuration setting for "SkyDemon Android disconnect bug workaround", so I changed /etc/stratux.conf directly, setting the corresponding variable to "true". That should be ok, right?

Will now try the latest SkyDemon beta and report back.

Combination of latest SkyDemon beta and your latest Stratux image seems to work on both Kindle Fire HD8 and Motorola Moto G7 Plus. No freezes observed in more than ten minutes.

Will do a test flight tomorrow and let you know if any further issues.

Edited 6/15/2019 8:24:42 PM by ZorgroZ
ZorgroZ
ZorgroZ
Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)Too Much Forum (1.4K reputation)
Group: Forum Members
Posts: 23, Visits: 48
ZorgroZ - 6/15/2019 8:24:02 PM
ZorgroZ - 6/15/2019 7:58:43 PM
b3nn0 - 6/15/2019 6:04:39 PM
ZorgroZ - 6/15/2019 5:04:24 PM
The problem is unfortunately still present under Android with the current version of SkyDemon (3.12.7.22564). I've tested on four devices now:
* Motorola G5 Plus
* Motorola G7 Plus
* Kindle Fire HD 8
* Kindle Fire HD 10

I've tried various settings in both Stratux and SkyDemon. Whenever SkyDemon is connected to the Stratux wifi, it freezes. On iOS everything works as expected.

I'm quite desperate to get this working for safety reasons. Tim / SkyDemon support, would you be able to look into this please?


I had a quite lengthy discussion with their support until they finally admitted it was a bug in SD.
Anyway, you have two options:
1) Install the latest Stratux European Edition image on your Stratux, which contains a workaround (it configures Android's network interface slightly different): https://github.com/b3nn0/stratux/releases
OR
2) Install the latest SD beta for Android, where they have fixed the issue properly:

Thanks b3nn0. I just tried the latest version of your European Stratux release, but the problem is still there, on both my Kindle Fire HD 8 and my Motorola Moto G7 Plus.

 (I didn't see a configuration setting for "SkyDemon Android disconnect bug workaround", so I changed /etc/stratux.conf directly, setting the corresponding variable to "true". That should be ok, right?

Will now try the latest SkyDemon beta and report back.

Combination of latest SkyDemon beta and your latest Stratux image seems to work on both Kindle Fire HD8 and Motorola Moto G7 Plus. No freezes observed in more than ten minutes.

Will do a test flight tomorrow and let you know if any further issues.

Reporting no issues in 3.5 hours of flight. Tried both my Motorola Moto G7 Plus and my Kindle Fire HD8.

The Stratux saw both ADS-B and Flarm signals.

Thanks b3nn0 for your great work on the European Stratux image (I hope you will continue maintaining it), and to SkyDemon for fixing this long-standing issue!

Edited 6/17/2019 8:45:29 PM by ZorgroZ
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
ZorgroZ - 2/19/2019 10:21:14 AM
pilot-byom - 2/19/2019 11:39:59 AM
                         Thanks Markus, I'll test it tonight. Do you know what the specific...
ZorgroZ - 2/19/2019 12:20:23 PM
                             I think is is only on the list of known issues so far, but not yet a...
pilot-byom - 2/19/2019 12:57:17 PM
                         Just tested it with Stratux release v1.4r5: same problem on two...
ZorgroZ - 2/19/2019 12:58:55 PM
                             I've tested with an old 9.7 inch iPad and SkyDemon 3.11.2. No freezes...
ZorgroZ - 2/19/2019 7:29:08 PM
neubamat - 3/23/2019 11:06:40 AM
b3nn0 - 4/16/2019 2:14:39 PM
b3nn0 - 4/30/2019 12:20:00 PM
Tim Dawson - 5/1/2019 10:06:06 AM
                     Did that - also happens in the latest beta, by the way.
b3nn0 - 5/1/2019 11:53:08 AM
ZorgroZ - 6/15/2019 5:04:24 PM
                         I had a quite lengthy discussion with their support until they finally...
b3nn0 - 6/15/2019 6:04:39 PM
                             Thanks b3nn0. I just tried the latest version of your European Stratux...
ZorgroZ - 6/15/2019 7:58:43 PM
                                 Combination of latest SkyDemon beta and your latest Stratux image...
ZorgroZ - 6/15/2019 8:24:02 PM
                                     Reporting no issues in 3.5 hours of flight. Tried both my Motorola...
ZorgroZ - 6/17/2019 8:44:45 PM

Reading This Topic

Login

Explore
Messages
Mentions
Search