[Dovecot] now rc27 Re: rc22 segv when over quota

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Thu Mar 15 15:32:00 EET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 23 Feb 2007, Steffen Kaiser wrote:

Hello,

(This time I saved the core file.)

again killed with signal 11 when hard fs quota got reached.

I started three mailutil copy processes in parallel, then the segv.

ar/cache/dovecot/1022/index
dovecot: Mar 15 14:14:53 Info: IMAP(dvtest2) [30716]: maildir: 
root=/home/dvtest2/MailDir, index=/var/cache/dovecot/1022/index, 
control=/var/cache/dovecot/1022/control, inbox=
dovecot: Mar 15 14:14:53 Info: IMAP(dvtest2) [30716]: fs quota add storage 
dir = /home/dvtest2/MailDir
dovecot: Mar 15 14:14:53 Info: IMAP(dvtest2) [30716]: fs quota block 
device = /dev/mapper/mailstud-mailstud
dovecot: Mar 15 14:14:53 Info: IMAP(dvtest2) [30716]: fs quota mount point 
= /home

[SNIP]

dovecot: Mar 15 14:14:59 Info: IMAP(dvtest2) [30717]: fs quota add storage 
dir = /home/dvtest2/MailDir
dovecot: Mar 15 14:14:59 Info: IMAP(dvtest2) [30717]: fs quota block 
device = /dev/mapper/mailstud-mailstud
dovecot: Mar 15 14:14:59 Info: IMAP(dvtest2) [30717]: fs quota mount point 
= /home
dovecot: Mar 15 14:14:59 Error: child 30716 (imap) killed with signal 11
dovecot: Mar 15 14:14:59 Info: IMAP(skaise2a) [30692]: Disconnected: 
Logged out
dovecot: Mar 15 14:15:04 Info: IMAP(skaise2a) [30710]: Disconnected: 
Logged out
dovecot: Mar 15 14:15:04 Info: IMAP(dvtest2) [30717]: Disconnected: Logged 
out

