[Dovecot] dovecot-1.1.0: child (imap) killed with signal 11

Thomas Zajic zlatko at zlatko.fdns.net
Sat Jun 21 15:26:46 EEST 2008


Upgraded to dovecot-1.1.0 today, and activated the fts_lucene plugin. On
login with Thunderbird-2.0.0.14, dovecot crashes over and over:

Jun 21 14:07:17 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:17 airframe dovecot: child 5712 (imap) killed with signal 11
Jun 21 14:07:17 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:17 airframe dovecot: child 5715 (imap) killed with signal 11
Jun 21 14:07:17 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:17 airframe dovecot: child 5718 (imap) killed with signal 11
Jun 21 14:07:17 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:17 airframe dovecot: child 5721 (imap) killed with signal 11
Jun 21 14:07:17 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:17 airframe dovecot: child 5724 (imap) killed with signal 11
Jun 21 14:07:18 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:18 airframe dovecot: child 5735 (imap) killed with signal 11
Jun 21 14:07:18 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:18 airframe dovecot: child 5738 (imap) killed with signal 11
Jun 21 14:07:18 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:18 airframe dovecot: child 5741 (imap) killed with signal 11
Jun 21 14:07:18 airframe dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=192.168.1.1, lip=192.168.1.3, TLS
Jun 21 14:07:18 airframe dovecot: child 5744 (imap) killed with signal 11


[root at airframe]:~# dovecot --version
1.1.0

[root at airframe]:~# dovecot -n
# 1.1.0: /usr/local/etc/dovecot.conf
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
login_greeting_capability: yes
mail_max_userip_connections: 20
verbose_proctitle: yes
mail_location: maildir:/home/%u/Maildir:INBOX=/home/%u/Maildir/.INBOX
fsync_disable: yes
mail_drop_priv_before_exec: yes
mail_plugins: expire fts fts_squat fts_lucene
dict_db_config: /usr/local/etc/dovecot-db.conf
auth default:
  mechanisms: plain digest-md5 cram-md5
  passdb:
    driver: shadow
    args: blocking=yes
  passdb:
    driver: passwd-file
    args: /usr/local/etc/dovecot-passwd
  userdb:
    driver: passwd
    args: blocking=yes
  socket:
    type: listen
    master:
      path: /usr/local/var/run/dovecot/auth-master
      mode: 384
plugin:
  expire: Trash 30 Trash/* 30 Junk 60
  expire_dict: proxy::expire
  fts: squat lucene
  fts_squat: partial=4 full=6
dict:
  expire: db:/usr/local/var/lib/dovecot/expire.db

[root at airframe]:~# gdb /usr/local/libexec/dovecot/imap ~user/core 
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-slackware-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/local/lib/libgc.so.1...done.
Loaded symbols for /usr/local/lib/libgc.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/stow/dovecot-1.1.0/lib/dovecot/imap/lib20_expire_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib20_expire_plugin.so
Reading symbols from /usr/local/stow/dovecot-1.1.0/lib/dovecot/imap/lib20_fts_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib20_fts_plugin.so
Reading symbols from /usr/local/stow/dovecot-1.1.0/lib/dovecot/imap/lib21_fts_lucene_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib21_fts_lucene_plugin.so
Reading symbols from /usr/local/lib/libclucene.so.0...done.
Loaded symbols for /usr/local/lib/libclucene.so.0
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/local/stow/dovecot-1.1.0/lib/dovecot/imap/lib21_fts_squat_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so
Core was generated by `imap [user 192.168.1.1]'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7faecd2 in lucene_index_select_mailbox (index=0x0, mailbox_name=0x815c1b0 "INBOX") at lucene-wrapper.cc:206
206		i_free(index->mailbox_name);
(gdb) bt full
#0  0xb7faecd2 in lucene_index_select_mailbox (index=0x0, mailbox_name=0x815c1b0 "INBOX") at lucene-wrapper.cc:206
No locals.
#1  0xb7fadcb6 in fts_backend_select (backend=0x8192fa0) at fts-backend-lucene.c:37
No locals.
#2  0xb7fadd6b in fts_backend_lucene_expunge (_backend=0x8192fa0, mail=0x8199028) at fts-backend-lucene.c:164
	backend = (struct lucene_fts_backend *) 0x80f3340
#3  0xb7fb3841 in fts_backend_expunge (backend=0x8192fa0, mail=0x8199028) at fts-api.c:118
No locals.
#4  0xb7fb4908 in fts_mail_expunge (_mail=0x8199028) at fts-storage.c:518
	fbox = (struct fts_mailbox *) 0x8164e10
#5  0x0806130c in imap_expunge (box=0x815c028, next_search_arg=0x0) at imap-expunge.c:31
	ctx = (struct mail_search_context *) 0x8171b58
	t = (struct mailbox_transaction_context *) 0x8192eb0
	mail = (struct mail *) 0x8199028
	search_arg = {next = 0x0, type = SEARCH_FLAGS, value = {subargs = 0x0, seqset = 0x0, str = 0x0, time = 0, size = 0, 
    flags = MAIL_DELETED, keywords = 0x0}, context = 0x0, hdr_field_name = 0x0, not = 0, match_always = 0, result = -1}
	failed = <value optimized out>
#6  0x0805b505 in cmd_expunge (cmd=0x8165028) at cmd-expunge.c:62
	client = (struct client *) 0x8162f50
#7  0x0805f8ed in client_command_input (cmd=0x8165028) at client.c:580
	client = (struct client *) 0x8162f50
	command = <value optimized out>
	__PRETTY_FUNCTION__ = "client_command_input"
#8  0x0805f9b9 in client_command_input (cmd=0x8165028) at client.c:629
	client = (struct client *) 0x8162f50
	command = (struct command *) 0x4
	__PRETTY_FUNCTION__ = "client_command_input"
#9  0x080601af in client_handle_input (client=0x8162f50) at client.c:670
	_data_stack_cur_id = 3
	ret = <value optimized out>
	remove_io = <value optimized out>
	handled_commands = false
#10 0x080603e5 in client_input (client=0x8162f50) at client.c:725
	cmd = <value optimized out>
	output = (struct ostream *) 0x8164f64
	bytes = 11
	__PRETTY_FUNCTION__ = "client_input"
#11 0x080d1c21 in io_loop_handler_run (ioloop=0x8124f60) at ioloop-epoll.c:201
	ctx = <value optimized out>
	event = (const struct epoll_event *) 0x815c800
	list = (struct io_list *) 0x8126fa0
	io = (struct io_file *) 0x8124dc0
	tv = {tv_sec = 1799, tv_usec = 999940}
	t_id = 2
	msecs = <value optimized out>
	ret = 1
	i = 0
	j = 0
	call = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#12 0x080d0dd9 in io_loop_run (ioloop=0x8124f60) at ioloop.c:308
No locals.
#13 0x080679f6 in main (argc=Cannot access memory at address 0x4
) at main.c:293
No locals.
Current language:  auto; currently c++
(gdb) 

[root at airframe]:~# stowes list lucene
Listing packages in /usr/local/stow matching [ lucene ] (1 match):
I clucene-core-0.9.20

I've disabled Lucene indexes for the time being - don't know if/when I'm
going to use them anyway, just checking out the shiny new features. :-)


Bye,
Thomas


More information about the dovecot mailing list