[Dovecot] Panic: Trying to allocate 2147483648 bytes

Timo Sirainen tss at iki.fi
Sat Mar 21 00:26:07 EET 2009


On Fri, 2009-03-20 at 15:04 -0400, David Halik wrote:
> But just to be sure I moved my homedir to local disk temporarily, and 
> you are totally right. The problem happened again! So now I'm stumped. 
> It looks like it is neither NFS or INDEX, but an issue with Solaris as 
> you suggested. It just seems odd that I can't reproduce it on one of the 
> servers, yet the other two do it every single time. As far as I know the 
> servers have the same libraries as well:

Maybe you could try copying the libraries and using LD_LIBRARY_PATH (or
whatever it is in Solaris) to force using those libraries instead of the
default ones?

You could also try what it logs with this patch when crashing:

diff -r 5deb3ee1d655 src/lib-charset/charset-iconv.c
--- a/src/lib-charset/charset-iconv.c	Fri Mar 20 18:23:12 2009 -0400
+++ b/src/lib-charset/charset-iconv.c	Fri Mar 20 18:25:37 2009 -0400
@@ -145,6 +145,7 @@
 		/* force buffer to grow */
 		used = dest->used;
 		size = buffer_get_size(dest) - used + 1;
+		i_warning("charset grows: used=%u, add=%u", (int)dest->used, (int)size);
 		(void)buffer_append_space_unsafe(dest, size);
 		buffer_set_used_size(dest, used);
 	}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090320/44fb4de9/attachment.bin 


More information about the dovecot mailing list