29 May
2012
29 May
'12
6:41 p.m.
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:
- Don't panic while "looking" up a group
- 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