[Dovecot] sparc quota bug
Hi,
I am getting the following error: dovecot: Jul 23 18:04:44 Error: child 7600 (imap) killed with signal 10
How to reproduce: Try to delete or move a mail to another folder. The mail actually gets copied to the other folder but the original isn't removed (when using webmail). If using thunderbird this ends up in an infinite loop creating new mails in the destination folder (without deleting the original) until stopped manually.
When turning off quota or commenting out the "quota: dirsize:storage=1048576" entry it works, just no quotas anymore. :-(
Details: OS: OpenBSD ARCH: sparc64 FS: ffs Dovecot version: 1.0.15 and 1.1.1
If you need more information, please let me know.
@timo: I could provide access to a OpenBSD sparc64 box if it would help debugging the problem. Just send me your public SSH key.
# dovecot -n # 1.0.15: /etc/dovecot.conf base_dir: /var/dovecot/ log_path: /var/log/dovecot.log protocols: imaps pop3s listen: XXX.XXX.XXX.XXX ssl_ca_file: /etc/ssl/ca.crt ssl_cert_file: /etc/ssl/mail.crt ssl_key_file: /etc/ssl/private/mail.key login_dir: /var/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_user: _dovecot first_valid_uid: 10000 first_valid_gid: 100 last_valid_gid: 100 mail_location: mbox:/home/mail/%u/mbox:INBOX=/home/mail/%u/mbox/inbox:INDEX=/var/dovecot/index/%u mbox_write_locks: fcntl mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota trash mail_plugins(imap): quota imap_quota trash mail_plugins(pop3): quota mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: passdb: driver: bsdauth userdb: driver: passwd plugin: quota: dirsize:storage=1048576 trash: /etc/dovecot-trash.conf
# dmesg Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.4-beta (GENERIC.MP) #364: Sun Jul 20 17:33:03 MDT 2008
deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 8589934592 (8192MB)
avail mem = 8369397760 (7981MB)
mainbus0 at root: Sun Fire V440
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
cpu1 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
cpu2 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
cpu2: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
cpu3 at mainbus0: SUNW,UltraSPARC-IIIi (rev 2.4) @ 1062 MHz
cpu3: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
"memory-controller" at mainbus0 not configured
"memory-controller" at mainbus0 not configured
"memory-controller" at mainbus0 not configured
"memory-controller" at mainbus0 not configured
schizo0 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
schizo0: dvma map c0000000-dfffffff, iotdb 5174000-51f4000
pci0 at schizo0
cas0 at pci0 dev 2 function 0 "Sun Cassini" rev 0x20: ivec 0x718,
address 00:03:ba:66:75:d1
brgphy0 at cas0 phy 1: BCM5421 10/100/1000baseT PHY, rev. 1
"ppm" at mainbus0 not configured
schizo1 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 0
schizo1: dvma map c0000000-dfffffff, iotdb 552c000-55ac000
pci1 at schizo1
mpi0 at pci1 dev 2 function 0 "Symbios Logic 53c1030" rev 0x08: ivec 0x740
scsibus0 at mpi0: 16 targets, initiator 7
schizo2 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
schizo2: dvma map c0000000-dfffffff, iotdb 5694000-5714000
pci2 at schizo2
ebus0 at pci2 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
rtc0 at ebus0 addr 70-71: m5819p
pcfiic0 at ebus0 addr 320-321 ivec 0x1b
iic0 at pcfiic0
"SUNW,i2c-imax" at iic0 addr 0xb not configured
"SUNW,i2c-imax" at iic0 addr 0xc not configured
admtemp0 at iic0 addr 0x18: max1617, cannot get control register
"pca9555" at iic0 addr 0x21 not configured
"pca9555" at iic0 addr 0x22 not configured
"pca9555" at iic0 addr 0x23 not configured
"pca9555" at iic0 addr 0x24 not configured
"adm1026" at iic0 addr 0x2e not configured
admtemp1 at iic0 addr 0x32: max1617, cannot get control register
admtemp2 at iic0 addr 0x40: max1617, cannot get control register
admtemp3 at iic0 addr 0x48: max1617, cannot get control register
lmtemp0 at iic0 addr 0x4e: lm75, fails to respond
"spd" at iic0 addr 0x5b not configured
"spd" at iic0 addr 0x5c not configured
"spd" at iic0 addr 0x5d not configured
"spd" at iic0 addr 0x5e not configured
"spd" at iic0 addr 0x63 not configured
"spd" at iic0 addr 0x64 not configured
"spd" at iic0 addr 0x65 not configured
"spd" at iic0 addr 0x66 not configured
"spd" at iic0 addr 0x6b not configured
"spd" at iic0 addr 0x6c not configured
"spd" at iic0 addr 0x6d not configured
"spd" at iic0 addr 0x6e not configured
"spd" at iic0 addr 0x73 not configured
"spd" at iic0 addr 0x74 not configured
"spd" at iic0 addr 0x75 not configured
"spd" at iic0 addr 0x76 not configured
"ics951601" at iic0 addr 0x69 not configured
power0 at ebus0 addr 800-82f ivec 0x1a
com0 at ebus0 addr 3f8-3ff ivec 0x22: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ivec 0x22: ns16550a, 16 byte fifo
"rmc-comm" at ebus0 addr 3e8-3ef ivec 0x22 not configured
cas1 at pci2 dev 2 function 0 "NS Saturn" rev 0x30: ivec 0x78c, address
00:14:4f:1e:d6:b4
gentbi0 at cas1 phy 0: Generic ten-bit interface, rev. 0
"ATI Rage XL" rev 0x27 at pci2 dev 4 function 0 not configured
alipm0 at pci2 dev 6 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz
clock
iic1 at alipm0
ohci0 at pci2 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
0x7a1, version 1.0, legacy support
ohci1 at pci2 dev 11 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
0x7a5, version 1.0, legacy support
pciide0 at pci2 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4:
DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7a6 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus1 targ 0 lun 0:
On Thu, 2008-07-24 at 09:53 +0200, dovecot@lechtermann.net wrote:
Hi,
I am getting the following error: dovecot: Jul 23 18:04:44 Error: child 7600 (imap) killed with signal 10
Could you get gdb backtrace of this crash? See http://dovecot.org/bugreport.html
On Thu, 2008-07-24 at 09:53 +0200, dovecot@lechtermann.net wrote:
I am getting the following error: dovecot: Jul 23 18:04:44 Error: child 7600 (imap) killed with signal 10
How to reproduce: Try to delete or move a mail to another folder. The mail actually gets copied to the other folder but the original isn't removed (when using webmail). If using thunderbird this ends up in an infinite loop creating new mails in the destination folder (without deleting the original) until stopped manually.
When turning off quota or commenting out the "quota: dirsize:storage=1048576" entry it works, just no quotas anymore. :-(
Fixed:
http://hg.dovecot.org/dovecot-1.0/rev/568687e4df02 http://hg.dovecot.org/dovecot-1.1/rev/cb9b476e67f1
participants (2)
-
dovecot@lechtermann.net
-
Timo Sirainen