[Dovecot] Dovecot crashes on certain spam messages
Miquel van Smoorenburg
miquels at cistron.net
Tue Feb 3 18:10:25 EET 2004
On 2004.02.02 22:21, Karl Eklund wrote:
> Jonas Smedegaard wrote:
>
> > Perhaps mounting the filesystem with something else than 0 as last but
> > one item in fstab solves it?
>
>
> Why? The dump option seems to have something to do with a kind of backup
> system, according to man fstab. Also, it seems to be possible to get a
> core dump:
>
> ~ $ cat crash.c
> main() { char *s; while(1) { *s = "a"; ++s; } }
> ~ $ gcc -o crash crash.c
> crash.c: In function `main':
> crash.c:1: warning: assignment makes integer from pointer without a cast
> ~ $ ulimit -c 50000
> ~ $ ./crash
> Segmentation fault (core dumped)
> ~ $
> -rw------- 1 ke users 49152 Feb 2 22:19 core
50000 is a bit small for a core file. They usually are tens of megabytes,
as the internal memory and mapped files are dumped as well.
Use "ulimit -c unlimited" to enable coredumps instead.
Mike.
More information about the dovecot
mailing list