Kopano-Gateway crashes on Ubuntu 18.04

Today kopano-gateway crashed on my ubuntu 18.04 server (x86_64)
I am running core-8.6.81.24_0+4-Ubuntu_18.04-amd64.tar.gz

Here is the backtrace of the error:

Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: ----------------------------------------------------------------------
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Fatal error detected. Please report all following information.
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Application kopano-gateway version: 8.6.81
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: OS: Linux, release: 4.15.0-33-generic, version: #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018, hardware: x86_64
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Thread name: NotifyThread
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Peak RSS: 127928
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Pid 817 caught SIGABRT (6), out of memory or unhandled exception, traceback:
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Backtrace:
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x45a90) [0x7fc39f25aa90]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x34f2d) [0x7fc39f249f2d]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x19f) [0x7fc39f24a1df]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fc39f008890]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fc39e2e6e97]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fc39e2e8801]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #6. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c8fb) [0x7fc39e93d8fb]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #7. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92d3a) [0x7fc39e943d3a]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #8. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92d95) [0x7fc39e943d95]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #9. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92fe8) [0x7fc39e943fe8]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #10. /usr/sbin/kopano-gateway(+0x11b0f) [0x5556e731fb0f]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #11. /usr/sbin/kopano-gateway(+0x2e94c) [0x5556e733c94c]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #12. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xb4e4f) [0x7fc397dcee4f]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #13. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xb84ae) [0x7fc397dd24ae]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #14. /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7fc39effd6db]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: #15. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fc39e3c988f]
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Signal errno: Success, signal code: -6
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Sender pid: 817, sender uid: 999, si_status: 0
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: Signal value: 0, faulting address: 0x3e700000331
Aug 28 14:38:56 <name_of_server> kopano-gateway[817]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.

it seems the crash happened again:

Oct 18 09:35:58 mailserver kopano-gateway[827]:   what():  network error
Oct 18 09:35:58 mailserver kopano-gateway[827]: ----------------------------------------------------------------------
Oct 18 09:35:58 mailserver kopano-gateway[827]: Fatal error detected. Please report all following information.
Oct 18 09:35:58 mailserver kopano-gateway[827]: Application kopano-gateway version: 8.6.81
Oct 18 09:35:58 mailserver kopano-gateway[827]: OS: Linux, release: 4.15.0-36-generic, version: #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018, hardware: x86_64
Oct 18 09:35:58 mailserver kopano-gateway[827]: Thread name: NotifyThread
Oct 18 09:35:58 mailserver kopano-gateway[827]: Peak RSS: 272256
Oct 18 09:35:58 mailserver kopano-gateway[827]: Pid 827 caught SIGABRT (6), out of memory or unhandled exception, traceback:
Oct 18 09:35:58 mailserver kopano-gateway[827]: Backtrace:
Oct 18 09:35:58 mailserver kopano-gateway[827]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x45a90) [0x7fca06a8fa90]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x34f2d) [0x7fca06a7ef2d]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x19f) [0x7fca06a7f1df]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fca0683d890]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fca05b20e97]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fca05b22801]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #6. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c8b7) [0x7fca061778b7]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #7. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92a06) [0x7fca0617da06]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #8. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92a41) [0x7fca0617da41]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #9. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92c74) [0x7fca0617dc74]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #10. /usr/sbin/kopano-gateway(+0x11b0f) [0x55a95e339b0f]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #11. /usr/sbin/kopano-gateway(+0x2e94c) [0x55a95e35694c]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #12. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xb4e4f) [0x7fc9ff608e4f]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #13. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xb84ae) [0x7fc9ff60c4ae]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #14. /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7fca068326db]
Oct 18 09:35:58 mailserver kopano-gateway[827]: #15. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fca05c0388f]
Oct 18 09:35:58 mailserver kopano-gateway[827]: Signal errno: Success, signal code: -6
Oct 18 09:35:58 mailserver kopano-gateway[827]: Sender pid: 827, sender uid: 999, si_status: 0
Oct 18 09:35:58 mailserver kopano-gateway[827]: Signal value: 0, faulting address: 0x3e70000033b
Oct 18 09:35:58 mailserver kopano-gateway[827]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.

Hi it crashed again for me. @fbartels can you please take a look at it? Is that a known bug, that is probably fixed in a more recent version?

Nov 22 10:59:05 mailserver kopano-gateway[855]: terminate called after throwing an instance of 'KC::KMAPIError'
Nov 22 10:59:05 mailserver kopano-gateway[855]:   what():  network error
Nov 22 10:59:05 mailserver kopano-gateway[855]: ----------------------------------------------------------------------
Nov 22 10:59:05 mailserver kopano-gateway[855]: Fatal error detected. Please report all following information.
Nov 22 10:59:05 mailserver kopano-gateway[855]: Application kopano-gateway version: 8.6.81
Nov 22 10:59:05 mailserver kopano-gateway[855]: OS: Linux, release: 4.15.0-39-generic, version: #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018, hardware: x86_64
Nov 22 10:59:05 mailserver kopano-gateway[855]: Thread name: NotifyThread
Nov 22 10:59:05 mailserver kopano-gateway[855]: Peak RSS: 446208
Nov 22 10:59:05 mailserver kopano-gateway[855]: Pid 855 caught SIGABRT (6), out of memory or unhandled exception, traceback:
Nov 22 10:59:05 mailserver kopano-gateway[855]: Backtrace:
Nov 22 10:59:05 mailserver kopano-gateway[855]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x45a90) [0x7f7c5687ca90]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x34f2d) [0x7f7c5686bf2d]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x19f) [0x7f7c5686c1df]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f7c5662a890]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f7c5590de97]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f7c5590f801]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #6. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c8b7) [0x7f7c55f648b7]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #7. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92a06) [0x7f7c55f6aa06]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #8. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92a41) [0x7f7c55f6aa41]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #9. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92c74) [0x7f7c55f6ac74]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #10. /usr/sbin/kopano-gateway(+0x11b0f) [0x562108ab3b0f]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #11. /usr/sbin/kopano-gateway(+0x2e94c) [0x562108ad094c]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #12. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xb4e4f) [0x7f7c4f3f5e4f]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #13. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xb84ae) [0x7f7c4f3f94ae]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #14. /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f7c5661f6db]
Nov 22 10:59:05 mailserver kopano-gateway[855]: #15. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f7c559f088f]
Nov 22 10:59:05 mailserver kopano-gateway[855]: Signal errno: Success, signal code: -6
Nov 22 10:59:05 mailserver kopano-gateway[855]: Sender pid: 855, sender uid: 999, si_status: 0
Nov 22 10:59:05 mailserver kopano-gateway[855]: Signal value: 0, faulting address: 0x3e700000357
Nov 22 10:59:05 mailserver kopano-gateway[855]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.

Of course you should always get the latest version of the particular branch. The packages are not for looking at like in an art gallery, they are there to be installed.