Master Segfaulting

Daniel Daniel danielcyrusmail at yahoo.com
Thu Mar 18 19:32:59 EST 2004


I have been trying to install Cyrus IMAP on Slackware 9.1, and running into problems with Master segfaulting.  I've tried with any different config options I can, but continually getting the same errors.  I compiled Berkeley DB 4.2.52 (with Encryption) into the default location (/usr/local/BerkeleyDB.4.2)
Then I configured and compiled SASL, using the following

./configure --disable-otp --disable-krb4 --disable-gssapi --disable-anon  --disable-cram --disable-scram --with-dblib=berkeley --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include --with-openssl=/usr/local/ssl --with-plugindir=/usr/local/lib/sasl2

and a 'make' and 'make install'


Then installed Cyrus-Imap, using:

./configure --with-sasl=/usr/local/lib --with-perl --with-dbdir=/usr/local/BerkeleyDB.4.2 --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include --with-openssl=/usr/local/ssl

 with 'make depend' 'make' and 'make install'

Everything looks to go fine, but when running master, it segfaults.  gdb gives:

Starting program: /usr/cyrus/bin/master 

Program received signal SIGSEGV, Segmentation fault.
0x40282e53 in strlen () from /lib/libc.so.6
(gdb) where
#0  0x40282e53 in strlen () from /lib/libc.so.6
#1  0x0804efd1 in xstrdup (str=0x0) at xmalloc.c:91
#2  0x0804b575 in add_service (name=0xbfffd890 "prefork", e=0xbfffd888, 
    rock=0x0) at master.c:1284
#3  0x0804e2c0 in process_section (f=0x805e600, lnptr=0xbfffe8cc, 
    func=0x804b550 <add_service>, rock=0x0) at masterconf.c:207
#4  0x0804e4f5 in masterconf_getsection (section=0x804f85f "SERVICES", 
    f=0x804b550 <add_service>, rock=0x0) at masterconf.c:257
#5  0x0804c873 in main (argc=-1073743520, argv=0xbffff960) at master.c:1876
#6  0x4021cd06 in __libc_start_main () from /lib/libc.so.6


syslog gives the following:

master[28335]: setrlimit: Unable to set file descriptors
master[28335]: retrying with 1024 (current max)
master[28335]: process started
master[28336]: about to exec /usr/cyrus/bin/ctl_cyrusdb 
ctl_cyrusdb[28336]: recovering cyrus databases   
ctl_cyrusdb[28336]: skiplist: recovered /var/imap/mailbo
ctl_cyrusdb[28336]: done recovering cyrus databases

Any clues as to what would be wrong?  I have done roughly the same setup with slackware 9.0 and it worked fine, so I think it's a difference with 9.1.  Any advice would be greatly appreciated!

Thanks!

 
 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040318/979c37c8/attachment.html


More information about the Info-cyrus mailing list