[Dovecot] dsync panic

Timo Sirainen tss at iki.fi
Tue Dec 20 07:45:34 EET 2011


On 16.12.2011, at 0.00, Jürgen Obermann wrote:

> Hello,
> when I try to convert from mbox to mdbox with dsync with one user it always panics:
> 
> # /opt/local/bin/dsync -v -u userxy backup ssh root at minerva1 /opt/local/bin/dsync -v -u userxy
> dsync-remote(userxy): Panic: Trying to allocate 2147483648 bytes

Well, this is clearly the problem.. But it's difficult to guess where it's allocating that. I'd need a gdb backtrace. Does it write a core file to userxy's home dir? If not, try replacing dsync with a script that runs "ulimit -c unlimited" first and then execs dsync. http://dovecot.org/bugreport.html tells what to do with core once you have it.

Alternative idea: Does it crash also when dsyncing locally?
gdb --args dsync -u userxy backup mdbox:/tmp/foobar
run
bt full



More information about the dovecot mailing list