Displaying 20 results from an estimated 37 matches for "mbox_lock_type".
2016 Apr 21
2
Setting up replication?
...configurations from the
previous posts in this thread. If you need any more information please
let me know. Thanks!
dovecot version 2.2.13
Apr 21 14:30:19 knute5 dovecot: dsync-server(penny): Panic: file
mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type ==
F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
Apr 21 14:30:19 knute5 dovecot: dsync-server(penny): Fatal: master:
service(doveadm): child 2417 killed with signal 6 (core dumps disabled)
Apr 21 14:30:58 knute5 dovecot: dsync-local(knute): Error:
read(knutejohnson.com) failed: Connection reset by peer
Apr 21 14:30:59 knute5 dovecot...
2009 Jan 08
2
Panic in v1.1.8
...01 sbh16 dovecot: pop3-login: Login: user=<user2>,
method=PLAIN, rip=72.52.113.36, lip=72.52.113.36, secured
Jan 8 10:57:01 sbh16 dovecot: Panic: POP3(user2): file
mbox-transaction.c: line 54 (mbox_transaction_commit): assertion
failed: (mbox->ibox.box.transaction_count > 0 || mbox->mbox_lock_type
== F_UNLCK)
Jan 8 10:57:01 sbh16 dovecot: POP3(user2): Raw backtrace: pop3
[0x80c4400] -> pop3 [0x80c445a] -> pop3 [0x80c3d5c] -> pop3
[0x806e209] -> pop3(index_transaction_commit+0x4e) [0x809251e] ->
pop3(mailbox_transaction_commit+0x26) [0x80942a6] ->
pop3(client_command_execut...
2017 Sep 26
3
dsync: assert panic on mbox // no INBOX sync on hybrid mbox/maildir
...the folders, but does not touch INBOXes.
2) doveadm sync -f -m INBOX -u david tcp:otherhost
Does not touch INBOXes
3) doveadm sync -n '#mbox/' -f -u david tcp:otherhost
dsync-local(david): Panic: file mbox-lock.c: line 800 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
I added some debug code, the assertion failure is being triggered by a
call to mbox-lock() with:
locktype=F_WRCLK mbox->mbox_lock_type=F_RDLCK, mbox->external_transactions=1
The config files on the 2 hosts only differ by the hostnames they're
supposed to be syncing to.
$...
2005 Oct 05
2
Confused
...eard responses....
I'm getting the following (see bottom of this email) in a single day of
dmesg....most of the time the error message in the log file is something like:
Oct 5 09:21:43 mail1 dovecot: imap(*****): file mbox-save.c: line
280 (mbox_save_init_file): assertion failed: (mbox->mbox_lock_type !=
F_RDLCK)
Some of them also have something to do with storage space.
Any ideas at all? Thanks :)
Regards,
Matt
---dmesg snip----
pid 20905 (imap), uid 34411: exited on signal 6
pid 42237 (imap), uid 33345: exited on signal 6
pid 42757 (imap), uid 33345: exited on signal 6
pid 43036 (imap...
2008 Aug 25
2
Dovecot 1.1.2
...m)
18 file mbox-sync-rewrite.c: line 590: assertion failed:
(mails[idx].from_offset == start_offset)
5 file ostream-file.c: line 533: assertion failed: ((size_t)ret ==
total_size || !fstream->file)
5 file mbox-lock.c: line 675: assertion failed: (lock_type ==
F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
1 file message-parser.c: line 684: assertion failed:
(ctx->part->physical_pos >= ctx->input->v_offset)
My setup is this:
3 servers, all Solaris, running dovecot, share home directiories via
NFS, mbox format mailboxes in home directories. Indexes are separate in
e...
2005 Nov 18
0
Two new Assert Failures
...file_int_offset
$1 = 103944
(gdb) p hdr
No symbol "hdr" in current context.
------------------------------------------------------------------
dovecot: Nov 17 11:38:40 Error: 5202 imap(username): file mbox-lock.c:
line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK ||
mbox->mbox_lock_type != F_RDLCK)
dovecot: Nov 17 11:38:40 Error: child 5202 (imap) killed with signal 6
(gdb) bt full
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xbffff4f8 in ?? ()
No symbol table info available.
#2 0x00000006 in ?? ()
No symbol table info available.
#3 0x00001452 in ?? ()
No symbo...
2010 Jul 24
1
Dsync error when working dir o-rwx
...o: INBOX: only in source
dsync(info at example.org): Error: open(.) failed: Permission denied
dsync(info at example.org): Error: open(.) failed: Permission denied
dsync(info at example.org): Panic: file mbox-sync-rewrite.c: line 247
(mbox_sync_try_rewrite): assertion failed: (sync_ctx->mbox->mbox_lock_type
== F_WRLCK)
dsync(info at example.org): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0 [0x7f9fbc8489f2] ->
/usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x37)
[0x7f9fbc848ae7] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0)
[0x7f9fbc848e03] ->
/usr/lib/dovecot/libdove...
2020 Oct 11
2
Preparing for replication: dsync-local(testaccount): Panic: file mbox-lock.c
...lication between these two
servers?
[1]
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
[2]
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
dsync-local(testaccount): Panic: file mbox-lock.c: line 799 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
dsync-local(testaccount): Error: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0(+0xa192e) [0x7fd4f827992e] ->
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a)
[0x7fd4f827999a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0)
[0x7fd4f8209257] ->
/usr/lib64...
2013 May 31
1
dsync assert failure in 2.2.2
Hi,
with 2.2.2 and today's hg, dsync crashes with
dsync(root): Panic: file ../../../../../src/lib-storage/index/mbox/mbox-lock.c: line 797 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
when I run
USER=root 2.2-hg/bin/dsync -c etc/dovecot.conf -f -o mail_location=mbox:/tmp/imap/fwadmin.tmp:INBOX=/tmp/imap/fwadmin.tmp/INBOX mirror mdbox:/tmp/imap/fwadmin
It seems to happen for all mailboxes that are not empty.
2.2.1 completes the conversion without any complaints.
con...
2013 Jun 10
1
doveadm index crashes when indexing shared mailboxes
...inbox, alt=
doveadm(neil): Info: shared/Exalon/Aandeelhouders: Caching mails seq=1..27
27/27
doveadm(neil): Panic: file mbox-storage.c: line 711
(mbox_transaction_unlock): assertion failed:
(mbox->box.transaction_count
> 0 ||
mbox->mbox_lock_type == F_UNLCK)
doveadm(neil): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x3c0ba) [0x7fb91d7460ba] ->
/usr/lib/dovecot/libdovecot .so.0(default_fatal_handler+0x2a)
[0x7fb91d74617a] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7fb91d71d85a] -> /usr/lib/ dovecot/libdovecot...
2005 Sep 18
1
Can't connect to auth server at default: Connection refused
...export/mail/c/37/sau04djp/INBOX:
No such file or directory (when there is!)
2) mbox sync: UID inserted in the middle of mailbox (especially with
.prayer folders - configuration folders for our Webmail)
3) file mbox-lock.c: line 505 (mbox_lock): assertion failed: (lock_type
== F_RDLCK || ibox->mbox_lock_type != F_RDLCK)
presumably some of these are fixed in alpha2.
Best Wishes,
Chris
--
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin, c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading, Tel: +44 (0)118 37...
2017 Sep 16
2
dsync panic in mbox_lock
...etup replication with dovecot-2.2.29.1, and for some
users, I get a reproductible panic:
# doveadm -v -o plugin/mail_replica=remoteprefix:root at mail2.example.net
sync -d -u jdoe
dsync-local(jdoe): Panic: file mbox-lock.c: line 799 (mbox_lock):
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
F_RDLCK)
Abort
User is not overquota, and filesystem permissions are correct.
kernel trace shows it happens just after a stat() on INBOX/dovecot.ind
ex.log. Here is doveadm backtrace:
#0 0x00007f7ff650e6fa in _lwp_kill () from /lib/libc.so.12
#1 0x00007f7ff650e385 in abort () from /lib/libc...
2005 Oct 21
1
1.0alpha4: mbox-lock asserts and cores
...ng
a few of the following asserts:
imap(user): file mbox-lock.c: line 379 (mbox_lock_fcntl):
assertion failed: (lock_type == F_UNLCK)
Gdb info on a couple of the cores is attached. It looks
like the arg lock_type for mbox_lock_fcntl() is not getting
passed in correctly, like the enum "enum mbox_lock_type type"
in mbox_lock_list() is not getting set or used correctly so
that lock_data[type].func is wrong. Hmmm.
My setup: Solaris 9, mbox, dovecot built with gcc 4.0.2.
The filesystem for INBOXes is NFS mounted from another Solaris 9
system, but the index files reside on local filesystems.
My se...
2016 Apr 21
2
Setting up replication?
On 4/21/2016 04:33, Aropalo Tommi wrote:
>> I'm trying to set up replication between two servers and I've hit a
>> snag. I have two users and am using mbox files. If anybody has a
>> sample config file for a simple system like mine I would really be
>> grateful to see it.
>> Thanks,
>> The error I'm getting is:
>> Mar 23 14:07:31 knute2
2017 Sep 27
0
dsync: assert panic on mbox // no INBOX sync on hybrid mbox/maildir
...INBOXes.
>
> 2) doveadm sync -f -m INBOX -u david tcp:otherhost
> Does not touch INBOXes
>
> 3) doveadm sync -n '#mbox/' -f -u david tcp:otherhost
> dsync-local(david): Panic: file mbox-lock.c: line 800 (mbox_lock):
> assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
> F_RDLCK)
>
> I added some debug code, the assertion failure is being triggered by a
> call to mbox-lock() with:
> locktype=F_WRCLK mbox->mbox_lock_type=F_RDLCK, mbox->external_transactions=1
>
> The config files on the 2 hosts only differ by the hostnames they'...
2005 Oct 14
0
1.0a3: assert and core dump
...l.error] imap(epmccull): Corrupted index cache file /home/students/e/epmccull/.imap/INBOX/dovecot.index.cache: used_file_size too small
Oct 14 11:59:39 emerald dovecot: [ID 107833 mail.error] imap(epmccull): file mbox-lock.c: line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
Attached is a gdb session on the core dump. Thanks.
Jeff Earickson
Colby College
-------------- next part --------------
Script started on Fri Oct 14 13:02:45 2005
%gdb imap core.epmccull
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the G...
2004 Dec 01
2
1.0-test CVS HEAD index problems
...gin: Login: jtl [69.x.x.x]
dovecot: Dec 01 13:43:59 Error: IMAP(jtl): Corrupted index cache file
/users/j/t/jtl/.i
map/INBOX/dovecot.index.cache: indexid changed
dovecot: Dec 01 13:47:24 Error: IMAP(jtl): file mbox-lock.c: line 493
(mbox_lock): asse
rtion failed: (lock_type == F_RDLCK || ibox->mbox_lock_type != F_RDLCK)
dovecot: Dec 01 13:47:25 Error: child 17528 (imap) killed with signal 6
dovecot: Dec 01 13:47:41 Info: imap-login: Login: jtl [69.x.x.x]
dovecot: Dec 01 13:50:49 Error: IMAP(jtl): UIDVALIDITY changed
(1101926435 -> 110192703
6) in mbox file /var/spool/mail/j/t/jtl
dovecot: Dec 01 13...
2005 Apr 27
0
Assertion Failures in Current CVS version
...571103)
dovecot: Apr 26 23:13:30 Error: 3536 IMAP(support): UIDVALIDITY changed (1114570968 -> 1114571601) in mbox file /mailhome/new/m/2/support/mbox
dovecot: Apr 26 23:13:30 Error: 3536 IMAP(support): file mbox-lock.c: line 518 (mbox_lock): assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type != F_RDLCK)
dovecot: Apr 26 23:13:31 Error: child 3536 (imap) killed with signal 6
(gdb) bt full
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xbffff518 in ?? ()
No symbol table info available.
#2 0x00000006 in ?? ()
No symbol table info available.
#3 0x00000dd0 in ?? ()
No symbo...
2004 Sep 28
3
Moving mail dirs
...[Dovecot] Re: More test46 feedback
On 28.9.2004, at 00:29, dovecot at spam.turbolink.net wrote:
> Here's another error message I just started getting with test46:
>
> Error: POP3(test2): file mbox-lock.c: line 493 (mbox_lock): assertion
> failed: (lock_type == F_RDLCK ||ibox->mbox_lock_type != F_RDLCK)
Could you get gdb backtrace from this? I know this happens when you try
to copy a message into the same mbox, but why would anyone do that?
> I haven't seen the combined X-Status/X-UID nor the other log
> corruption "Append with UID xxx, but next_uid = xxx" that...
2017 Sep 16
0
dsync panic in mbox_lock
...2.2.29.1, and for some
> users, I get a reproductible panic:
>
> # doveadm -v -o plugin/mail_replica=remoteprefix:root at mail2.example.net
> sync -d -u jdoe
> dsync-local(jdoe): Panic: file mbox-lock.c: line 799 (mbox_lock):
> assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
> F_RDLCK)
> Abort
>
> User is not overquota, and filesystem permissions are correct.
>
> kernel trace shows it happens just after a stat() on INBOX/dovecot.ind
> ex.log. Here is doveadm backtrace:
>
> #0 0x00007f7ff650e6fa in _lwp_kill () from /lib/libc.so.12
>...