Android Calendar app crashes when editing appointment



  • Hello Kopano Community

    Issue: Android Calendar crashes when I try to open or edit an appointment created or edited on the Kopano WebApp, on an iPad/iPhone or in Outlook connected via ActiveSync. Just appointments created in the Android Calendar itself can be edited. As soon as we edit an appointment in the WebApp, Outlook, iPad/iPohne, the Android Calendar App crashes when opening or editing this appointment.
    Between Apple IOS, Outlook and Kopano WebApp, all works fine.

    Tested with two different Android Devices:

    • Samsung Galaxy A5 (2016), Android 7.0, Calendar Version 4.0.06.502
    • Huawai, Android 9.1.0.387, Calendar Version 9.1.7.322

    Tested with two different Kopano version:

    • WebApp: 4.0.2720+1597.1, Kopano Core: 10.0.3, Z-Push: 2.5.2+0-0
    • WebApp: 4.0.2740+1614.1, Kopano Core: 10.0.4, Z-Push: 2.5.2+0-0

    Both servers running Debian GNU/Linux 10 (buster), MariaDB 10.3, PHP 7.3

    Android Logs:

    06-07 14:49:15.998  1333  1343 V ActivityManager: Successfully start provider ContentProviderRecord{58117ce u0 com.android.providers.calendar/.CalendarProvider2} launchingApp=ProcessRecord{11e24c9 31641:com.android.providers.calendar/u0a8} caller pid= 14631
    06-07 14:49:15.999  1333  1660 W InputDispatcher: channel '9096587 com.android.calendar/com.android.calendar.event.EditEventActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    06-07 14:49:15.999  1333  1660 E InputDispatcher: channel '9096587 com.android.calendar/com.android.calendar.event.EditEventActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    06-07 14:49:15.999  1333  1660 W InputDispatcher: channel 'd1b7d0 com.android.calendar/com.android.calendar.EventInfoActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    06-07 14:49:15.999  1333  1660 E InputDispatcher: channel 'd1b7d0 com.android.calendar/com.android.calendar.EventInfoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    06-07 14:49:15.999  1333  1660 W InputDispatcher: channel '352b076 com.android.calendar/com.android.calendar.AllInOneActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    06-07 14:49:15.999  1333  1660 E InputDispatcher: channel '352b076 com.android.calendar/com.android.calendar.AllInOneActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    06-07 14:49:16.007   585   585 I Zygote  : Process 31834 exited due to signal (9)
    06-07 14:49:16.008  1333  9097 I WindowManager: WIN DEATH: Window{9096587 u0 com.android.calendar/com.android.calendar.event.EditEventActivity}
    06-07 14:49:16.009  1333  9097 V WindowManager: removeIfPossible: Window{9096587 u0 com.android.calendar/com.android.calendar.event.EditEventActivity}
    06-07 14:49:16.009  1333  9097 W InputDispatcher: Attempted to unregister already unregistered input channel '9096587 com.android.calendar/com.android.calendar.event.EditEventActivity (server)'
    06-07 14:49:16.009  1333  1455 W libprocessgroup: kill(-31834, 9) failed: No such process
    06-07 14:49:16.009  1333  1455 I libprocessgroup: Successfully killed process cgroup uid 10017 pid 31834 in 0ms
    06-07 14:49:16.009  1333  9097 V WindowManager: Not removing Window{9096587 u0 com.android.calendar/com.android.calendar.event.EditEventActivity EXITING} due to exit animation 
    06-07 14:49:16.009 14631 14642 E         : [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008]
    06-07 14:49:16.010  1333  2142 I ActivityManager: Process com.android.calendar (pid 31834) has died: fore TOP 
    06-07 14:49:16.010  1333  9097 E         : [ZeroHung]zrhung_get_config: Get config failed for wp[0x0110]
    06-07 14:49:16.010  1333  1451 I StatusBarDisable: setFlags what=0 which=1 pkg=Window{9096587 u0 com.android.calendar/com.android.calendar.event.EditEventActivity EXITING}
    06-07 14:49:16.010  1333  2142 D ActivityManager: cleanUpApplicationRecord app: ProcessRecord{9bd3c54 31834:com.android.calendar/u0a17}, app.bad: false, restarting: false, allowRestart: true
    06-07 14:49:16.010  1333  9097 D ZrHung.AppEyeFocusWindow: FocusWindowErrorScene CheckFreezeScreen
    06-07 14:49:16.010  1333  9097 D ZrHung.AppEyeTransparentWindow: TransparentWindow cancelCheckFreezeScreen
    

    Do you have any idea?

    Thank you very much for your help.
    Best regards,
    Matthi



  • Hello
    does anybody have the same problem? Or is it working for all you guys? It would be very nice, if somebody could test this bug and come back with a short feedback.
    Thank you very much.
    Best regards
    Matthi


  • Kopano

    Hi @matthi,

    that works here without problems.

    Steps:

    • create an appointment in webapp
    • open it on the mobile and add a description and move it
    • open it in webapp again

    WebApp:
    4.1.2796+1650.1
    Kopano Core:
    8.7.14
    Nokia 7.2 with Android 10 and the Google Calendar app (2020.20.4-316065245-release)



  • Hi @fbartels
    thank you very much for your feedback.
    Would it be possible, to do a test on a Kopano Core 10.0.4?
    We found out, that it works with any Calendar app on Android except with the built in standard Android Calendar app.
    The standard Android calendar app crashes probably because of something strange in the Calendar sync XML format?

    Regards
    Matthi


  • Kopano

    Hi @matthi,

    I did a rebuild based on the latest master and did not see a crash either.



  • We uses Kopano with Subscription about an year. We have the same issue alway on Huawei and Samsung. On Nokia it works and on Google Pixel too. Last week there was an Upgrade on Android 10 on the Huawei Phones. Not tested with that version.


  • Kopano

    Hi,

    I have a Samsung device with Android 10 and I’m not able to reproduce the calendar app crash. Kopano and Webapp versions are the same Felix used in his test.

    Manfred


  • Kopano

    I am wondering: About which calendar app are we talking? The default calendar app of each device, or the actual Google calendar app?

    Nokia and Google share the same calendar app, while Samsung and Huawei each have their own.


  • Kopano

    On my phone it’s just called “Calendar” (version 11.3.00.6) and it comes from the Galaxy Store. It’s the default and only Calendar App on my device as far I as can see.



  • Yes we too. We use the apps directly from Huawei or Samsung, the google one didn’T integrated so fine.



  • Today I tested the same on a Xiaomi A3 with Android 10 and the default Google Calendar app v2020.20.4-316065245 and everything works!

    It looks like the issue just persists on some Android Phones with a proprietary Calendar App like Samsung or some Huawai devices.

    I have a devices to reproduce the issue.
    @fbartels: does Kopano like to follow this issue or do you think, only “old” Andorid devices are affected and it doesn’t have an impact for your paying customers?
    Probably @boospy has more interessts to get it fixed as he has a Kopano Subscription.

    Best regards
    Matthi