Master Segfaulting

Ken Murchison ken at oceana.com
Thu Mar 18 20:11:05 EST 2004


Daniel Daniel wrote:

> 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

Which version of Cyrus?

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list