Hi,
On Mon, 12 Jul 2010, Timo Sirainen wrote:
On Mon, 2010-07-12 at 08:21 +0200, Matthias Rieber wrote:
while syncing dsync crashed:
dsync-local(matthias): Panic: dsync brain state=10
How new Dovecot version? I did several fixes last few days. I think it could have been fixed by this one (minus the broken/debug code I accidentally committed): http://hg.dovecot.org/dovecot-2.0/rev/d9d1272d99b7
I got a backtrace:
#0 0xf7d7a556 in raise () from /lib/libc.so.6 No symbol table info available. #1 0xf7d7bd78 in abort () from /lib/libc.so.6 No symbol table info available. #2 0xf7ed9555 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:164 backtrace = 0x90e4bd0 "/usr/local/lib/dovecot/libdovecot.so.0 [0xf7ed9541] -> /usr/local/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x4e) [0xf7ed966e] -> /usr/local/lib/dovecot/libdovecot.so.0(i_error+0) [0xf7ed9878]"... #3 0xf7ed966e in default_fatal_handler (type=LOG_TYPE_PANIC, status=0, format=0x80591a2 "dsync brain state=%d", args=0xff918664 "\n") at failures.c:176 No locals. #4 0xf7ed9878 in i_panic (format=0x80591a2 "dsync brain state=%d") at failures.c:230 No locals. #5 0x0804e106 in dsync_brain_worker_finished (success=6, context=0x910e7e8) at dsync-brain.c:781 No locals. #6 0x080539b7 in proxy_client_worker_next_reply (worker=0x910e6a8, line=0x9118279 "ok") at dsync-proxy-client.c:255 request = {type = PROXY_CLIENT_REQUEST_TYPE_FINISH, uid = 0, callback = {get = 0x804e0e0 <dsync_brain_worker_finished>, copy = 0x804e0e0 <dsync_brain_worker_finished>, finish = 0x804e0e0 <dsync_brain_worker_finished>}, context = 0x910e7e8} ret = <value optimized out> #7 0x08053c72 in proxy_client_worker_input (worker=0x910e6a8) at dsync-proxy-client.c:303 line = 0x9118279 "ok" ret = <value optimized out> #8 0xf7ee5bc5 in io_loop_handler_run (ioloop=0x90ec4f0) at ioloop-epoll.c:212 ctx = (struct ioloop_handler_context *) 0x90ec600 event = (const struct epoll_event *) 0x90ec640 list = (struct io_list *) 0x910e7d8 io = (struct io_file *) 0x910e7b0 tv = {tv_sec = 4, tv_usec = 681102} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #9 0xf7ee4c10 in io_loop_run (ioloop=0x90ec4f0) at ioloop.c:350 No locals. #10 0xf7ed229a in master_service_run (service=0x90ec430, callback=0x804d160 <dsync_connected>) at master-service.c:495 No locals. #11 0x0804da3a in main (argc=151962133, argv=0x90ec219) at dsync.c:314 ssflags = 146 brain_flags = DSYNC_BRAIN_FLAG_VERBOSE storage_service = (struct mail_storage_service_ctx *) 0x90ed0f0 service_user = (struct mail_storage_service_user *) 0x90ed9a0 input = {module = 0x805a678 "mail", service = 0x8058f7f "dsync", username = 0x90ec200 "mailverwalter", local_ip = {family = 0, u = {ip6 = {in6_u = { u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, remote_ip = {family = 0, u = { ip6 = {in6_u = {u6_addr8 = '\0' <repeats 15 times>, u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, userdb_fields = 0x0} mail_user = (struct mail_user *) 0x9105198 mail_user2 = (struct mail_user *) 0x0 worker1 = (struct dsync_worker *) 0x9112610 worker2 = (struct dsync_worker *) 0x910e6a8 workertmp = <value optimized out> error = <value optimized out> username = 0x90ec200 "mailverwalter" cmd_name = 0x90ec20e "mirror" mailbox = 0x0 local_location = 0x0 remote_cmd_args = (const char * const *) 0x90e4080 dsync_server = false unexpected_changes = <value optimized out> dsync_debug = false reverse_workers = false alt_char = 95 '_' c = <value optimized out> ret = <value optimized out> fd_in = <value optimized out> fd_out = <value optimized out> __FUNCTION__ = "main"
Regards, MAtrthias