[Dovecot] F_UNLCK assertion

Martin Preen preen at informatik.uni-freiburg.de
Wed Nov 30 18:13:46 EET 2005


Hello,

> I upgraded from alpha3 to alpha4 yesterday, and I am seeing
> a few of the following asserts:
> 
> imap(user): file mbox-lock.c: line 379 (mbox_lock_fcntl): 
> assertion failed: (lock_type == F_UNLCK)

I'm getting this error too after upgrading to alpha4.
 
> 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 setting for "lock_method = fcntl", per your release notes.
> I did not change the default setting of "mmap_disable = no"
> because my index files are local.

The above also applies to our installation.

Greetings.
Martin

---------------------------------------------------------------
Martin Preen, Universitaet Freiburg, Institut fuer Informatik
Georges-Koehler-Allee 52, Raum 00-006, 79110 Freiburg, Germany

phone: ++49 761 203-8250      preen at informatik.uni-freiburg.de
fax: ++49 761 203-8242        www.informatik.uni-freiburg.de


More information about the dovecot mailing list