all processes fail with signal 9

David Reid david at jetnet.co.uk
Fri Mar 19 18:55:51 EST 2004


I've been seing something that might be related, might not be...

Setup is FreeBSD 5.2, cyrus 2.2.3 trying to use auxprop to mysql.

imapd.log shows

Mar 19 23:52:13 sheridan master[478]: process 762 exited, signaled to death
by 10
Mar 19 23:52:13 sheridan master[478]: service imap pid 762 in BUSY state:
terminated abnormally

Command used to produce this was

-bash-2.05b$ imtest --user=david
WARNING: no hostname supplied, assuming localhost

S: * OK sheridan Cyrus IMAP4 v2.2.3 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY
SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE LISTEXT
LIST-SUBSCRIBED
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN david {6}
S: + go ahead
C: <omitted>
failure: prot layer failure

gdb was attached and this was what it showed.

(gdb) c
Continuing.

Program received signal SIGBUS, Bus error.
0x2841204e in memcpy () from /lib/libc.so.5
(gdb) bt
#0  0x2841204e in memcpy () from /lib/libc.so.5
#1  0x08f80000 in ?? ()
#2  0x29678fa2 in sql_auxprop_lookup (glob_context=0x8130340,
sparams=0x8135300, flags=0,
    user=0xbfc00000 <Error reading address 0xbfc00000: Bad address>,
ulen=150627495) at sql.c:729
#3  0x28147fb4 in _sasl_auxprop_lookup (sparams=0x8135300, flags=0,
user=0x8139a11 "david", ulen=5) at auxprop.c:897
#4  0x28148548 in _sasl_canon_user (conn=0x8139000, user=0x8139a11 "david",
ulen=5, flags=3, oparams=0x8139860)
    at canonusr.c:190
#5  0x28148c84 in auxprop_verify_password (conn=0x8139000, userstr=0x8139910
"david", passwd=0x8134300 "XXXXXX",
    service=0x8131350 "imap", user_realm=0x0) at checkpw.c:163
#6  0x28150be1 in _sasl_checkpass (conn=0x8139000, user=0x8139910 "david",
userlen=5, pass=0x8134300 "XXXXXX", passlen=6)
    at server.c:1595
#7  0x28150cca in sasl_checkpass (conn=0x8139000, user=0x8133a14 "",
userlen=5, pass=0x8134300 "XXXXXX", passlen=6)
    at server.c:1662
#8  0x080500fd in cmd_login (tag=0x8134180 "L01", user=0x8134280 "david") at
imapd.c:1617
#9  0x0804e81a in cmdloop () at imapd.c:1033
#10 0x0804d4ff in service_main (argc=1, argv=0x8130000, envp=0xbfbfeeb4) at
imapd.c:570
#11 0x0804c1e8 in main (argc=1, argv=0x9, envp=0xbfbfeeb4) at service.c:546
#12 0x0804b852 in _start ()

Ideas/suggestions gratefully accepted!

david

> Philip Chambers wrote:
>
> > On Thu, 18 Mar 2004 13:49:49 -0500 Ken Murchison <ken at oceana.com> wrote:
> >
> >
> >>Philip Chambers wrote:
> >>
> >>
> >>>I have been using version 2.1.13 without problems but need the username
rename
> >>>facility, so I have tried to install 2.2.3 and everything started by
master fails
> >>>with "signaled to death by 9".  For example, in the log:
> >>>
> >>>... master [12403] [ID 392559 local6.debug] about to exec
/usr/cyrus/bin/ctl_cyrusdb
> >>>... master [12402] [ID 970914 local6.debug] process 12403  exited,
signaled to death
> >>>by 9
> >>>
> >>>I added --with-mboxlist-db=berkeley --with-seen-db=flat when running
configure and
> >>>everything else was the same as when I built 2.1.13 and produced no
build errors.
> >>
> >>The database backends in 2.2.3 are now determined at runtime, not
> >>compile time, so the options above will not work.
> >>
> >>
> >>>Can anyone offer an explanation, or at least give me some idea as to
how to diagnose
> >>>what it wrong?
> >>
> >>Please read install-upgrade.html in the distro.
> >
> >
> > I have now put
> >  seenstate_db: flat
> >  mboxlist_db: berkeley
> >
> > into /etc/imapd.conf, but I am still getting all processes fired up by
master
> > failing with "signaled to death by 9".
> >
> > Any ideas how I can diagnose what I have wrong?
>
>
> Post a backtrace of a core dump from one of the processes.
>
>
> -- 
> 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
>

---
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