[Dovecot] dovecot 1.0beta7 dying on me
Hi, Dovecot 1.0 beta7 is dying on me. My logfile shows:
May 10 15:54:28 hermes dovecot: IMAP(alden): UIDs broken with partial sync in mbox file /var/mail/alden May 10 15:54:28 hermes dovecot: IMAP(alden): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size) May 10 15:54:28 hermes dovecot: child 14185 (imap) killed with signal 6
I'm running this on a RHEL 3U7 system. I created a core file, but it doesn't look like it's too helpful (I've attached the gdb output to this message). I tried recompiling with "--enable-debug", but I got:
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function sha1_result': : multiple definition of
sha1_result'
../lib/liblib.a(sha1.o)(.text+0x7f4):/scratch/dovecot-1.0.beta7/src/lib/sha1.c:233: first defined here
/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in ../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o)
collect2: ld returned 1 exit status
Help?
...dave
-- Dave Alden The Ohio State University Department of Mathematics
On Wednesday 10 May 2006 23:26, Dave Alden wrote:
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function
sha1_result': : multiple definition of
sha1_result'../lib/liblib.a(sha1.o)(.text+0x7f4):/scratch/dovecot-1.0.beta7/src/l ib/sha1.c:233: first defined here /usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in ../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o) collect2: ld returned 1 exit status
Help?
I got the same compile error yesterday on Mac OS X (10.3) and MySQL 5, but without debug. Was going to ask about this anyway.
Rainer
Software Development
Inxmail GmbH Kaiser-Joseph-Str. 274, 79098 Freiburg, Germany
On Thu, 2006-05-11 at 08:52 +0200, Rainer Frey wrote:
On Wednesday 10 May 2006 23:26, Dave Alden wrote:
/usr/lib/mysql/libmysqlclient.a(sha1.o)(.text+0x60): In function
sha1_result': : multiple definition of
sha1_result'../lib/liblib.a(sha1.o)(.text+0x7f4):/scratch/dovecot-1.0.beta7/src/l ib/sha1.c:233: first defined here /usr/bin/ld: Warning: size of symbol `sha1_result' changed from 158 in ../lib/liblib.a(sha1.o) to 126 in ../lib/liblib.a(sha1.o) collect2: ld returned 1 exit status
Help?
I got the same compile error yesterday on Mac OS X (10.3) and MySQL 5, but without debug. Was going to ask about this anyway.
On Wed, 2006-05-10 at 17:26 -0400, Dave Alden wrote:
Hi, Dovecot 1.0 beta7 is dying on me. My logfile shows:
May 10 15:54:28 hermes dovecot: IMAP(alden): UIDs broken with partial sync in mbox file /var/mail/alden May 10 15:54:28 hermes dovecot: IMAP(alden): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size) May 10 15:54:28 hermes dovecot: child 14185 (imap) killed with signal 6
Try deleting dovecot.index* files. If it doesn't help, I'd really be interested in having that mbox file so I could fix this bug. If it has some sensitive data you could put it through http://dovecot.org/tools/mbox-anonymize.pl which replaces most of the data with X letters.
Although I may have fixed this bug already also: http://dovecot.org/list/dovecot-cvs/2006-May/005500.html
You could try that patch or latest nightly snapshot.
As for the sha_result thing, see http://wiki.dovecot.org/MysqlProblems
participants (3)
-
Dave Alden
-
Rainer Frey
-
Timo Sirainen