Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Uncaught ArithmeticError: Bit shift by negative number

    Z-Push when using Kopano
    3
    5
    1698
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • talle
      talle last edited by

      We’ve hit another snag in our transition from Zarafa to Kopano. This time its a Z-Push error in the log. There doesn’t seem to be any big negative effects aside from the loop detection.

      The user has ‘Short Ids’ enabled.

      09/08/2017 12:41:04 [14407] [ERROR] [user] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'Sync' at 09/08/2017 12:38:06 with pid '32482' terminated unexpectedly or is still running.
      09/08/2017 12:41:04 [14407] [ERROR] [user] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
      09/08/2017 12:41:05 [14407] [FATAL] [user] Fatal error: /usr/share/z-push/backend/kopano/mapi/class.baserecurrence.php:841 - Uncaught ArithmeticError: Bit shift by negative number in /usr/share/z-push/backe
      nd/kopano/mapi/class.baserecurrence.php:841
      Stack trace:
      #0 /usr/share/z-push/backend/kopano/mapi/class.recurrence.php(423): BaseRecurrence->saveRecurrence()
      #1 /usr/share/z-push/backend/kopano/mapiprovider.php(1387): Recurrence->setRecurrence(Array, Array)
      #2 /usr/share/z-push/backend/kopano/mapiprovider.php(1096): MAPIProvider->setAppointment(Resource id #27, Object(SyncAppointment))
      #3 /usr/share/z-push/backend/kopano/importer.php(433): MAPIProvider->SetMessage(Resource id #27, Object(SyncAppointment))
      #4 /usr/share/z-push/backend/kopano/kopanochangeswrapper.php(357): ImportChangesICS->ImportMessageChange('U684eb:2a133d19...', Object(SyncAppointment))
      #5 /usr/share/z-push/lib/request/sync.php(1434): KopanoChangesWrapper->ImportMessageChange('U684eb:2a133d19...', Object(SyncAppointment))
      #6 /usr/share/z-push/lib/request/sync.php(508): Sync->importMessage(Object(SyncParameters), Array, 'Modify', Object(SyncAppointment), false, ' (1)
      

      versions:
      kopano-server/stable,now 8.3.2.15-9.1 amd64 [installed,automatic]
      z-push-kopano/stable,now 2.3.7+0 all [installed]

      1 Reply Last reply Reply Quote 0
      • talle
        talle last edited by talle

        Extra info
        UserAgent: Outlook/15.0 (15.0.4937.1000; C2R; x86)

        WBXML fragment

        
        [WBXML] [user] [08e...b35] I        <POOMCAL:StartTime>
        [WBXML] [user] [08e...b35] I         20170425T070000Z
        [WBXML] [user] [08e...b35] I        </POOMCAL:StartTime>
        [WBXML] [user] [08e...b35] I        <POOMCAL:Subject>
        [WBXML] [user] [08e...b35] I         [redacted]
        [WBXML] [user] [08e...b35] I        </POOMCAL:Subject>
        [WBXML] [user] [08e...b35] I        <POOMCAL:UID>
        [WBXML] [user] [08e...b35] I          ...
        [WBXML] [user] [08e...b35] I        </POOMCAL:UID>
        [WBXML] [user] [08e...b35] I        <POOMCAL:EndTime>
        [WBXML] [user] [08e...b35] I         20170425T073000Z
        [WBXML] [user] [08e...b35] I        </POOMCAL:EndTime>
        [WBXML] [user] [08e...b35] I        <POOMCAL:Recurrence>
        [WBXML] [user] [08e...b35] I         <POOMCAL:Type>
        [WBXML] [user] [08e...b35] I          3
        [WBXML] [user] [08e...b35] I         </POOMCAL:Type>
        [WBXML] [user] [08e...b35] I         <POOMCAL:Interval>
        [WBXML] [user] [08e...b35] I          1
        [WBXML] [user] [08e...b35] I         </POOMCAL:Interval>
        [WBXML] [user] [08e...b35] I         <POOMCAL:DayOfWeek>
        [WBXML] [user] [08e...b35] I          4
        [WBXML] [user] [08e...b35] I         </POOMCAL:DayOfWeek>
        [WBXML] [user] [08e...b35] I         <POOMCAL:WeekOfMonth>
        [WBXML] [user] [08e...b35] I          5
        [WBXML] [user] [08e...b35] I         </POOMCAL:WeekOfMonth>
        [WBXML] [user] [08e...b35] I         <POOMCAL:Until>
        [WBXML] [user] [08e...b35] I          20180101T083000Z
        [WBXML] [user] [08e...b35] I         </POOMCAL:Until>
        [WBXML] [user] [08e...b35] I         <POOMCAL:CalendarType>
        [WBXML] [user] [08e...b35] I          1
        [WBXML] [user] [08e...b35] I         </POOMCAL:CalendarType>
        [WBXML] [user] [08e...b35] I        </POOMCAL:Recurrence>
        
        1 Reply Last reply Reply Quote 0
        • Manfred
          Manfred Kopano last edited by

          Hi talle,

          I wasn’t able to reproduce it. Did it happen for this one particular appointment only? Was it created with Outlook with KOE?

          Manfred

          1 Reply Last reply Reply Quote 0
          • marty
            marty Kopano (Inactive) last edited by

            This issue occurs also in WebApp and is fixed here: https://jira.kopano.io/browse/KW-3078

            https://documentation.kopano.io/deskapp_admin_manual
            http://documentation.kopano.io/webapp_smime_manual
            https://documentation.kopano.io/webapp_admin_manual

            1 Reply Last reply Reply Quote 0
            • Manfred
              Manfred Kopano last edited by

              Hi @talle,

              we merged the fix from Webapp into Z-Push. It is available in Z-Push 2.5.0 beta1.

              Manfred

              1 Reply Last reply Reply Quote 0
              • First post
                Last post