Дейтер Александр Валериевич wrote:
Ken Murchison wrote:
I am pleased to announce the release of Cyrus IMAPd 2.3.7. This release
should be considered late beta quality, reflecting that most large bugs
have been resolved, but some small buglets might still remain.
This release fixes problems with replication and virtual domains as well
as a byte-alignment problem on 64-bit machines.
This release cannot work on Solaris 9 64-bit. Cyrus-IMAP build in 64-bit
mode with SUNWspro cc (SUN Studio 11):
Is anyone else seeing this? I don't have a 64-bit Solaris box
immediately available for testing, but my fix was tested and confirmed
by the person that originally reported this problem in 2.3.6 (don't
remember who it was OTH).
# su - cyrus -c /usr/local/sbin/reconstruct user.devel
Bus Error - core dumped
program terminated by signal BUS (invalid address alignment)
Current function is mailbox_read_index_header
946 ntohll(*((bit64
*)(mailbox->index_base+OFFSET_HIGHESTMODSEQ_64)));
(dbx) where
=>[1] mailbox_read_index_header(mailbox = 0xffffffff7fffaa60), line 946
in "mailbox.c"
[2] mailbox_open_index(mailbox = 0xffffffff7fffaa60), line 675 in
"mailbox.c"
[3] reconstruct(name = 0x100204e7c "user.devel", found = (nil)), line
529 in "reconstruct.c"
[4] do_reconstruct(name = 0xffffffff7fffd23d "user.devel", matchlen =
10, maycreate = 1, rock = (nil)), line 393 in "reconstruct.c"
[5] find_cb(rockp = 0xffffffff7fffda78, key = 0xffffffff7bb000e4 "<bad
address 0x7bb000e4>", keylen = 10, data = 0xffffffff7bb000f4 "<bad
address 0x7bb000f4>", datalen = 26), line 1974 in "mboxlist.c"
[6] myforeach(db = 0x100228da0, prefix = 0xffffffff7fffd671
"user.devel", prefixlen = 10, goodp = 0x100029e88 =
&`reconstruct`mboxlist.c`find_p(void *rockp, const char *key, int
keylen, const char *data, int datalen), cb = 0x10002a468 =
&`reconstruct`mboxlist.c`find_cb(void *rockp, const char *key, int
keylen, const char *data, int datalen), rock = 0xffffffff7fffda78, tid =
(nil)), line 989 in "cyrusdb_skiplist.c"
[7] mboxlist_findall(namespace = 0x100214430, pattern = 0x100220050
"user.devel", isadmin = 1, userid = (nil), auth_state = (nil), proc =
0x1000166f8 = &do_reconstruct(char *name, int matchlen, int maycreate,
void *rock), rock = (nil)), line 2168 in "mboxlist.c"
[8] main(argc = 2, argv = 0xffffffff7ffffd98), line 301 in "reconstruct.c"
(dbx)
imapd also core dumped:
program terminated by signal BUS (invalid address alignment)
Current function is mailbox_read_index_header
946 ntohll(*((bit64
*)(mailbox->index_base+OFFSET_HIGHESTMODSEQ_64)));
(dbx) where
=>[1] mailbox_read_index_header(mailbox = 0xffffffff7fffd858), line 946
in "mailbox.c"
[2] mailbox_open_index(mailbox = 0xffffffff7fffd858), line 675 in
"mailbox.c"
[3] cmd_select(tag = 0x1002ad0e0 "s", cmd = 0x1002ad160 "Select", name
= 0x1002ad1e0 "INBOX"), line 3388 in "imapd.c"
[4] cmdloop(), line 1650 in "imapd.c"
[5] service_main(argc = 1, argv = 0x10029a360, envp =
0xffffffff7ffffcb8), line 789 in "imapd.c"
[6] main(argc = 1, argv = 0xffffffff7ffffca8, envp =
0xffffffff7ffffcb8), line 532 in "service.c"
(dbx)
ver
name : Cyrus IMAPD
version : v2.3.7-MTS-NW 2006/07/10 13:46:20
vendor : Project Cyrus
support-url: http://asg.web.cmu.edu/cyrus
os : SunOS
os-version : 5.9
environment: Built w/Cyrus SASL 2.1.22
Running w/Cyrus SASL 2.1.22
Built w/Sleepycat Software: Berkeley DB 4.4.20: (January
10, 2006)
Running w/Sleepycat Software: Berkeley DB 4.4.20: (January
10, 2006)
Built w/OpenSSL 0.9.8b 04 May 2006
Running w/OpenSSL 0.9.8b 04 May 2006
CMU Sieve 2.3
TCP Wrappers
NET-SNMP
mmap = shared
lock = fcntl
nonblock = fcntl
idle = poll
Thanks!
--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html