Android crashing with some logs

also I just saw a peculiar error message when the device woke up

W/ActivityManager( 356): Scheduling restart of crashed service com.nutomic.syncthingandroid/.service.SyncthingService in 5000ms I/ActivityManager( 356): Start proc com.nutomic.syncthingandroid for service com.nutomic.syncthingandroid/.service.SyncthingService: pid=10312 uid=10039 gids={50039, 1015, 3003, 1028} I/dalvikvm(10312): Could not find method android.os.PowerManager.isPowerSaveMode, referenced from method com.nutomic.syncthingandroid.service.DeviceStateHolder.shouldRun

This method is only available in newer Android versions (4.4+ or so). If you have an older version, that warning is normal.

1 Like

Dear Syncthing-Android development team,

i have a similar issue with Syncthing running on my android smartphone:

Every time my phone is charging and get’s fully charged, i get an error message saying: “Syncthing has crashed”. I can’t tell if Syncthing is interrupted, but at least after a few minutes, when I see the message and check Syncthing, it is running and it works just fine.

Important Settings:

  1. This issue just appears with the option: Sync just when charging. When I let Syncthing run always in the background, I get no error messages.

  2. I use an inductive QI-charger for charging my phone. I don’t know if it works when i charge my phone through the normal USB-cabel

Other info: Phone: YotaPhone2 (YD206) Syncthing-Version: v0.14.25 Syncthing-Android-Version: 0.9.8

I love Syncthing and i use it widely with my friends. I’d like to use it on my smartphone too, but the error messages are really annoying, even through everything works fine. Disabling those pop-up error messages are not the clean solution, but would be a quick work-around.

When you need logs, more tests or info to isolate the problem or when I can help somehow different, I would be pleased to help you.

Dear Simon

Hi Simon,

Please provide your logs,

You can get logs in various ways:

  • Log window in the app: Settings -> Open Log -> Android Log
  • Install adb, and run adb logcat. To see only info about crashes, run adb logcat -s *:E.
  • Using one of the various “logcat apps” on Google Play and F-Droid (root only)
1 Like

Hi Zillode,

today the pattern when Syncthing crashes was not as persistent as yesterday. It did’nt happen every time my phone get’s fully charged like yesterday. I unpluged my charged phone and sometimes I got the “Syncthing has crashed” message. I could get the logs of a crash:

(I could not upload files in this forum so I put it to Google Drive)

Syncthing Log: https://drive.google.com/open?id=0B8rJbTSzQu1eU29SRkNSYy1uLUE

Android Log: https://drive.google.com/open?id=0B8rJbTSzQu1eOVFIMmFrWjlyZ3M

Which version are you running? There was a common crash in 0.9.7 which was fixed in the last version. Either way, there’s no crash info in your logs.

1 Like

As I wrote in my first poste, I am currently running v 0.9.8

But since yesterday, I could not watch the phenomena described above. May I had the update on the day I wrote my first poste.

Today I got another crash of Syncthing:

When my phone get’s fully charged with my QI-charger, it connects and disconnects multiple times from it with an interval of about 1-2 seconds. When this happens a few times, I get the notification saying that syncthing has crashed.

Here are my logs. I got three crashes: 22:17 22:31 22:33

Syncthing Log: https://drive.google.com/open?id=0B8rJbTSzQu1eT2JxRVRuVlNmUmc Android Log: https://drive.google.com/open?id=0B8rJbTSzQu1eU0RSVTZ6X01tclU

As noted above, my Syncthing-Android-Version is “0.9.8” and my Syncthing-Version is “v0.14.25”

Of course I am aware that the root of this problem is the connection between my phone and my charger and that this problem should be fixed in the first place, and not the software. Nevertheless I want you to know about this issue.