This seems to be a problem with xapian fts plugin, perhaps you should open issue there?
Aki On 26.3.2019 10.15, Odhiambo Washington via dovecot wrote: > FreeBSD-12 > Dovecot-2.3.5 > > I am having problems with one use > > Mar 25 21:30:12 imap([email protected] > <mailto:[email protected]>)<91364><U7qCZO+ECfCaRh6E>: Fatal: > master: service(imap): child 91364 killed with signal 6 (core dumped) > Mar 25 21:30:14 imap([email protected] > <mailto:[email protected]>)<2381><moHYZO+EDvCaRh6E>: Fatal: > master: service(imap): child 2381 killed with signal 6 (core dumped) > Mar 26 06:29:26 imap([email protected] > <mailto:[email protected]>)<7644><0aVP7faEI/GaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:26 imap([email protected] > <mailto:[email protected]>)<8806><valP7faEJPGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:26 imap([email protected] > <mailto:[email protected]>)<8493><zKhP7faEIvGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:26 imap([email protected] > <mailto:[email protected]>)<9412><2qtP7faEIfGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:28 imap([email protected] > <mailto:[email protected]>)<7644><0aVP7faEI/GaTGQE>: Fatal: > master: service(imap): child 7644 killed with signal 6 (core dumped) > Mar 26 06:29:29 imap([email protected] > <mailto:[email protected]>)<10764><7sW+7faEJvGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:31 imap([email protected] > <mailto:[email protected]>)<8806><valP7faEJPGaTGQE>: Fatal: > master: service(imap): child 8806 killed with signal 6 (core dumped) > Mar 26 06:29:33 imap([email protected] > <mailto:[email protected]>)<8493><zKhP7faEIvGaTGQE>: Fatal: > master: service(imap): child 8493 killed with signal 6 (core dumped) > Mar 26 06:29:36 imap([email protected] > <mailto:[email protected]>)<9412><2qtP7faEIfGaTGQE>: Fatal: > master: service(imap): child 9412 killed with signal 6 (core dumped) > Mar 26 06:29:38 imap([email protected] > <mailto:[email protected]>)<10764><7sW+7faEJvGaTGQE>: Fatal: > master: service(imap): child 10764 killed with signal 6 (core dumped) > Mar 26 06:29:57 imap([email protected] > <mailto:[email protected]>)<13285><JhMO7vaEKfGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:57 imap([email protected] > <mailto:[email protected]>)<19736><UQMD7/aELfGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:57 imap([email protected] > <mailto:[email protected]>)<22060><athw7/aEL/GaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:29:57 imap([email protected] > <mailto:[email protected]>)<21367><Prhw7/aELvGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:30:00 imap([email protected] > <mailto:[email protected]>)<13285><JhMO7vaEKfGaTGQE>: Fatal: > master: service(imap): child 13285 killed with signal 6 (core dumped) > Mar 26 06:30:00 imap([email protected] > <mailto:[email protected]>)<49026><FCSb7/aEMPGaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 06:30:02 imap([email protected] > <mailto:[email protected]>)<19736><UQMD7/aELfGaTGQE>: Fatal: > master: service(imap): child 19736 killed with signal 6 (core dumped) > Mar 26 06:30:05 imap([email protected] > <mailto:[email protected]>)<22060><athw7/aEL/GaTGQE>: Fatal: > master: service(imap): child 22060 killed with signal 6 (core dumped) > Mar 26 06:30:07 imap([email protected] > <mailto:[email protected]>)<21367><Prhw7/aELvGaTGQE>: Fatal: > master: service(imap): child 21367 killed with signal 6 (core dumped) > Mar 26 06:30:10 imap([email protected] > <mailto:[email protected]>)<49026><FCSb7/aEMPGaTGQE>: Fatal: > master: service(imap): child 49026 killed with signal 6 (core dumped) > Mar 26 07:59:40 imap([email protected] > <mailto:[email protected]>)<27221><06UEMPiESPKaRh6E>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 07:59:40 imap([email protected] > <mailto:[email protected]>)<28883><fssEMPiESvKaRh6E>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 07:59:40 imap([email protected] > <mailto:[email protected]>)<29823><28oEMPiESfKaRh6E>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 07:59:40 imap([email protected] > <mailto:[email protected]>)<27530><04UEMPiER/KaRh6E>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 07:59:42 imap([email protected] > <mailto:[email protected]>)<27221><06UEMPiESPKaRh6E>: Fatal: > master: service(imap): child 27221 killed with signal 6 (core dumped) > Mar 26 07:59:42 imap([email protected] > <mailto:[email protected]>)<30775><w9tqMPiETPKaRh6E>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 07:59:45 imap([email protected] > <mailto:[email protected]>)<28883><fssEMPiESvKaRh6E>: Fatal: > master: service(imap): child 28883 killed with signal 6 (core dumped) > Mar 26 07:59:47 imap([email protected] > <mailto:[email protected]>)<29823><28oEMPiESfKaRh6E>: Fatal: > master: service(imap): child 29823 killed with signal 6 (core dumped) > Mar 26 07:59:50 imap([email protected] > <mailto:[email protected]>)<27530><04UEMPiER/KaRh6E>: Fatal: > master: service(imap): child 27530 killed with signal 6 (core dumped) > Mar 26 07:59:52 imap([email protected] > <mailto:[email protected]>)<30775><w9tqMPiETPKaRh6E>: Fatal: > master: service(imap): child 30775 killed with signal 6 (core dumped) > Mar 26 08:45:40 imap([email protected] > <mailto:[email protected]>)<83330><VtGH1PiEr/KaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:45:40 imap([email protected] > <mailto:[email protected]>)<84059><lhKI1PiEsPKaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:45:40 imap([email protected] > <mailto:[email protected]>)<84406><kRaI1PiEsfKaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:45:40 imap([email protected] > <mailto:[email protected]>)<84458><CzKI1PiErvKaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:45:42 imap([email protected] > <mailto:[email protected]>)<83330><VtGH1PiEr/KaTGQE>: Fatal: > master: service(imap): child 83330 killed with signal 6 (core dumped) > Mar 26 08:45:45 imap([email protected] > <mailto:[email protected]>)<84059><lhKI1PiEsPKaTGQE>: Fatal: > master: service(imap): child 84059 killed with signal 6 (core dumped) > Mar 26 08:45:47 imap([email protected] > <mailto:[email protected]>)<84406><kRaI1PiEsfKaTGQE>: Fatal: > master: service(imap): child 84406 killed with signal 6 (core dumped) > Mar 26 08:45:50 imap([email protected] > <mailto:[email protected]>)<84458><CzKI1PiErvKaTGQE>: Fatal: > master: service(imap): child 84458 killed with signal 6 (core dumped) > Mar 26 08:54:55 imap([email protected] > <mailto:[email protected]>)<88519><2qiO9fiE0fKaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:54:56 imap([email protected] > <mailto:[email protected]>)<90725><ZhDq9fiE0vKaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:54:56 imap([email protected] > <mailto:[email protected]>)<91408><oA/q9fiE0/KaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:54:56 imap([email protected] > <mailto:[email protected]>)<90661><kc3p9fiE1PKaTGQE>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 08:54:58 imap([email protected] > <mailto:[email protected]>)<88519><2qiO9fiE0fKaTGQE>: Fatal: > master: service(imap): child 88519 killed with signal 6 (core dumped) > Mar 26 08:55:01 imap([email protected] > <mailto:[email protected]>)<90725><ZhDq9fiE0vKaTGQE>: Fatal: > master: service(imap): child 90725 killed with signal 6 (core dumped) > Mar 26 08:55:03 imap([email protected] > <mailto:[email protected]>)<91408><oA/q9fiE0/KaTGQE>: Fatal: > master: service(imap): child 91408 killed with signal 6 (core dumped) > Mar 26 08:55:06 imap([email protected] > <mailto:[email protected]>)<90661><kc3p9fiE1PKaTGQE>: Fatal: > master: service(imap): child 90661 killed with signal 6 (core dumped) > Mar 26 09:26:06 imap([email protected] > <mailto:[email protected]>)<45868><K+R8ZPmEJfMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 09:26:06 imap([email protected] > <mailto:[email protected]>)<46114><WfR8ZPmEJPMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 09:26:06 imap([email protected] > <mailto:[email protected]>)<47667><lCR9ZPmEJ/MpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 09:26:06 imap([email protected] > <mailto:[email protected]>)<46900><fAx9ZPmEJvMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 09:26:08 imap([email protected] > <mailto:[email protected]>)<45868><K+R8ZPmEJfMpOWd5>: Fatal: > master: service(imap): child 45868 killed with signal 6 (core dumped) > Mar 26 09:26:08 imap([email protected] > <mailto:[email protected]>)<50503><zz+LZfmEKPMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 09:26:11 imap([email protected] > <mailto:[email protected]>)<46114><WfR8ZPmEJPMpOWd5>: Fatal: > master: service(imap): child 46114 killed with signal 6 (core dumped) > Mar 26 09:26:15 imap([email protected] > <mailto:[email protected]>)<47667><lCR9ZPmEJ/MpOWd5>: Fatal: > master: service(imap): child 47667 killed with signal 6 (core dumped) > Mar 26 09:26:17 imap([email protected] > <mailto:[email protected]>)<46900><fAx9ZPmEJvMpOWd5>: Fatal: > master: service(imap): child 46900 killed with signal 6 (core dumped) > Mar 26 09:26:20 imap([email protected] > <mailto:[email protected]>)<50503><zz+LZfmEKPMpOWd5>: Fatal: > master: service(imap): child 50503 killed with signal 6 (core dumped) > Mar 26 09:42:18 imap([email protected] > <mailto:[email protected]>)<52237><7dJjnfmEJtPFt2RO>: Error: > Mailbox Sent: Saving mail: read(<imap client>) failed: read(size=7224) > failed: Connection reset by peer (read reason=) > Mar 26 10:13:18 imap([email protected] > <mailto:[email protected]>)<81127><JxMuDvqEd/MpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 10:13:18 imap([email protected] > <mailto:[email protected]>)<81432><QRMuDvqEePMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 10:13:18 imap([email protected] > <mailto:[email protected]>)<79708><LBMuDvqEdvMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 10:13:18 imap([email protected] > <mailto:[email protected]>)<78811><IxMuDvqEefMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 10:13:20 imap([email protected] > <mailto:[email protected]>)<81127><JxMuDvqEd/MpOWd5>: Fatal: > master: service(imap): child 81127 killed with signal 6 (core dumped) > Mar 26 10:13:21 imap([email protected] > <mailto:[email protected]>)<84406><wIVfDvqEevMpOWd5>: Panic: file > mempool-system.c: line 137 (pool_system_realloc): assertion failed: > (old_size == (size_t)-1 || mem == NULL || old_size <= > malloc_usable_size(mem)) > Mar 26 10:13:23 imap([email protected] > <mailto:[email protected]>)<81432><QRMuDvqEePMpOWd5>: Fatal: > master: service(imap): child 81432 killed with signal 6 (core dumped) > Mar 26 10:13:25 imap([email protected] > <mailto:[email protected]>)<79708><LBMuDvqEdvMpOWd5>: Fatal: > master: service(imap): child 79708 killed with signal 6 (core dumped) > Mar 26 10:13:28 imap([email protected] > <mailto:[email protected]>)<78811><IxMuDvqEefMpOWd5>: Fatal: > master: service(imap): child 78811 killed with signal 6 (core dumped) > Mar 26 10:13:30 imap([email protected] > <mailto:[email protected]>)<84406><wIVfDvqEevMpOWd5>: Fatal: > master: service(imap): child 84406 killed with signal 6 (core dumped) > > I have a coredump, but I don't see any relation so far: > > > root@gw:/tmp/corefiles # gdb /usr/local/libexec/dovecot/imap imap.core > GNU gdb (GDB) 8.2.1 [GDB v8.2.1 for FreeBSD] > Copyright (C) 2018 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "x86_64-portbld-freebsd12.0". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>. > Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from /usr/local/libexec/dovecot/imap...(no debugging > symbols found)...done. > [New LWP 101447] > Core was generated by `dovecot/imap'. > Program terminated with signal SIGABRT, Aborted. > #0 0x000000008153145a in thr_kill () from /lib/libc.so.7 > (gdb) bt full > #0 0x000000008153145a in thr_kill () from /lib/libc.so.7 > No symbol table info available. > #1 0x000000008152f844 in raise () from /lib/libc.so.7 > No symbol table info available. > #2 0x00000000814a2079 in abort () from /lib/libc.so.7 > No symbol table info available. > #3 0x00000000813257f7 in ?? () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #4 0x0000000081324000 in ?? () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #5 0x0000000081324d81 in ?? () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #6 0x0000000081324200 in i_panic () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #7 0x0000000081349fcf in ?? () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #8 0x0000000081ec2fc2 in XQuerySet::add_term (this=0x7fffffffe3e0, > s=0x817892e0 "[email protected] > <mailto:[email protected]>") at > ./fts-backend-xapian-functions.cpp:151 > l = <optimized out> > i = <optimized out> > pos = <optimized out> > #9 0x0000000081ec2c22 in XQuerySet::add (this=0x7fffffffe3e0, > t=<optimized out>, s=<optimized out>) at > ./fts-backend-xapian-functions.cpp:254 > tmp1 = "body" > tmp2 = "[email protected] <mailto:[email protected]>" > t2 = <optimized out> > s2 = 0x817892e0 "[email protected] > <mailto:[email protected]>" > i = <optimized out> > #10 0x0000000081ec24fb in XQuerySet::add (this=0x7fffffffe3e0, > type=<optimized out>, s=<optimized out>) at > ./fts-backend-xapian-functions.cpp:182 > sp = {<icu::UMemory> = {<No data fields>}, ptr_ = 0x81eb8591 > "body", length_ = 4, static npos = 2147483647} > t = {<icu::Replaceable> = {<icu::UObject> = {<icu::UMemory> = > {<No data fields>}, _vptr$UObject = 0x822c3bc0 <vtable for > icu::UnicodeString+16>}, <No data fields>}, fUnion = {fStackFields = > {fLengthAndFlags = 130, > fBuffer = u<error reading variable>}, fFields = > {fLengthAndFlags = 130, fLength = 6553711, fCapacity = 121, fArray = > 0x7fffffffe270 u<error reading variable>}}} > s2 = <optimized out> > sp2 = <optimized out> > #11 0x0000000081ec0667 in fts_backend_xapian_lookup > (_backend=<optimized out>, box=<optimized out>, args=0x81e35110, > flags=<optimized out>, result=0x7fffffffe550) at > fts-backend-xapian.cpp:470 > a = <optimized out> > backend = <optimized out> > tp = {tv_sec = 1553584401, tv_usec = 717885} > is_and = <error reading variable is_and (Cannot access memory > at address 0x1)> > hdr = <optimized out> > i = <optimized out> > r = <optimized out> > n = <optimized out> > uid = <optimized out> > dt = <optimized out> > qs = <optimized out> > #12 0x0000000081ea5bf4 in fts_backend_lookup () from > /usr/local/lib/dovecot/lib20_fts_plugin.so > No symbol table info available. > #13 0x0000000081eaa782 in ?? () from > /usr/local/lib/dovecot/lib20_fts_plugin.so > No symbol table info available. > #14 0x0000000081eaa5d0 in fts_search_lookup () from > /usr/local/lib/dovecot/lib20_fts_plugin.so > No symbol table info available. > #15 0x0000000081eace94 in ?? () from > /usr/local/lib/dovecot/lib20_fts_plugin.so > No symbol table info available. > #16 0x000000000104fa47 in imap_search_start () > No symbol table info available. > #17 0x0000000001040441 in cmd_search () > No symbol table info available. > #18 0x00000000010486bd in command_exec () > No symbol table info available. > #19 0x000000000104730a in ?? () > No symbol table info available. > #20 0x0000000001045ed7 in client_handle_input () > No symbol table info available. > #21 0x00000000010446c8 in client_input () > No symbol table info available. > #22 0x000000008133ebbf in io_loop_call_io () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #23 0x00000000813411ed in io_loop_handler_run_internal () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #24 0x000000008133f22e in io_loop_handler_run () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > --Type <RET> for more, q to quit, c to continue without paging-- > #25 0x000000008133ef98 in io_loop_run () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #26 0x00000000812b2e08 in master_service_run () from > /usr/local/lib/dovecot/libdovecot.so.0 > No symbol table info available. > #27 0x00000000010558a7 in main () > No symbol table info available. > (gdb) > > > > > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft.", grep ^[^#] :-)
