DAVX5 Crashes during Calendar Sync



  • First of, thank you for the quick replies 🙂

    Im back to thinking we have the same issue. I did exactly the same thing, I went and installed OpenSync as an attempt to find a working solution for now and now its working flawless.

    @davxuser the way you describe the behavior sounds exactly like mine. Im not a developer here, but could you turn on the Developer Option (Always show crash dialog) and do a sync? I also thaught its Davx5 thats crashing, when infact for me it was a system app triggered by the sync. My phone locked, but the sync finished normally.

    @devvv4ever I dont think I do have any other apps that interfere here. Before I knew that this problem was triggered by davx5 I did a full factory reset and only installed davx5 and whatsapp after it and wanted to run it like that for a while, but the problem was immediatly back and even then I didnt make the connection with dav5x.
    Your own “old” code is working (the opensync fork).

    I dont know what else to say 😕 Im kinda happy for now since I have a working solution in the OpenSync fork. I dont mind having paid for davx5, that way you still get reimbursed for your work here, but obviously if the current davx5 were working for me it would be better.


  • developer

    The stack trace of the crash will probably not be in the DAVx⁵ logs, because it seems that not DAVx⁵, but the “System UI” crashes. So, the full system adb logs (taken while a crash occurs) would surely be helpful. Could you send those to play@bitfire.at?



  • @rfc2822 Thank you for your quick response. I just sent the log file to play@bitfire.at

    Thank you!


  • developer

    Thanks for the logs. I guess the crash is this one:

    CalendarManager: No service bound. Query to current context.
    ActivityThread: Failed to find provider info for com.sec.android.calendar.preference
    CalendarManager: No service bound. Query to current context.
    ActivityThread: Failed to find provider info for com.sec.android.calendar.preference
    CalendarManager: No service bound. Query to current context.
    davx5   : [syncadapter.SyncManager] 4e95e726-6f28-4bce-80fe-b4b720fca913.ics has not been changed on server (ETag still 02c38e45b07b8f8de032a00c9e6dbd18)
    ActivityThread: Failed to find provider info for com.sec.android.calendar.preference
    CalendarManager: No service bound. Query to current context.
    SamsungAlarmManager: setLocked to kernel - T:2 / 20190729T135050, SetElapsed=1358497144, nowELAPSED=1358337034
    davx5   : [syncadapter.SyncManager] 4cef6a9d-cbfc-4879-bc65-988d8a85d76d.ics has not been changed on server (ETag still 8b570d8fae70143ef12feeda6b09650d)
    davx5   : [syncadapter.SyncManager] 4d9becb0-93e8-44bd-8b1c-bc604d2264fc.ics has not been changed on server (ETag still 1fb60b7cf426c1e870b4a87e8e64ed6b)
    CalendarManager: No service bound. Query to current context.
    SamsungAlarmManager: setInexact Intent (T:3/F:0/AC:false) 20190729T134840 - CU:10063/CP:24795
    SamsungAlarmManager: setLocked to kernel - T:2 / 20190729T135050, SetElapsed=1358497144, nowELAPSED=1358337044
    …
    CalendarManager: No service bound. Query to current context.
    SamsungAlarmManager: setLocked to kernel - T:2 / 20190729T135050, SetElapsed=1358497144, nowELAPSED=1358337080
    SamsungAlarmManager: setLocked to kernel - T:3 / 20190729T134845, SetElapsed=1358371681, nowELAPSED=1358337080
    SamsungAlarmManager: setInexact Intent (T:3/F:0/AC:false) 20190729T134840 - CU:10063/CP:24795
    SamsungAlarmManager: setLocked to kernel - T:2 / 20190729T135050, SetElapsed=1358497144, nowELAPSED=1358337082
    SamsungAlarmManager: setLocked to kernel - T:3 / 20190729T134845, SetElapsed=1358371681, nowELAPSED=1358337082
    AndroidRuntime: Shutting down VM
    SamsungAlarmManager: setLocked to kernel - T:2 / 20190729T135050, SetElapsed=1358497144, nowELAPSED=1358337106
    SamsungAlarmManager: setLocked to kernel - T:3 / 20190729T134845, SetElapsed=1358371681, nowELAPSED=1358337106
    AndroidRuntime: FATAL EXCEPTION: main
    AndroidRuntime: Process: com.android.systemui, PID: 8108
    AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task android.os.AsyncTask$3@48a3c59 rejected from java.util.concurrent.ThreadPoolExecutor@315001e[Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 9024]
    AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2085)
    AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:848)
    AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1394)
    AndroidRuntime:        at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:651)
    AndroidRuntime:        at com.android.systemui.servicebox.pages.calendar.CalendarManager.loadTodayEvents(CalendarManager.java:278)
    AndroidRuntime:        at com.android.systemui.servicebox.pages.calendar.CalendarManager$3.run(CalendarManager.java:129)
    AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
    AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
    AndroidRuntime:        at android.os.Looper.loop(Looper.java:214)
    AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7045)
    AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
    AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
    

    So it seems like com.android.systemui.servicebox.pages.calendar.CalendarManager.loadTodayEvents could have crashed. Are you using a widget/launcher that shows today events or something like that?



  • @rfc2822 I don’t use any widgets on my phone. My calendar is Etar, a very simple lightweight open source calendar. I have a very clean phone. Not many apps. Only what I need.

    Why do you think OpenSync, which is simply a fork of your older code base DavDroid syncs flawlessly without crash? As I mentioned previously I consider it a workaround until I can hopefully resolve this issue with Dav5x and use it without crashing my phone.

    Thanks again for your continued support in resolving this issue!


  • developer

    @davxuser said in DAVX5 Crashes during Calendar Sync:

    @rfc2822 I don’t use any widgets on my phone. My calendar is Etar, a very simple lightweight open source calendar. I have a very clean phone. Not many apps. Only what I need.

    I see. Would be interesting what com.android.systemui.servicebox.pages.calendar.CalendarManager.loadTodayEvents is…

    Why do you think OpenSync, which is simply a fork of your older code base DavDroid syncs flawlessly without crash? As I mentioned previously I consider it a workaround until I can hopefully resolve this issue with Dav5x and use it without crashing my phone.

    I don’t know and I have no hints, nor can I reproduce the problem, nor does it seem to occur that often …



  • @rfc2822

    I see. Would be interesting what com.android.systemui.servicebox.pages.calendar.CalendarManager.loadTodayEvents is…

    How do I know what it is? Is there something I can do to help figure out what it is?


  • developer

    @davxuser I only found https://forum.xda-developers.com/galaxy-s8/help/s8-ui-stopped-triple-vibration-black-t3779065. I guess its some Samsung UI element (in the launcher etc.), but I don’t know which one and I also don’t know why it crashes on your device… As @devvv4ever said above, current DAVx⁵ versions work fine on another Galaxy S10 device and we didn’t get as many reports about that as we would have if this were a problem on all devices.



  • @rfc2822 So if I’m reading this correctly, this issue will not get a resolution?


  • developer

    @davxuser I don’t know how and I don’t think it’s directly caused by DAVx5… so if you have an idea what I can do in this case, please let me know.


Log in to reply
 

Similar topics