Timo Sirainen wrote:
On 11.3.2013, at 16.00, Heiko Schlichting dovecot-l@FU-Berlin.DE wrote:
using dovecot 2.2rc2 I got core dumps during IMAP subscription change if the CONTROL directory (specified in mail_location) does not exists.
userdb_mail: mbox:~/Test:INBOX=~/Test/heiko:INDEX=~/.imap/index:CONTROL=~/.imap/control
If ~/.imap/control does not exists, dovecot crashes. See below for log msg, full backtrace and configuration.
I can't reproduce this with latest hg, so I think it's fixed?
Latest hg is not so easy as you commit every few minutes.
Testing with one hour old changeset 16065 ab434891f2af failed during compilation:
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -DMODULE_DIR=\""/home/dovecot/server/lib/dovecot"\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT fs-test.o -MD -MP -MF .deps/fs-test.Tpo -c -o fs-test.o fs-test.c fs-test.c:7:26: error: iostream-ssl.h: No such file or directory fs-test.c:12: error: variable 'ssl_set' has initializer but incomplete type fs-test.c:13: error: unknown field 'ca_dir' specified in initializer fs-test.c:14: warning: excess elements in struct initializer fs-test.c:14: warning: (near initialization for 'ssl_set') make[3]: *** [fs-test.o] Error 1
So I reverted changeset 16040 70dd78cd89ab and run into the next problem:
make[4]: Entering directory /home/dovecot/src/dovecot/src/replication/replicator' make[4]: *** No rule to make target
doveadm-connection.c', needed by `doveadm-connection.o'. Stop.
Maybe I should wait until tomorrow and check when your are finished with your currect coding activities.
Heiko
Heiko Schlichting Freie Universität Berlin heiko.schlichting@fu-berlin.de Zentraleinrichtung für Datenverarbeitung Telefon +49 30 838-54327 Fabeckstraße 32 Telefax +49 30 838454327 14195 Berlin