cyrus-murder problems with database corruption in the frontend/master

João Assad jfassad at parperfeito.com.br
Fri Apr 8 12:10:20 EDT 2005


João Assad wrote:

> Managed to get a backtrace using debug_command ( thanks for this nifty 
> feature Henrique de Moraes )

2 gdb backtraces from the production server.

----------------------------
#18988 0x0804dcd3 in fatal (
    s=0x8d52f070 "Internal error: assertion failed: mupdate.c: 586: 0",
    code=75) at mupdate.c:586
#18989 0x08082622 in assertionfailed (file=0x8082ab9 "mupdate.c", line=586,
    expr=0x8082ce1 "0") at assert.c:61
#18990 0x0804dcd3 in fatal (
    s=0x8d52f4c0 "failed to mmap /var/lib/imap/mailboxes.db file", code=75)
    at mupdate.c:586
#18991 0x080755f5 in map_refresh (fd=8, onceonly=0, base=0x8ad56e0,
    len=0x8ad56e4, newlen=366993408,
    name=0x8ad5710 "/var/lib/imap/mailboxes.db", mboxname=0x0)
    at map_shared.c:105
#18992 0x08078178 in update_lock (db=0x8ad56d8, txn=0x8d52f6e0)
    at cyrusdb_skiplist.c:572
#18993 0x0807a2f9 in mycommit (db=0x8ad56d8, tid=0x8d52f6e0)
    at cyrusdb_skiplist.c:1345
#18994 0x08079d64 in mystore (db=0x8ad56d8, key=0x8b41ba8 "user.1440034",
    keylen=12,
    data=0x8c5a248 "1 cyrus-be2.gazzag.com!default 1440034\tlrswipcda\t",
    datalen=49, tid=0x0, overwrite=1) at cyrusdb_skiplist.c:1225
#18995 0x08079de5 in store (db=0x8ad56d8, key=0x8b41ba8 "user.1440034",
    keylen=12,
    data=0x8c5a248 "1 cyrus-be2.gazzag.com!default 1440034\tlrswipcda\t",
    datalen=49, tid=0x0) at cyrusdb_skiplist.c:1244
#18996 0x080571a9 in mboxlist_insertremote (name=0x8b41ba8 "user.1440034",
    mbtype=0, host=0x8b144f0 "cyrus-be2.gazzag.com!default",
    acl=0x8c4dab8 "1440034\tlrswipcda\t", tid=0x0) at mboxlist.c:801
#18997 0x0804f869 in database_log (mb=0x8c4daa8, mytid=0x0) at 
mupdate.c:1300
#18998 0x0804ffe3 in cmd_set (C=0x8bdd778, tag=0x8be8918 "X1",
    mailbox=0x8bb6ec8 "user.1440034",
    server=0x8bb54b8 "cyrus-be2.gazzag.com!default",
    acl=0x8c36e28 "1440034\tlrswipcda\t", t=SET_ACTIVE) at mupdate.c:1527
#18999 0x0804e1f0 in docmd (c=0x8bdd778) at mupdate.c:685
#19000 0x0804f669 in thread_main (rock=0x0) at mupdate.c:1228
#19001 0x0069b98c in start_thread () from /lib/tls/libpthread.so.0
#19002 0x005897da in clone () from /lib/tls/libc.so.6

----------------------------

#18988 0x0804dcd3 in fatal (
    s=0x9fcd6070 "Internal error: assertion failed: mupdate.c: 586: 0",
    code=75) at mupdate.c:586
#18989 0x08082622 in assertionfailed (file=0x8082ab9 "mupdate.c", line=586,
    expr=0x8082ce1 "0") at assert.c:61
#18990 0x0804dcd3 in fatal (
    s=0x9fcd64c0 "failed to mmap /var/lib/imap/mailboxes.db file", code=75)
    at mupdate.c:586
#18991 0x080755f5 in map_refresh (fd=8, onceonly=0, base=0x85856e0,
    len=0x85856e4, newlen=366583808,
    name=0x8585710 "/var/lib/imap/mailboxes.db", mboxname=0x0)
    at map_shared.c:105
#18992 0x08078178 in update_lock (db=0x85856d8, txn=0x9fcd66e0)
    at cyrusdb_skiplist.c:572
#18993 0x0807a2f9 in mycommit (db=0x85856d8, tid=0x9fcd66e0)
    at cyrusdb_skiplist.c:1345
#18994 0x08079d64 in mystore (db=0x85856d8,
    key=0x88046a78 "user.950836._TRASH", keylen=18,
    data=0x88056cc0 "1 cyrus-be3.gazzag.com!default 950836\tlrswipcda\t",
    datalen=48, tid=0x0, overwrite=1) at cyrusdb_skiplist.c:1225
#18995 0x08079de5 in store (db=0x85856d8, key=0x88046a78 
"user.950836._TRASH",
    keylen=18,
    data=0x88056cc0 "1 cyrus-be3.gazzag.com!default 950836\tlrswipcda\t",
    datalen=48, tid=0x0) at cyrusdb_skiplist.c:1244
#18996 0x080571a9 in mboxlist_insertremote (
    name=0x88046a78 "user.950836._TRASH", mbtype=0,
    host=0x88019a70 "cyrus-be3.gazzag.com!default",
    acl=0x8804b7c0 "950836\tlrswipcda\t", tid=0x0) at mboxlist.c:801
#18997 0x0804f869 in database_log (mb=0x8804b7b0, mytid=0x0) at 
mupdate.c:1300
#18998 0x0804ffe3 in cmd_set (C=0x9dd0b9b8, tag=0x9dd9b010 "X1",
    mailbox=0x9ddb1140 "user.950836._TRASH",
    server=0x9ddb5360 "cyrus-be3.gazzag.com!default",
    acl=0x88016f70 "950836\tlrswipcda\t", t=SET_ACTIVE) at mupdate.c:1527
#18999 0x0804e1f0 in docmd (c=0x9dd0b9b8) at mupdate.c:685
#19000 0x0804f669 in thread_main (rock=0x0) at mupdate.c:1228
#19001 0x0069b98c in start_thread () from /lib/tls/libpthread.so.0
#19002 0x005897da in clone () from /lib/tls/libc.so.6

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




More information about the Info-cyrus mailing list