courier-mta-ssl cannot reallocate

Bug #281591 reported by Thomas Ohms on 2008-10-11
Affects Status Importance Assigned to Milestone
courier (Ubuntu)

Bug Description

Binary package hint: courier-mta-ssl

Without any minor or major changes to courier-mta-ssl I can neither restart nor install it. When trying to start or after installation to configure it fails with "/usr/sbin/esmtpd-ssl: xrealloc: ../bash/subst.c:514: cannot reallocate 1024 bytes (0 bytes allocated)" and with "/usr/sbin/esmtpd-ssl: xrealloc: ../bash/print_cmd.c:1273: cannot reallocate 512 bytes (0 bytes allocated)".
Strange thing is, this happens only to exactly this package. All other Courier packages are stopping and starting fine.

Ubuntu: Hardy 8.04
libc6: 2.7-10ubuntu4

To be honest I don't know where to start here. There is enough memory and all other things are working fine.

Thomas Ohms (tohms) wrote :

Ok I had a deeper look in /usr/sbin/esmtpd and found there is a request for ulimit. So I looked into /etc/courier/esmtpd and the variable "ULIMIT" was set to 4096. I changed this to the same value as in imapd: 65536
But this is only a workaround. I would like to know how this could/can happen, althoug nothing was changed or updated regarding this package.

Thomas Ohms (tohms) on 2008-12-02
Changed in courier:
status: New → Fix Committed
Przemek K. (azrael) on 2009-12-14
Changed in courier (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers