It's taking ages, but it's running, should be wrinting 2GB index, almost arrived at 1.5MB...maybe before monday morning...:
sonicle@wwwclone:/sonicle/var/spool/imap/domain/sonicle.com/user/test^big$ valgrind --leak-check=full squatter -v -i -s -a -r user/test.big@xxxxxxxxxxx
==17293== Memcheck, a memory error detector
==17293== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==17293== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==17293== Command: squatter -v -i -s -a -r user/test.big@xxxxxxxxxxx
==17293==
==17293== Warning: invalid file descriptor -1 in syscall fstat()
==17293== Warning: invalid file descriptor -1 in syscall fstat()
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFCCFB6D: config_read (in /sonicle/lib/amd64/libcyrus_min.so.0.0.0)
==17293== by 0xFFFD46558: cyrus_init (in /sonicle/lib/amd64/libcyrus_imap.so.0.0.0)
==17293== by 0x4054D4: main (squatter.c:706)
==17293== Address 0x57fed650 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFCCF8AC: config_read (in /sonicle/lib/amd64/libcyrus_min.so.0.0.0)
==17293== by 0xFFFD46558: cyrus_init (in /sonicle/lib/amd64/libcyrus_imap.so.0.0.0)
==17293== by 0x4054D4: main (squatter.c:706)
==17293== Address 0x57fed650 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFCCF1C9: config_read (in /sonicle/lib/amd64/libcyrus_min.so.0.0.0)
==17293== by 0xFFFD46558: cyrus_init (in /sonicle/lib/amd64/libcyrus_imap.so.0.0.0)
==17293== by 0x4054D4: main (squatter.c:706)
==17293== Address 0x57fed650 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0x4054E8: main (squatter.c:708)
==17293== Address 0x57fee700 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0x4052F2: index_me (squatter.c:631)
==17293== by 0x4056ED: main (squatter.c:746)
==17293== Address 0x57fede00 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
Indexing mailbox user/test.big@xxxxxxxxxxx... Doing incremental for mailbox sonicle.com!user.test^big...
==17293== Memcheck, a memory error detector
==17293== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==17293== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==17293== Command: squatter -v -i -s -a -r user/test.big@xxxxxxxxxxx
==17293==
==17293== Warning: invalid file descriptor -1 in syscall fstat()
==17293== Warning: invalid file descriptor -1 in syscall fstat()
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFCCFB6D: config_read (in /sonicle/lib/amd64/libcyrus_min.so.0.0.0)
==17293== by 0xFFFD46558: cyrus_init (in /sonicle/lib/amd64/libcyrus_imap.so.0.0.0)
==17293== by 0x4054D4: main (squatter.c:706)
==17293== Address 0x57fed650 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFCCF8AC: config_read (in /sonicle/lib/amd64/libcyrus_min.so.0.0.0)
==17293== by 0xFFFD46558: cyrus_init (in /sonicle/lib/amd64/libcyrus_imap.so.0.0.0)
==17293== by 0x4054D4: main (squatter.c:706)
==17293== Address 0x57fed650 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFCCF1C9: config_read (in /sonicle/lib/amd64/libcyrus_min.so.0.0.0)
==17293== by 0xFFFD46558: cyrus_init (in /sonicle/lib/amd64/libcyrus_imap.so.0.0.0)
==17293== by 0x4054D4: main (squatter.c:706)
==17293== Address 0x57fed650 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0x4054E8: main (squatter.c:708)
==17293== Address 0x57fee700 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
==17293== Syscall param putmsg(ctrlptr->buf) points to uninitialised byte(s)
==17293== at 0xFFFEDD57A: __putmsg (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76AEA: vsyslog (in /lib/amd64/libc.so.1)
==17293== by 0xFFFE76702: syslog (in /lib/amd64/libc.so.1)
==17293== by 0x4052F2: index_me (squatter.c:631)
==17293== by 0x4056ED: main (squatter.c:746)
==17293== Address 0x57fede00 is on thread 1's stack
==17293== in frame #1, created by vsyslog (???:)
==17293==
Indexing mailbox user/test.big@xxxxxxxxxxx... Doing incremental for mailbox sonicle.com!user.test^big...
Sonicle S.r.l. : http://www.sonicle.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
Da: Robert Stepanek <rsto@xxxxxxxxxxxxxxxx>
A: Gabriele Bulfon via Info <info@xxxxxxxxxxxxxxxxxx>
Data: 7 maggio 2021 17.45.19 CEST
Oggetto: Re: Squatter core dump
On Fri, May 7, 2021, at 5:31 PM, Gabriele Bulfon via Info wrote:Never did, it's our illumos distro, but I may have valgrind.Can you help on this?Just running "valgrind --leak-check=full <path-to-squatter> <your-args>" should do the trick.Cheers,Robert