[pkg-kolab] [BUG] Death by 10 (SIGBUS) on sparc

Davide Bettio davide.bettio at kdemail.net
Fri Jun 29 01:47:47 UTC 2007


I've discovered that the version of kolab-cyrus which is in debian etch 
repository doesn't work very well on sparc. After a lot of tries I've 
recompiled the package using apt-build and gcc version 3.4 and I saw that the 
version that I've compiled myself works very well.

Here is the mail (which describes the problem) that I sent to the cyrus-info 
mailing list:

Has anyone got cyrus running on sparc?

I've installed kolab-cyrus-imapd v2.2.13 on Debian Etch and it doesn't seem to 
work very well: It tells me that mailboxes are reserved or when I try to sync 
sometimes (for example when I try to create a directory) the client says to 
me that the operation was terminated.
In the log I see messages like this:
Jun 26 21:15:55 localhost cyrus/master[19525]: process 19636 exited, signaled 
to death by 10
Jun 26 21:15:55 localhost cyrus/master[19525]: service imap pid 19636 in BUSY 
state: terminated abnormally

Signal 10 is SIGBUS and normally happens when a process tried   to do an 
unaligned memory access.

Here is version command output:
name       : Cyrus IMAPD
version    : v2.2.13-Debian-2.2.13-2 2006/11/13 16:17:53
vendor     : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os         : Linux
os-version : 2.6.18-3-sparc64
environment: Built w/Cyrus SASL 2.1.22
             Running w/Cyrus SASL 2.1.22
             Built w/Sleepycat Software: Berkeley DB 4.2.52: (December  3, 
             Running w/Sleepycat Software: Berkeley DB 4.2.52: (December  3, 
             Built w/OpenSSL 0.9.8c 05 Sep 2006
             Running w/OpenSSL 0.9.8c 05 Sep 2006
             CMU Sieve 2.2
             TCP Wrappers
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             idle = poll

And here is ldd on cyrmaster:
ldd /usr/sbin/cyrmaster
        libnetsnmpmibs.so.9 => /usr/lib/libnetsnmpmibs.so.9 (0xf7dd4000)
        libnetsnmpagent.so.9 => /usr/lib/libnetsnmpagent.so.9 (0xf7d90000)
        libnetsnmphelpers.so.9 => /usr/lib/libnetsnmphelpers.so.9 (0xf7d64000)
        libnetsnmp.so.9 => /usr/lib/libnetsnmp.so.9 (0xf7cac000)
        libm.so.6 => /lib/libm.so.6 (0xf7c18000)
        libdl.so.2 => /lib/libdl.so.2 (0xf7c04000)
        libwrap.so.0 => /lib/libwrap.so.0 (0xf7bec000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xf7bc8000)
        libdb-4.2.so => /usr/lib/libdb-4.2.so (0xf7ae0000)
        libssl.so.0.9.8 => /usr/lib/v9/libssl.so.0.9.8 (0xf7a90000)
        libcrypto.so.0.9.8 => /usr/lib/v9/libcrypto.so.0.9.8 (0xf793c000)
        libc.so.6 => /lib/libc.so.6 (0xf7808000)
        libsensors.so.3 => /usr/lib/libsensors.so.3 (0xf77c4000)
        /lib/ld-linux.so.2 (0xf7f5c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xf779c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xf7778000)
        libsysfs.so.2 => /lib/libsysfs.so.2 (0xf7760000)

And file:
file /usr/sbin/cyrmaster
/usr/sbin/cyrmaster: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), for 
GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, 

Also see the mail from Joshua Van Horn on Thu Feb 15 2007 - 12:45:06 EST.

Davide Bettio.

I hope that this information will be useful.

Thanks for you attention,
Davide Bettio.

More information about the pkg-kolab-devel mailing list