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

    kopano-search enters failed state 6/ABRT

    Kopano Groupware Core
    2
    3
    155
    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.
    • irreleph4nt
      irreleph4nt last edited by irreleph4nt

      Hi,

      I am on 8.7.84 compiled from source for CentOS 8. I can’t get kopano-search to work, which is a bit annoying because this way I can’t type a person’s name in the To field - no results are return no matter what I try.

      What happens is this:

      1. I start kopano-server
      2. I start kopano-search
      3. kopano-search logs this:
      2019-10-18 15:58:49,728 - search - INFO - starting search
      2019-10-18 15:58:49,799 - search - INFO - starting initial sync
      

      and then dumps this:

      Okt 18 15:58:50 mx2.domain.tld systemd-coredump[22345]: Process 22338 (kopano-search) of user 0 dumped core.
      
                                                            Stack trace of thread 22338:
                                                            #0  0x00007fa6593fa93f raise (libc.so.6)
                                                            #1  0x00007fa6593e4c95 abort (libc.so.6)
                                                            #2  0x00007fa64c49fda5 _ZN23ECExchangeExportChanges6ConfigEP7IStreamjP8IUnknownP12SRestrictionP13SPropTagArrayS7_j (libkcclient.so)
                                                            #3  0x00007fa6539b7d7c _wrap_IExchangeExportChanges_Config (_MAPICore.so)
                                                            #4  0x00007fa65a2a2332 _PyCFunction_FastCallDict (libpython3.6m.so.1.0)
                                                            #5  0x00007fa65a2a283d call_function (libpython3.6m.so.1.0)
                                                            #6  0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #7  0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #8  0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #9  0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #10 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #11 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #12 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #13 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #14 0x00007fa65a2b0867 PyEval_EvalCodeEx (libpython3.6m.so.1.0)
                                                            #15 0x00007fa65a2b17b3 function_call (libpython3.6m.so.1.0)
                                                            #16 0x00007fa65a2343b3 PyObject_Call (libpython3.6m.so.1.0)
                                                            #17 0x00007fa65a24b25e property_descr_get (libpython3.6m.so.1.0)
                                                            #18 0x00007fa65a237bbd _PyObject_GenericGetAttrWithDict (libpython3.6m.so.1.0)
                                                            #19 0x00007fa65a2dabae _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #20 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #21 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #22 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #23 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #24 0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #25 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #26 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #27 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #28 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #29 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #30 0x00007fa65a2dba8c _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #31 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #32 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #33 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #34 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #35 0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #36 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #37 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #38 0x00007fa65a2b0867 PyEval_EvalCodeEx (libpython3.6m.so.1.0)
                                                            #39 0x00007fa65a2b174b PyEval_EvalCode (libpython3.6m.so.1.0)
                                                            #40 0x00007fa65a34a372 run_mod (libpython3.6m.so.1.0)
                                                            #41 0x00007fa65a34b84a PyRun_FileExFlags (libpython3.6m.so.1.0)
                                                            #42 0x00007fa65a34e978 PyRun_SimpleFileExFlags (libpython3.6m.so.1.0)
                                                            #43 0x00007fa65a34fa6b Py_Main (libpython3.6m.so.1.0)
                                                            #44 0x000055b63cceac68 main (platform-python3.6)
                                                            #45 0x00007fa6593e6813 __libc_start_main (libc.so.6)
                                                            #46 0x000055b63cceadde _start (platform-python3.6)
                                                            #31 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #32 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #33 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #34 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #35 0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #36 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #37 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #38 0x00007fa65a2b0867 PyEval_EvalCodeEx (libpython3.6m.so.1.0)
                                                            #39 0x00007fa65a2b174b PyEval_EvalCode (libpython3.6m.so.1.0)
                                                            #40 0x00007fa65a34a372 run_mod (libpython3.6m.so.1.0)
                                                            #41 0x00007fa65a34b84a PyRun_FileExFlags (libpython3.6m.so.1.0)
                                                            #42 0x00007fa65a34e978 PyRun_SimpleFileExFlags (libpython3.6m.so.1.0)
                                                            #43 0x00007fa65a34fa6b Py_Main (libpython3.6m.so.1.0)
                                                            #44 0x000055b63cceac68 main (platform-python3.6)
                                                            #45 0x00007fa6593e6813 __libc_start_main (libc.so.6)
                                                            #46 0x000055b63cceadde _start (platform-python3.6)
      
                                                            Stack trace of thread 22341:
                                                            #0  0x00007fa6594b47e1 __poll (libc.so.6)
                                                            #1  0x00007fa65811aff3 poll_poll (select.cpython-36m-x86_64-linux-gnu.so)
                                                            #2  0x00007fa65a2a2332 _PyCFunction_FastCallDict (libpython3.6m.so.1.0)
                                                            #3  0x00007fa65a2a283d call_function (libpython3.6m.so.1.0)
                                                            #4  0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #5  0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #6  0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #7  0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #8  0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #9  0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #10 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #11 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #12 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #13 0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #14 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #15 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #16 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #17 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #18 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #19 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #20 0x00007fa65a23251b _PyEval_EvalCodeWithName (libpython3.6m.so.1.0)
                                                            #21 0x00007fa65a2688f0 fast_function (libpython3.6m.so.1.0)
                                                            #22 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #23 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #24 0x00007fa65a23363a _PyFunction_FastCallDict (libpython3.6m.so.1.0)
                                                            #25 0x00007fa65a233fde _PyObject_FastCallDict (libpython3.6m.so.1.0)
                                                            #26 0x00007fa65a23f9e0 _PyObject_Call_Prepend (libpython3.6m.so.1.0)
                                                            #27 0x00007fa65a2343b3 PyObject_Call (libpython3.6m.so.1.0)
                                                            #28 0x00007fa65a2dc571 _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #29 0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #30 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #31 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #32 0x00007fa65a26873a fast_function (libpython3.6m.so.1.0)
                                                            #33 0x00007fa65a2a2922 call_function (libpython3.6m.so.1.0)
                                                            #34 0x00007fa65a2dab1a _PyEval_EvalFrameDefault (libpython3.6m.so.1.0)
                                                            #35 0x00007fa65a23363a _PyFunction_FastCallDict (libpython3.6m.so.1.0)
                                                            #36 0x00007fa65a233fde _PyObject_FastCallDict (libpython3.6m.so.1.0)
                                                            #37 0x00007fa65a23f9e0 _PyObject_Call_Prepend (libpython3.6m.so.1.0)
                                                            #38 0x00007fa65a2343b3 PyObject_Call (libpython3.6m.so.1.0)
                                                            #39 0x00007fa65a34f2f2 t_bootstrap (libpython3.6m.so.1.0)
                                                            #40 0x00007fa65a2fd2c4 pythread_wrapper (libpython3.6m.so.1.0)
                                                            #41 0x00007fa659f192de start_thread (libpthread.so.0)
                                                            #42 0x00007fa6594bfa63 __clone (libc.so.6)
      
      1. systemctl status kopano-search returns this:
      [root@mx2 sbin]# systemctl status kopano-search
      ● kopano-search.service - Kopano Groupware Core Search Daemon
         Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; enabled; vendor preset: disabled)
         Active: failed (Result: core-dump) since Fri 2019-10-18 15:58:23 CEST; 10min ago
           Docs: man:kopano-search(8)
                 man:kopano-search.cfg(5)
        Process: 22298 ExecStart=/usr/sbin/kopano-search (code=dumped, signal=ABRT)
       Main PID: 22298 (code=dumped, signal=ABRT)
      
      Okt 18 15:58:23 mx2.domain.tld systemd[1]: Started Kopano Groupware Core Search Daemon.
      Okt 18 15:58:23 mx2.domain.tld systemd[1]: kopano-search.service: Main process exited, code=dumped, status=6/ABRT
      Okt 18 15:58:23 mx2.domain.tld systemd[1]: kopano-search.service: Failed with result 'core-dump'.
      
      1. trying to start the binary directly via calling /usr/sbin/kopano-search outputs this:
      [root@mx2 sbin]# kopano-search
      /usr/include/c++/8/bits/basic_string.h:1058: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed.
      Abgebrochen (Speicherabzug geschrieben)
      

      I am not a C / Cpp developer so I am having a hard time debugging this. :/

      Any help you can provide is appreciated. Thank you.

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

        As an update, kopano-admin suffers from the same issue it seems. Something is amiss in the instructions to compile kopano from source it seems, regarding requirements. Or a coding mistake maybe?

        [root@mx2 tmp]# kopano-admin
        Usage:
        kopano-admin [action] [options]
        
        Actions: [-s] | [[-c|-u|-d|-b|-B|--details] username] | [[-g|-G] groupname] | [-l|-L]
        	-s				Create public store.	
        	--sync				Synchronize users and groups with external source.	
        	--clear-cache			Clear all caches in the server.	
        	--purge-softdelete N		Purge items in marked as softdeleted that are older than N days.	
        	--purge-deferred		Purge all items in the deferred update table.	
        	-l				List users. Use -I to list users of a specific company, if applicable.	
        	-L				List groups. Use -I to list groups of a specific company, if applicable.	
        	--list-sendas name		List all users who are allowed to send-as 'name'. Use --type to indicate the object type.	
        	--list-companies		List all companies.	
        	--list-view			List all companies in the remote-view list.	
        	--list-admin			List all users in the remote-admin list.	
        	--list-userquota-recipients	List all additional recipients for a userquota warning email.	
        	--list-companyquota-recipients	List all additional recipients for a companyquota warning email.	
        	--details			Show object details, use --type to indicate the object type.	
        	--type type			Set object type for --details. Values can be "user", "group" or "company".	
        /usr/include/c++/8/bits/stl_vector.h:932: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>; std::vector<_Tp, _Alloc>::reference = long unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
        Abgebrochen (Speicherabzug geschrieben)```
        1 Reply Last reply Reply Quote 0
        • jengelh
          jengelh Banned last edited by

          I cannot trigger this. Did you, at any stage, combine g++ 8.2 with 8.3 objects? (There is a known issue related to that.)

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