Another client has been authorized and instantly another client got the 
segv.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib10_quota_plugin.so...done.
Loaded symbols for 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib10_quota_plugin.so
Reading symbols from 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib11_imap_quota_plugin.so...done.
Loaded symbols for 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib11_imap_quota_plugin.so
Reading symbols from 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib20_mail_log_plugin.so...done.
Loaded symbols for 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib20_mail_log_plugin.so
Reading symbols from 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib20_zlib_plugin.so...done.
Loaded symbols for 
/usr/local/dovecot.rc27/lib/dovecot/imap/lib20_zlib_plugin.so
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Core was generated by `imap [dvtest2 127.0.0.1]'.
Program terminated with signal 11, Segmentation fault.
#0  i_stream_read (stream=0x0) at istream.c:54
54              if (stream->closed)
(gdb) bt full
#0  i_stream_read (stream=0x0) at istream.c:54
         _stream = <value optimized out>
#1  0x08056b19 in cmd_append_continue_message (cmd=0x80e1104) at 
cmd-append.c:345
         client = (struct client *) 0x80e10c0
         ctx = (struct cmd_append_context *) 0x80e4320
         size = <value optimized out>
         ret = <value optimized out>
#2  0x08057323 in client_input (context=0x80e10c0) at cmd-append.c:70
         client = (struct client *) 0x80e10c0
         cmd = (struct client_command_context *) 0x80e1104
#3  0x080bb732 in io_loop_handler_run (ioloop=0x80de9b0) at 
ioloop-poll.c:199
         ctx = (struct ioloop_handler_context *) 0x80de9d8
         pollfd = <value optimized out>
         tv = {tv_sec = 3, tv_usec = 578475}
         io = (struct io *) 0x80e2278
         t_id = 2
         msecs = <value optimized out>
         ret = 0
         call = <value optimized out>
#4  0x080ba9f8 in io_loop_run (ioloop=0x80de9b0) at ioloop.c:323
No locals.
#5  0x08063bf0 in main (argc=Cannot access memory at address 0x0
) at main.c:287
         home = 0x0

=================

# /usr/local/dovecot.rc27/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot/dovecot.log
protocols: imap imaps pop3 pop3s
ssl_ca_file: /etc/ssl/certs/ca.crt
ssl_cert_file(default): /etc/ssl/certs/imap.pem
ssl_cert_file(imap): /etc/ssl/certs/imap.pem
ssl_cert_file(pop3): /etc/ssl/certs/pop3.pem
ssl_key_file(default): /etc/ssl/private/imap.key
ssl_key_file(imap): /etc/ssl/private/imap.key
ssl_key_file(pop3): /etc/ssl/private/pop3.key
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot//login
login_executable(default): 
/usr/local/dovecot.rc27/libexec/dovecot/imap-login
login_executable(imap): /usr/local/dovecot.rc27/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/dovecot.rc27/libexec/dovecot/pop3-login
login_log_format_elements: %p: user=<%u> method=%m rip=%r lip=%l %c
verbose_proctitle: yes
first_valid_uid: 1000
mail_location: 
maildir:%h/MailDir:CONTROL=/var/cache/dovecot/%i/control:INDEX=/var/cache/dovecot/%i/index
mail_debug: yes
dotlock_use_excl: yes
maildir_copy_with_hardlinks: yes
maildir_copy_preserve_filename: yes
mail_drop_priv_before_exec: yes
mail_executable(default): /usr/local/dovecot.rc27/libexec/dovecot/imap
mail_executable(imap): /usr/local/dovecot.rc27/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot.rc27/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota mail_log zlib
mail_plugins(imap): quota imap_quota mail_log zlib
mail_plugins(pop3): quota mail_log
mail_plugin_dir(default): /usr/local/dovecot.rc27/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot.rc27/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot.rc27/lib/dovecot/pop3
mail_log_prefix: %Us(%u) [%p]:
mail_log_max_lines_per_sec: 30
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %u
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): oe-ns-eoh
namespace:
   type: private
   separator: .
   inbox: yes
   hidden: yes
auth default:
   mechanisms: plain login
   cache_size: 10
   username_chars: 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890
   verbose: yes
   debug: yes
   debug_passwords: yes
   passdb:
     driver: ldap
     args: /usr/local/dovecot.rc26/etc/dovecot-ldap.conf
   passdb:
     driver: shadow
   userdb:
     driver: prefetch
   userdb:
     driver: ldap
     args: /usr/local/dovecot.rc26/etc/dovecot-ldap.conf
   userdb:
     driver: passwd-file
     args: /etc/passwd
   socket:
     type: listen
     client:
       path: /var/run/dovecot/auth-client
       mode: 432
     master:
       path: /var/run/dovecot/auth-master
       mode: 432
       group: mail
plugin:
   quota: fs

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRflK0i9SORjhbDpvAQKBNwgA3hCdPeqVJq/fyHNXWuTAc9NJ8lguYrdp
cxa7TOrgLIf1I2wM9zwnoTDFJXcuFv2rqRX82fCBQiz2JebhsnevyUvny4jtJHlf
vQiK9ufanFNzbeqYJkrBU065rz8sVgiXMHm01CtusZQK+3ylEXgxofWoeel/U+va
2aX/xBSgR/womVhr6EMRLZnHWJsZ3OV6GGC1TvvlLo5myCspngtL3oBKg5D8uNIG
b2LPMQe9nAHt1lkQq5dEa6+1Dg69tLhViJTCdg2F4MI/UBTlt01dxa9mhsXXjcnH
lugKl0d2WjDYJ+PDO0BqIPnKTww2OEN34pdjyUiNMoDS8MWvi7/rnw==
=rxRi
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.zip
Type: application/zip
Size: 1463 bytes
Desc: 
Url : http://dovecot.org/pipermail/dovecot/attachments/20070315/9a6a8d04/attachment.zip 


More information about the dovecot mailing list