[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Malloc bug in scheduler




I tried to install zmailer-2.99.49p9 (with patch1) on AIX 4.2.1,
but there is a bug in scheduler that makes it wait for ever.

Scheduler log says this:

scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping
scheduler[9682]: malloc(4294965232): virtual memory exceeded, sleeping

It seems to me scheduler calls emalloc with a negative argument. The
other processes does not produce these errors.

I've temporarily moved back to scheduler 2.99.49.p6a5 which does not
have this bug.

Here's more info:

configure --prefix=/mail --with-zconfig=/mail/etc/zmailer.conf 
--with-mailbox=/mail/var/spool/mail --with-bundled-libresolv 
--with-postoffice=/mail/var/spool/postoffice --with-logdir=/mail/log 
--with-system-malloc

I use xlc (since cc does not compile correctly). I've tried without
--with-system-malloc, with the same result. The bug is also in
zmailer-2.99.49p10-snap3.

----
Mail:	Martin Wendel, IT-Support, Uppsala university, S-751 08 Uppsala, Sweden
Phone:	+46-18-4717780, Fax: +46-18-4717725