[Dovecot] Backtrace of /usr/local/libexec/dovecot/imap
My batch file uses: bt full p my_client.command_queue p my_client.command_queue.next p my_client.command_queue.next.next p my_client.command_queue.next.next.next p my_client.command_queue.next.next.next.next p my_client.command_queue.next.next.next.next.next p my_client.command_queue.next.next.next.next.next.next quit
----- Forwarded message from root <root@postamt.charite.de> -----
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/lib20_zlib_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib20_zlib_plugin.so Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libbz2.so.1.0...done. Loaded symbols for /lib/libbz2.so.1.0 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 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Core was generated by `/usr/local/libexec/dovecot/imap'. Program terminated with signal 6, Aborted. [New process 20474] #0 0xb8071424 in __kernel_vsyscall () #0 0xb8071424 in __kernel_vsyscall () No symbol table info available. #1 0xb7f32640 in raise () from /lib/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7f34018 in abort () from /lib/i686/cmov/libc.so.6 No symbol table info available. #3 0x080d6e75 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:150 backtrace = 0x84987a0 "/usr/local/libexec/dovecot/imap [0x80d6e61] -> /usr/local/libexec/dovecot/imap [0x80d6ee2] -> /usr/local/libexec/dovecot/imap [0x80d6879] -> /usr/local/libexec/dovecot/imap(mail_index_view_sync_begin+"... #4 0x080d6ee2 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x80ead2c "file %s: line %d (%s): assertion failed: (%s)", args=0xbfe8c914 "�e\017\b\024\001") at failures.c:430 No locals. #5 0x080d6879 in i_panic ( format=0x80ead2c "file %s: line %d (%s): assertion failed: (%s)") at failures.c:197 No locals. #6 0x080b9eac in mail_index_view_sync_begin (view=0x85099a0, flags=MAIL_INDEX_VIEW_SYNC_FLAG_FIX_INCONSISTENT, ctx_r=0x8509bd0) at mail-index-view-sync.c:276 ctx = <value optimized out> map = <value optimized out> expunges = {arr = {buffer = 0x0, element_size = 0}, v = 0x0, v_modifiable = 0x0} expunge_count = <value optimized out> reset = <value optimized out> sync_expunges = <value optimized out> quick_sync = <value optimized out> __PRETTY_FUNCTION__ = "mail_index_view_sync_begin" #7 0x080a25b0 in index_mailbox_sync_init (box=0x85092e0, flags=<value optimized out>, failed=false) at index-sync.c:183 ctx = (struct index_mailbox_sync_context *) 0x8509bc8 sync_flags = MAIL_INDEX_VIEW_SYNC_FLAG_FIX_INCONSISTENT #8 0x0807330b in maildir_storage_sync_init (box=0x85092e0, flags=65) at maildir-sync.c:873 ctx = (struct maildir_sync_context *) 0x8498770 lost_files = false ret = 0 __PRETTY_FUNCTION__ = "maildir_storage_sync_init" #9 0x080a4d69 in mailbox_sync (box=0x85092e0, flags=0, status_items=0, status_r=0x0) at mail-storage.c:516 ctx = (struct mailbox_sync_context *) 0x0 #10 0xb806a38a in trash_quota_test_alloc (ctx=0x84e13d0, size=2902771, too_large_r=0xbfe8cbeb) at trash-plugin.c:52 ret = 0 i = 0 #11 0xb7efe590 in quota_test_alloc (ctx=0x84e13d0, size=2902771, too_large_r=0xbfe8cbeb) at quota.c:840 No locals. #12 0xb7efe7f2 in quota_try_alloc (ctx=0x84e13d0, mail=0x84e7730, too_large_r=0xbfe8cbeb) at quota.c:822 size = 25772706547 ret = <value optimized out> #13 0xb7f0305c in quota_check (t=0x84e0db8, mail=0x84e7730) at quota-storage.c:148 qt = (struct quota_transaction_context *) 0x84e13d0 ret = <value optimized out> too_large = false #14 0x0805d8a4 in cmd_copy (cmd=0x84a2088) at cmd-copy.c:66 client = (struct client *) 0x84a1e40 storage = (struct mail_storage *) 0x84a1758 destbox = (struct mailbox *) 0x84cf3c8 t = (struct mailbox_transaction_context *) 0x84e0db8 search_arg = <value optimized out> messageset = 0x84a6188 "1177,1229,1296,1318,1326,1358,1362,1378,1380,1385,1431,1456,1495,1499,1513,1530,1568,1729,1732,1756,1767,1782:1783,1812:1813,1817,1845,1851,1869,1965,2005,2153,2167,2203,2218:2219,2237,2287,2290:2291,"... mailbox = 0x84a64e6 "Trash" src_uidset = <value optimized out> msg = <value optimized out> sync_flags = <value optimized out> imap_flags = <value optimized out> copy_count = 125 uid_validity = <value optimized out> uid1 = <value optimized out> uid2 = <value optimized out> ret = 1 __PRETTY_FUNCTION__ = "cmd_copy" #15 0x0806283c in client_command_input (cmd=0x84a2088) at client.c:580 client = (struct client *) 0x84a1e40 command = <value optimized out> __PRETTY_FUNCTION__ = "client_command_input" #16 0x080628d3 in client_command_input (cmd=0x84a2088) at client.c:629 client = (struct client *) 0x84a1e40 command = (struct command *) 0x4ffa __PRETTY_FUNCTION__ = "client_command_input" #17 0x08062e8d in client_handle_input (client=<value optimized out>) at client.c:670 _data_stack_cur_id = 3 ret = <value optimized out> remove_io = <value optimized out> handled_commands = false #18 0x0806330e in client_input (client=0x84a1e40) at client.c:725 cmd = <value optimized out> output = (struct ostream *) 0x84a1fc4 bytes = <value optimized out> __PRETTY_FUNCTION__ = "client_input" #19 0x080deb90 in io_loop_handler_run (ioloop=0x849d9b0) at ioloop-epoll.c:203 ctx = (struct ioloop_handler_context *) 0x849daa8 event = (const struct epoll_event *) 0x849dae8 list = (struct io_list *) 0x849e5c0 io = (struct io_file *) 0x84a2020 tv = {tv_sec = 1799, tv_usec = 999239} t_id = 2 msecs = <value optimized out> ret = 1 i = 0 j = 0 call = <value optimized out> #20 0x080de000 in io_loop_run (ioloop=0x849d9b0) at ioloop.c:320 No locals. #21 0x0806b47a in main (argc=) at main.c:293 No locals. $1 = (struct client_command_context *) 0x84a2088 $2 = (struct client_command_context *) 0x0 (gdb) quit
----- End forwarded message -----
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job The probability of someone watching you is proportional to the stupidity of your action.
On Oct 16, 2008, at 7:04 PM, Ralf Hildebrandt wrote:
My batch file uses: bt full p my_client.command_queue p my_client.command_queue.next
Looks like I forgot *, so for future: Change these to p *my_client...
$1 = (struct client_command_context *) 0x84a2088 $2 = (struct client_command_context *) 0x0
Anyway looks like there was only one command running at a time, so my
original idea was wrong. Have to figure out a better one then.
- Timo Sirainen <tss@iki.fi>:
On Oct 16, 2008, at 7:04 PM, Ralf Hildebrandt wrote:
My batch file uses: bt full p my_client.command_queue p my_client.command_queue.next
Looks like I forgot *, so for future: Change these to p *my_client...
Added it now.
$1 = (struct client_command_context *) 0x84a2088 $2 = (struct client_command_context *) 0x0
Anyway looks like there was only one command running at a time, so my
original idea was wrong. Have to figure out a better one then.
Should I just wait for the next crash? :)
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job "Junk mail is war. RFCs do not apply." -- Wietse Venema
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen