On Fri, 2012-05-25 at 18:52 +0200, Peter Meier wrote: > I was doing some migration from a 1.2 installation to a 2.1. While > testing my new installation dovecot crashed at two test-cases constantly > with with a "Panic: Trying to allocate 0 bytes" message. .. > I see two problems: > > 1. Don't panic while "looking" up a group > 2. Give a meaningful error messages.
Asserts/Panics can't give very meaningful error messages to users, because they only happen when there's a bug in the code. The resulting raw backtrace is helpful to coders though :) Fixed: http://hg.dovecot.org/dovecot-2.1/rev/fe688ecd7564
