[Dovecot] 1.1.2: imap crash with SIGSEGV

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Fri Aug 1 16:36:04 EEST 2008


GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Reading symbols from /lib/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libdl-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /lib/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libc-2.7.so...done.
done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.7.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/lib/dovecot/imap/lib10_quota_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib11_trash_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib11_trash_plugin.so
Reading symbols from /usr/local/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/lib/dovecot/imap/lib20_mail_log_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib20_mail_log_plugin.so
Reading symbols from /usr/local/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 `/usr/local/libexec/dovecot/imap'.
Program terminated with signal 11, Segmentation fault.
[New process 23474]
#0  mail_transaction_log_file_lock (file=0x0)
    at mail-transaction-log-file.c:257
257		if (file->locked)
#0  mail_transaction_log_file_lock (file=0x0)
    at mail-transaction-log-file.c:257
#1  0x080ba2fd in mail_transaction_log_lock_head (log=0x91cfd68)
    at mail-transaction-log.c:419
#2  0x080ba36d in mail_transaction_log_sync_lock (log=0x91cfd68, 
    file_seq_r=0xbff348a4, file_offset_r=0xbff34880)
    at mail-transaction-log.c:451
#3  0x080c44bb in mail_index_fsck (index=0x91cf828) at mail-index-fsck.c:424
#4  0x080b0296 in mail_index_map (index=0x91cf828, 
    type=MAIL_INDEX_SYNC_HANDLER_HEAD) at mail-index-map.c:888
#5  0x080acde3 in mail_index_try_open (index=0x91cf828) at mail-index.c:290
#6  0x080ad0a7 in mail_index_open (index=0x91cf828, flags=49, 
    lock_method=FILE_LOCK_METHOD_FCNTL) at mail-index.c:338
#7  0x080a1112 in index_storage_mailbox_open (ibox=0x91d02b0)
    at index-storage.c:383
#8  0x0807094b in maildir_open (storage=0x91bacc0, name=0x91bf6ee "Drafts", 
    flags=0) at maildir-storage.c:448
#9  0x08070ab4 in maildir_mailbox_open (_storage=0x91bacc0, 
    name=0x91bf6ee "Drafts", input=0x0, flags=0) at maildir-storage.c:512
#10 0xb7ea61ca in mail_log_mailbox_open (storage=0x91bacc0, 
    name=0x91bf6ee "Drafts", input=0x0, flags=0) at mail-log-plugin.c:450
#11 0xb7eb761a in quota_mailbox_open (storage=0x91bacc0, 
    name=0x91bf6ee "Drafts", input=0x0, flags=0) at quota-storage.c:366
#12 0x080a51d9 in mailbox_open (storage=0x91bacc0, name=0x91bf6ee "Drafts", 
    input=0x0, flags=0) at mail-storage.c:459
#13 0x08060c89 in cmd_select_full (cmd=0x91bb5f0, readonly=false)
    at cmd-select.c:32
#14 0x08060e69 in cmd_select (cmd=0x91bb5f0) at cmd-select.c:87
#15 0x0806271c in client_command_input (cmd=0x91bb5f0) at client.c:580
#16 0x080627b3 in client_command_input (cmd=0x91bb5f0) at client.c:629
#17 0x08062d6d in client_handle_input (client=<value optimized out>)
    at client.c:670
#18 0x080631ee in client_input (client=0x91bb3a8) at client.c:725
#19 0x080dd730 in io_loop_handler_run (ioloop=0x91b79b0) at ioloop-epoll.c:201
#20 0x080dcc10 in io_loop_run (ioloop=0x91b79b0) at ioloop.c:308
#21 0x0806b35a in main (argc=152894696, argv=0xbff34f34, envp=0xbff34f3c)
    at main.c:293

-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)          snickebo at charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
"FOOT-AND-MOUTH BELIEVED TO BE FIRST VIRUS UNABLE TO SPREAD THROUGH
MICROSOFT OUTLOOK Researchers Shocked to Finally Find Virus That Email
App Doesn't Like".


More information about the dovecot mailing list