Re: Squatter core dump

"Gabriele Bulfon via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <985786353.1058.1620420123667@www>
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/[email protected]
==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/[email protected]
==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/[email protected]... Doing incremental for mailbox sonicle.com!user.test^big...
 
 
Sonicle S.r.l. : http://www.sonicle.com
Music: http://www.gabrielebulfon.com
eXoplanets : https://gabrielebulfon.bandcamp.com/album/exoplanets
 

 


Da: Robert Stepanek <[email protected]>
A: Gabriele Bulfon via Info <[email protected]>
Data: 7 maggio 2021 17.45.19 CEST
Oggetto: Re: Squatter core dump



p.MsoNormal,p.MsoNoSpacing{margin:0}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
Cyrus / Info / see discussions + participants + delivery options Permalink

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T290da80a662e5a08-M6f22bb444a3f950f15680c06
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.