[Dovecot] fts_squat + virtual => crash

intrigeri intrigeri at boum.org
Fri Jul 24 13:07:27 EEST 2009


Hi,

dovecot's imap process segfaults when I search a virtual mailbox using
the fts_squat plugin. Is this supposed to work, or a known bug?
I've seen some changes commited to fts_solr a couple of months ago
that where supposed to fix search issues on virtual mailboxes, maybe
fts_squat needs to be fixed to?

log
===

rawlog
------

3551 SELECT "INBOX.virtual.unseen"
3552 UID SEARCH TEXT "catalyst"

syslog
------

11:34 kernel: [78583.208983] imap[29376]: segfault at 0 ip 0 sp 7fff9b3e1698 error 14 in imap[400000+f4000]
11:34 dovecot: dovecot: child 29376 (imap) killed with signal 11 (core dumps disabled)

backtrace
=========

As I'm using Debian's 1.2.1 package, the debugging symbols
are stripped. Tell me if a backtrace with debugging symbols enabled
would help debugging this problem.

Here's the backtrace anyway:

(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00007ff134163fbc in ?? () from /usr/lib/dovecot/modules/imap/lib20_fts_plugin.so
No symbol table info available.
#2  0x00007ff1341647a5 in ?? () from /usr/lib/dovecot/modules/imap/lib20_fts_plugin.so
No symbol table info available.
#3  0x0000000000429546 in imap_search_start ()
No symbol table info available.
#4  0x00000000004207e8 in cmd_search ()
No symbol table info available.
#5  0x000000000042347c in ?? ()
No symbol table info available.
#6  0x000000000042352d in ?? ()
No symbol table info available.
#7  0x00000000004236a5 in client_handle_input ()
No symbol table info available.
#8  0x000000000042403f in client_input ()
No symbol table info available.
#9  0x00000000004ad67b in io_loop_handler_run ()
No symbol table info available.
#10 0x00000000004acaf8 in io_loop_run ()
No symbol table info available.
#11 0x000000000042c04b in main ()

dovecot -n output
=================

# 1.2.1: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-vserver-amd64 x86_64 Debian 5.0.1 
log_timestamp: %Y-%m-%d %H:%M:%S 
protocols: imap
listen: 127.0.0.1
ssl: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
valid_chroot_dirs: /var/mail
first_valid_uid: 1222
last_valid_uid: 1222
first_valid_gid: 1222
last_valid_gid: 1222
mail_privileged_group: mail
mail_location: maildir:~/Maildir
maildir_very_dirty_syncs: yes
mail_drop_priv_before_exec: yes
mail_plugins: fts fts_squat virtual
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: private
  separator: .
  prefix: INBOX.virtual.
  location: virtual:~/Maildir/virtual:LAYOUT=maildir++:INDEX=~/Maildir/virtual/indices
  list: yes
  subscriptions: yes
auth default:
  passdb:
    driver: pam
  passdb:
    driver: passwd-file
    args: /etc/dovecot/userdb
  userdb:
    driver: passwd
  userdb:
    driver: passwd-file
    args: /etc/dovecot/userdb
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 432
      user: root
      group: mailgroup
plugin:
  sieve: ~/.dovecot.sieve
  sieve_dir: ~/sieve
  fts: squat
  fts_squat: partial=4 full=10

Bye,
-- 
  intrigeri <intrigeri at boum.org>
  | gnupg key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | Do not be trapped by the need to achieve anything.
  | This way, you achieve everything.


More information about the dovecot mailing list