unexpunge segfaults with -l on some mailboxes

Patrick Boutilier boutilpj at ednet.ns.ca
Wed Mar 11 11:40:28 EDT 2009


Patrick Boutilier wrote:
> Cyrus 2.3.13:
> 
> 
> [cyrus at student2 ~]$ gdb /usr/local/cyrus/bin/unexpunge core.16094
> GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you 
> are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu"...(no debugging 
> symbols found)
> Using host libthread_db library "/lib64/libthread_db.so.1".
> 
> 
> warning: Can't read pathname for load map: Input/output error.
> Reading symbols from /usr/local/lib64/libsasl2.so.2...done.
> Loaded symbols for /usr/local/lib64/libsasl2.so.2
> Reading symbols from /lib64/libssl.so.6...done.
> Loaded symbols for /lib64/libssl.so.6
> Reading symbols from /lib64/libcrypto.so.6...done.
> Loaded symbols for /lib64/libcrypto.so.6
> Reading symbols from /lib64/libresolv.so.2...done.
> Loaded symbols for /lib64/libresolv.so.2
> Reading symbols from /lib64/libdb-4.3.so...done.
> Loaded symbols for /lib64/libdb-4.3.so
> Reading symbols from /lib64/libc.so.6...done.
> Loaded symbols for /lib64/libc.so.6
> Reading symbols from /lib64/libdl.so.2...done.
> Loaded symbols for /lib64/libdl.so.2
> Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
> Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
> Reading symbols from /usr/lib64/libkrb5.so.3...done.
> Loaded symbols for /usr/lib64/libkrb5.so.3
> Reading symbols from /lib64/libcom_err.so.2...done.
> Loaded symbols for /lib64/libcom_err.so.2
> Reading symbols from /usr/lib64/libk5crypto.so.3...done.
> Loaded symbols for /usr/lib64/libk5crypto.so.3
> Reading symbols from /usr/lib64/libz.so.1...done.
> Loaded symbols for /usr/lib64/libz.so.1
> Reading symbols from /lib64/libpthread.so.0...done.
> Loaded symbols for /lib64/libpthread.so.0
> Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
> Reading symbols from /usr/lib64/libkrb5support.so.0...done.
> Loaded symbols for /usr/lib64/libkrb5support.so.0
> Reading symbols from /lib64/libkeyutils.so.1...done.
> Loaded symbols for /lib64/libkeyutils.so.1
> Reading symbols from /lib64/libselinux.so.1...done.
> Loaded symbols for /lib64/libselinux.so.1
> Reading symbols from /lib64/libsepol.so.1...done.
> Loaded symbols for /lib64/libsepol.so.1
> Core was generated by `/usr/local/cyrus/bin/unexpunge -l user.boutilpj'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x0000000000405d64 in list_expunged ()
> (gdb) bt
> #0  0x0000000000405d64 in list_expunged ()
> #1  0x00000000004073f1 in main ()
> (gdb)


Darn. This is caused by mailbox corruption again. My script to detect 
corruption wasn't working properly. Any idea how we can track down what 
is causing the corruption?

Thanks.


Mar 11 03:05:52 student2 cyr_expire[7604]: IOERROR: reading cache record 
for user.boutilpj: item 1 has bogus offset 1685634032 of 2049160 for 
5020/6938; mailbox needs a reconstruct

Mar 11 03:05:52 student2 cyr_expire[7604]: failure expiring 
user.boutilpj: System I/O error


> 
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090311/5df49d29/attachment.vcf 


More information about the Info-cyrus mailing list