Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Raspberry Pi / BUG: Force closing Android app crashes host

Author
Message
Cybermind
14
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Searching for The Dark Tower
Posted: 26th Apr 2017 13:44 Edited at: 20th May 2017 19:30
Hello When I run this host app on my RPi2 and connect with the Android app and force close it on Android, RPi2 host app closes without any error message. Can someone confirm this? Remember to force close the Android app, you might have to try a few times. I connect through a WAN ip that is directed to the RPi2

EDIT: I think that it happens when sending data to all clients (EDIT2: where one of these clients have been force closed), or to a single, but force closed client.

Host app for RPi2:
+ Code Snippet

And here is the Android code:
+ Code Snippet
13/0
Cybermind
14
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Searching for The Dark Tower
Posted: 28th Apr 2017 10:48 Edited at: 29th Apr 2017 15:55
Anyone? I use my RPi2 as a cost efficient test host. I have a small app that uses online functions hosted on the RPi2. The app is on Google Play in closed alpha, but it is a problem that clients cannot be force closed without chrashing the host :-(
13/0
Cybermind
14
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Searching for The Dark Tower
Posted: 1st May 2017 10:34
Broadcasting the app to Android will do just fine, it still happens. Could someone please confirm this bug? I do not know if the same bug happens if you use an iOS device as I don't have one yet. It is kinda hard to have an online app if force closing the client app causes the server app to close.
13/0
Jack
12
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 22nd May 2017 14:55
Confirmed, with a client on a pi

[/url]
Cybermind
14
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Searching for The Dark Tower
Posted: 22nd May 2017 17:25 Edited at: 22nd May 2017 17:30
Thank you very much Jack

EDIT: It is possible that it also happens with host app running on Windows (and maybe other systems as well), but these systems are usually running on a faster machine and they might do something very fast that the RPi2 don't achieve to do before the next packet is sent. THIS IS NOT FOR SURE! I have just experienced the same thing on Windows a few times.
13/0
Cybermind
14
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Searching for The Dark Tower
Posted: 26th May 2017 09:30
Have any mods or devs seen this?
13/0
Cybermind
14
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Searching for The Dark Tower
Posted: 18th Jun 2017 13:43
Are there any news regarding this issue now that the bug has been confirmed.
13/0

Login to post a reply

Server time is: 2017-08-18 02:14:34
Your offset time is: 2017-08-18 02:14:34