Segfault (repost)

David Reid david at jetnet.co.uk
Thu Mar 25 13:53:32 EST 2004


I'm posting this again under a new subject as it wasn't directly relevant to
the previous thread it ended up in...

FreeBSD 5.2
SASL 2.1.17
Imapd 2.2.3

Using auxprop to mysql. Postfix works fine with the same SASL setup and the
appropriate entries (also using auxprop). This isn't a live server but a
test box, and until I can get this resolved I'm not happy about moving my
production box onto these versions, so this is now proving a stumbling block
:( Any help would be great!

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

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