Cyrus IMAPd 2.3.12 Released
Thomas Robers
robers at tutech.de
Wed Apr 23 06:56:09 EDT 2008
Hi,
thanks for the answer
Bron Gondwana schrieb:
> This would be even more useful:
>
> % gdb /opt/imap/libexec/master
>> run -d
> [ wait for it to segfault ]
>> bt
here's the output
(gdb) file /opt/imap/libexec/master
Reading symbols from /opt/cyrus-imapd-2.3.12/libexec/master...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -d
Starting program: /opt/cyrus-imapd-2.3.12/libexec/master -d
Program received signal SIGSEGV, Segmentation fault.
0x0000000000407416 in config_read_file (filename=0x530010 "/var/imap/imapd.conf") at ./../lib/libconfig.c:347
347 if (buf[len-1] == '\\') {
(gdb) bt
#0 0x0000000000407416 in config_read_file (filename=0x530010 "/var/imap/imapd.conf") at ./../lib/libconfig.c:347
#1 0x0000000000407fbf in config_read (alt_config=<value optimized out>) at ./../lib/libconfig.c:215
#2 0x00000000004082cf in masterconf_init (ident=0x40c0ef "master", alt_config=0x0) at masterconf.c:84
#3 0x0000000000405e0a in main (argc=2, argv=0x7fffa930bf58) at master.c:1681
but I got an answer from Andy Fiddaman which solved the problem:
> Take a look at http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3059 and try
> the patch in there. It looks like the same problem.
and
> Take a look at http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3059 and try
> the patch in there. It looks like the same problem.
It seems the same problem which is mentioned in bugzilla, because after
using '#' instead of blank lines resp. deleting them in imapd.conf, I was
able to start cyrus 2.3.12.
>> Compiling and running version 2.3.11 with the same options on the same
>> machine works fine.
>
> Are you able to post your /var/imap/imapd.conf file?
>
> I'm guessing there's something in there which is causing the segfault.
Yes as mentioned above I had blank lines in imapd.conf which caused the segfault.
> Regards,
>
> Bron.
Thomas
More information about the Info-cyrus
mailing list