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".
On Aug 1, 2008, at 4:36 PM, Ralf Hildebrandt wrote:> #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:424What were the error messages for this user? What happened here is that dovecot.index was broken (why?) and dovecot.index.log file didn't exist (why?) which caused the crash when trying to open the index. Fixed the crash itself anyway: http://hg.dovecot.org/dovecot-1.1/rev/1c010fadc9c9 -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080804/b2776d69/attachment-0002.bin>
* Timo Sirainen <tss at iki.fi>:> On Aug 1, 2008, at 4:36 PM, Ralf Hildebrandt wrote: > >> #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 > > What were the error messages for this user? What happened here is that > dovecot.index was broken (why?) and dovecot.index.log file didn't exist > (why?) which caused the crash when trying to open the index. Fixed the > crash itself anyway: http://hg.dovecot.org/dovecot-1.1/rev/1c010fadc9c9>From the logs:Aug 1 15:01:09 postamt dovecot: imap-login: Login: user=<loginname>, method=PLAIN, rip=141.42.4.251, lip=141.42.4.250 Aug 1 15:02:16 postamt dovecot: IMAP(loginname): copy: uid=118, dest=Administrator, msgid=<mailman.9757.1217560680.10595.mailman at charite.de>, size=2940 Aug 1 15:02:16 postamt dovecot: IMAP(loginname): delete: uid=118, msgid=<mailman.9757.1217560680.10595.mailman at charite.de> Aug 1 15:02:16 postamt dovecot: IMAP(loginname): expunge: uid=118, msgid=<mailman.9757.1217560680.10595.mailman at charite.de>, size=2940 Aug 1 15:02:27 postamt dovecot: IMAP(loginname): delete: uid=54, box=Trash, msgid=<607b88f3ed74c30e75c82536d9c750ce.squirrel at webmail.charite.de> Aug 1 15:02:27 postamt dovecot: IMAP(loginname): expunge: uid=54, box=Trash, msgid=<607b88f3ed74c30e75c82536d9c750ce.squirrel at webmail.charite.de>, size=4116 Aug 1 15:02:48 postamt dovecot: IMAP(loginname): fscking index file /home/g/z/loginname/Maildir/.Drafts/dovecot.index Aug 1 15:02:51 postamt dovecot: imap-login: Login: user=<loginname>, method=PLAIN, rip=141.42.4.251, lip=141.42.4.250 Aug 1 15:08:52 postamt dovecot: IMAP(loginname): Disconnected: Logged out bytes=1356/18528 The core file was written: 2008-08-01 15:02 -- 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 A good rule of thumb to keep in mind is that any field of study which has "science" in its name is not a science.
And another one 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 22686] #0 array_idx_modifiable_i (array=0x92609ec, idx=0) at array.c:11 11 if (pos >= array->buffer->used) { #0 array_idx_modifiable_i (array=0x92609ec, idx=0) at array.c:11 #1 0x080c4788 in mail_index_sync_ext_reset (ctx=0xbf9dab10, u=0xbf9daa80) at mail-index-sync-ext.c:518 #2 0x080b65f9 in mail_index_sync_record (ctx=0xbf9dab10, hdr=0x9260348, data=0x9260fb8) at mail-index-sync-update.c:546 #3 0x080b6bef in mail_index_sync_map (_map=0x925f468, type=MAIL_INDEX_SYNC_HANDLER_HEAD, force=true) at mail-index-sync-update.c:828 #4 0x080b048f in mail_index_map (index=0x925f430, type=MAIL_INDEX_SYNC_HANDLER_HEAD) at mail-index-map.c:953 #5 0x080acec3 in mail_index_try_open (index=0x925f430) at mail-index.c:290 #6 0x080ad21f in mail_index_open (index=0x925f430, flags=49, lock_method=FILE_LOCK_METHOD_FCNTL) at mail-index.c:354 #7 0x080a11f2 in index_storage_mailbox_open (ibox=0x925ee50) at index-storage.c:383 #8 0x080709ab in maildir_open (storage=0x9257cc0, name=0x925c6ee "Drafts", flags=0) at maildir-storage.c:448 #9 0x08070b14 in maildir_mailbox_open (_storage=0x9257cc0, name=0x925c6ee "Drafts", input=0x0, flags=0) at maildir-storage.c:512 #10 0xb7e411ca in mail_log_mailbox_open (storage=0x9257cc0, name=0x925c6ee "Drafts", input=0x0, flags=0) at mail-log-plugin.c:450 #11 0xb7e5266a in quota_mailbox_open (storage=0x9257cc0, name=0x925c6ee "Drafts", input=0x0, flags=0) at quota-storage.c:366 #12 0x080a52b9 in mailbox_open (storage=0x9257cc0, name=0x925c6ee "Drafts", input=0x0, flags=0) at mail-storage.c:459 #13 0x08060cbc in cmd_select_full (cmd=0x92585f0, readonly=false) at cmd-select.c:32 #14 0x08060ea9 in cmd_select (cmd=0x92585f0) at cmd-select.c:88 #15 0x0806276c in client_command_input (cmd=0x92585f0) at client.c:580 #16 0x08062803 in client_command_input (cmd=0x92585f0) at client.c:629 #17 0x08062dbd in client_handle_input (client=<value optimized out>) at client.c:670 #18 0x0806323e in client_input (client=0x92583a8) at client.c:725 #19 0x080dd8d0 in io_loop_handler_run (ioloop=0x92549b0) at ioloop-epoll.c:203 #20 0x080dcd40 in io_loop_run (ioloop=0x92549b0) at ioloop.c:320 #21 0x0806b3aa in main (argc=) at main.c:293
And the fourth and last one 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 22723] #0 array_idx_modifiable_i (array=0x9feabec, idx=0) at array.c:11 11 if (pos >= array->buffer->used) { #0 array_idx_modifiable_i (array=0x9feabec, idx=0) at array.c:11 #1 0x080c4788 in mail_index_sync_ext_reset (ctx=0xbf94fa80, u=0xbf94f9f0) at mail-index-sync-ext.c:518 #2 0x080b65f9 in mail_index_sync_record (ctx=0xbf94fa80, hdr=0x9fead40, data=0x9fed0e0) at mail-index-sync-update.c:546 #3 0x080b6bef in mail_index_sync_map (_map=0x9fdc648, type=MAIL_INDEX_SYNC_HANDLER_HEAD, force=true) at mail-index-sync-update.c:828 #4 0x080b048f in mail_index_map (index=0x9fdc610, type=MAIL_INDEX_SYNC_HANDLER_HEAD) at mail-index-map.c:953 #5 0x080acec3 in mail_index_try_open (index=0x9fdc610) at mail-index.c:290 #6 0x080ad21f in mail_index_open (index=0x9fdc610, flags=49, lock_method=FILE_LOCK_METHOD_FCNTL) at mail-index.c:354 #7 0x080a11f2 in index_storage_mailbox_open (ibox=0x9fd8e50) at index-storage.c:383 #8 0x080709ab in maildir_open (storage=0x9fd1cc0, name=0x9fd66ee "Drafts", flags=0) at maildir-storage.c:448 #9 0x08070b14 in maildir_mailbox_open (_storage=0x9fd1cc0, name=0x9fd66ee "Drafts", input=0x0, flags=0) at maildir-storage.c:512 #10 0xb7eb61ca in mail_log_mailbox_open (storage=0x9fd1cc0, name=0x9fd66ee "Drafts", input=0x0, flags=0) at mail-log-plugin.c:450 #11 0xb7ec766a in quota_mailbox_open (storage=0x9fd1cc0, name=0x9fd66ee "Drafts", input=0x0, flags=0) at quota-storage.c:366 #12 0x080a52b9 in mailbox_open (storage=0x9fd1cc0, name=0x9fd66ee "Drafts", input=0x0, flags=0) at mail-storage.c:459 #13 0x08060cbc in cmd_select_full (cmd=0x9fd25f0, readonly=false) at cmd-select.c:32 #14 0x08060ea9 in cmd_select (cmd=0x9fd25f0) at cmd-select.c:88 #15 0x0806276c in client_command_input (cmd=0x9fd25f0) at client.c:580 #16 0x08062803 in client_command_input (cmd=0x9fd25f0) at client.c:629 #17 0x08062dbd in client_handle_input (client=<value optimized out>) at client.c:670 #18 0x0806323e in client_input (client=0x9fd23a8) at client.c:725 #19 0x080dd8d0 in io_loop_handler_run (ioloop=0x9fce9b0) at ioloop-epoll.c:203 #20 0x080dcd40 in io_loop_run (ioloop=0x9fce9b0) at ioloop.c:320 #21 0x0806b3aa in main (argc=) at main.c:293