We have moved to a new Sailfish OS Forum. Please start new discussions there.
9

Internet sharing causes reboot

Tracked by Jolla

asked 2018-03-31 01:14:42 +0200

hetas gravatar image

updated 2018-06-26 09:18:04 +0200

Internet sharing crashes and reboots the phone after a while. I think it was maybe 20 to 40 minutes. Happened twice in a row.

I was using the wlan hotspot on a laptop at the time.

I'll see if I can get logs or more details.

XperiaX 2.1.4.14.

edit: Another reboot happened. Journalctrl-log added. Logging is started after sharing is turned on and is saved until the reboot.

Phone lasted on a bit longer, about two hours. I didn't try sharing this long on earlier versions on SailfishX so I don't know if this is related to 2.1.4 or earlier versions.

journal.log

Edit: Here's pstore as requested. Now crash happened in couple of minutes. And second time in seconds when I tried again. This log is from the second attempt. I hope there's nothing confidential in those memory dumps...

pstore.zip

Edit 2018-06-26: No change with 2.2.0.29. Phone rebooted after couple of minutes of internet sharing.

There's not much upvotes on this issue. Is this problem limited to some devices or is this feature not used that much?

edit retag flag offensive close delete

Comments

2

Hello @hetas, thanks for the report. If you can still reproduce the problem, is it possible to get the contents of /sys/fs/pstore ? Would be helpful since they contain the kernel crash logs after the first reboot.

jiit ( 2018-04-04 10:06:53 +0200 )edit
1

@jiit. I added pstore.

hetas ( 2018-04-06 19:09:29 +0200 )edit

I'm having the same problem, also Xperia X. Sometimes the issue occurs in 5 minutes or less - it's very different. @jiit If you need more logs, please let me know.

molan ( 2018-04-26 13:11:12 +0200 )edit

The same has been happening to me lately (Xperia X with 2.2.0.29). After getting a new laptop, my XperiaX booted multiple times while downloading updates and new programs on the laptop. The reboots possibly had a relation with download speeds, since they seemed to occur mostly while DL speed reached over 50 Mb/s.

tmy ( 2018-06-26 13:17:32 +0200 )edit

Confirming; I can systematically reboot my phone when sharing Internet via WLAN to a specific Linux laptop and downloading updates. I have used the sharing many times with other computers with no issues, so at least for me it is tied to this specific computer.

Is it still necessary to supply more logs regarding this issue?

Edit: Sailfish X 2.2.0.29 on Xperia X single-SIM version here.

Direc ( 2018-08-07 18:24:15 +0200 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2018-06-27 10:51:23 +0200

jiit gravatar image

Hello @hetas, could you please check a couple of things to get a better understanding of this issue? I got some info from our developer who is looking into this, that it looks as if something is trying to scan for wifi networks constantly while your device is in hotspot mode. Can it be an app you installed causing this? Another thing is that there are some modem errors in the logs you posted, so it might be that there is also something that tries to access ofono or rild in an incorrect way.

  • If you are experienced, you can compile a kernel with CONFIG_KALLSYMS=y to get a better backtrace. You need to take a backup of the current kernel though.
  • You can try and see if addr2line (command line tool) tells something about the backtrace (i.e. the addresses shown in the kernel backtrace could be converted to code file/line numbers with this tool). The modem errors could be just a result of the kernel crashing due to wifi errors, but might be good to doublecheck.

Hope these instructions help. Thank you very much for your effort.

edit flag offensive delete publish link more

Comments

1

@jiit I don't think I'd like to take the time to do the kernel swap. I've never done it with a phone and this is my daily device at the moment.

I have Google Play Services installed so there is all sorts of stuff running in the background. From native apps Situations, from Jolla Store, might be something that would scan networks. I don't have any network based rules set up, though.

I did a little test run and turned off both Alien-Dalvik and Situations and the phone didn't crash while in hotspot mode. This was only for something like 15 to 20 minutes, though. But I couldn't get phone to reboot even after I restarted the apps.

I had my usual stuff running all the time, that is Clock, Email, Calendar and Notes (Muistiinpanot in Finnish).

I restarted the phone and still no crash. The other day I tried internet sharing the reboot happened in minutes.

I don't use internet sharing very often but I might try to do more testing at some point.

hetas ( 2018-06-28 10:45:02 +0200 )edit

I've used internet sharing rather often on the Xperia X. It seems random how frequent and fast the device reboots. It also happens without any running apps and deactivated Alien Dalvik (I have no 3rd apps installed with background daemon from OpenRepos or similar). Sometimes there are no reboots for hours, while other times it keeps rebooting after less than 5 minutes of hotspot usage (at the same location).

I have no issues with the Jolla1 where internet sharing over WLAN works without any flaws. Unfortunately I can't help testing within the next weeks, but thanks for the instructions @jiit

molan ( 2018-07-03 12:30:31 +0200 )edit

Today I used Internet sharing for about an hour and a half without problems. I had Android support stopped and Situations as well. Maybe shutting down those apps made a difference or maybe it was just a coincidence.

hetas ( 2018-08-11 20:10:59 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2018-03-31 01:14:42 +0200

Seen: 395 times

Last updated: Jun 27 '18