[Dovecot] Backtrace:/usr/local/libexec/dovecot/imap

2008-12-05 Thread Ralf Hildebrandt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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 /usr/lib/gconv/ISO8859-1.so...Reading symbols from 
/usr/lib/debug/usr/lib/gconv/ISO8859-1.so...done.
done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.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 1]
#0  0xb7ff2424 in __kernel_vsyscall ()
#0  0xb7ff2424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7eb3640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7eb5018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0x080d7235 in default_fatal_finish (type=, status=0)
at failures.c:150
backtrace = 0x9611888 "/usr/local/libexec/dovecot/imap [0x80d7221] -> 
/usr/local/libexec/dovecot/imap [0x80d72a2] -> /usr/local/libexec/dovecot/imap 
[0x80d6c39] -> /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so [0xb7"...
#4  0x080d72a2 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, 
fmt=0xb7e3cf50 "file %s: line %d (%s): assertion failed: (%s)", 
args=0xbfa0dcf4 "N���\231") at failures.c:430
No locals.
#5  0x080d6c39 in i_panic (
format=0xb7e3cf50 "file %s: line %d (%s): assertion failed: (%s)")
at failures.c:197
No locals.
#6  0xb7e39a82 in uidlist_write_array (output=0x965c9bc, uid_list=0xb79cae0c, 
uid_count=31, packed_flags=, offset=0, 
write_size=true, size_r=0xbfa0ddd8) at squat-uidlist.c:153
uidbuf = (uint8_t *) 0x96117b8 "�\030="
bufp = (uint8_t *) 0x96117ba "="
sizebuf = "�hݠ�"
sizebufp = 
listbuf = "�"
listbufp = (uint8_t *) 0xbfa0dd52 "��hݠ�"
uid = 6
uid2 = 5
prev = 
base_uid = 3112
size_value = 
i = 4
bitmask_len = 7
uid_list_len = 1008
idx = 1008
max_idx = 
mask = 
datastack = true
num = 
__PRETTY_FUNCTION__ = "uidlist_write_array"
#7  0xb7e39d78 in uidlist_write (output=0x965c9bc, list=, 
write_size=, size_r=0xbfa0ddd8) at squat-uidlist.c:270
_data_stack_cur_id = 6
uid_list = (const uint32_t *) 0xb79cae0c
buf = "�"
bufp = 
uid_count = 31
packed_flags = 
offset = 0
ret = 
__PRETTY_FUNCTION__ = "uidlist_write"
#8  0xb7e39eaf in uidlist_flush (ctx=0x965c948, list=0xb79cae08, uid=3149)
at squat-uidlist.c:1104
size = 128
#9  0xb7e3a236 in squat_uidlist_build_add_uid (ctx=0x965c948, 
uid_list_idx=, uid=3149) at squat-uidlist.c:1219
list = 
idx = 
mask = 
p = (uint32_t *) 0xb79cae84
__PRETTY_FUNCTION__ = "squat_uidlist_build_add_uid"
#10 0xb7e3721d in squat_build_add (ctx=0x965cc80, uid=3149, 
data=0x961126d "\001\a\t'\003\002\020\004\b", size=4) at squat-trie.c:

[Dovecot] Backtrace:/usr/local/libexec/dovecot/imap (1.1.4)

2008-10-17 Thread Ralf Hildebrandt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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 /usr/lib/gconv/ISO8859-1.so...Reading symbols from 
/usr/lib/debug/usr/lib/gconv/ISO8859-1.so...done.
done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.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 18737]
#0  0xb8066424 in __kernel_vsyscall ()
#0  0xb8066424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7f27640 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7f29018 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0x080d6e95 in default_fatal_finish (type=, status=0)
at failures.c:150
backtrace = 0x8d73a18 "/usr/local/libexec/dovecot/imap [0x80d6e81] -> 
/usr/local/libexec/dovecot/imap [0x80d6f02] -> /usr/local/libexec/dovecot/imap 
[0x80d6899] -> /usr/local/libexec/dovecot/imap [0x80a52f6] -> /usr/local/l"...
#4  0x080d6f02 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, 
fmt=0x80f3434 "Trying to close mailbox %s with open transactions", 
args=0xbff804e4 "@[�\bx\005��o�\005\bh\005��W�\233Ep$�\b�\004")
at failures.c:430
No locals.
#5  0x080d6899 in i_panic (
format=0x80f3434 "Trying to close mailbox %s with open transactions")
at failures.c:197
No locals.
#6  0x080a52f6 in mailbox_close (_box=0x6) at mail-storage.c:478
box = 
#7  0x0805da6f in cmd_copy (cmd=0x8d7f088) at cmd-copy.c:164
client = (struct client *) 0x8d7ee40
storage = (struct mail_storage *) 0x8d7e758
destbox = (struct mailbox *) 0x8db59b8
t = (struct mailbox_transaction_context *) 0x0
search_arg = (struct mail_search_arg *) 0x8d72470
messageset = 0x8d83188 
"41:42,59:60,62,127:128,150,173,179:180,234,253,275,290,305,340,344,388,449,460,523,551,559,565"
mailbox = 0x8d831ee "Trash"
src_uidset = 0x8d72470 
"41:42,59:60,62,127:128,150,173,179:180,234,253,275,290,305,340,344,388,449,460,523,551,559,565"
msg = 0x8d73950 "OK [COPYUID 1167830615 
41:42,59:60,62,127:128,150,173,179:180,234,253,275,290,305,340,344,388,449,460,523,551,559,565
 1191:1215] Copy completed."
sync_flags = 18737
imap_flags = 6
copy_count = 25
uid_validity = 1167830615
uid1 = 1191
uid2 = 1215
ret = 1
__PRETTY_FUNCTION__ = "cmd_copy"
#8  0x0806283c in client_command_input (cmd=0x8d7f088) at client.c:580
client = (struct client *) 0x8d7ee40
command = 
__PRETTY_FUNCTION__ = "client_command_input"
#9  0x080628d3 in client_command_input (cmd=0x8d7f088) at client.c:629
client = (struct client *) 0x8d7ee40
command = (struct command *) 0x4931
__PRETTY_FUNCTION__ = "client_command_input"
#10 0x08062e8d in client_handle_input (client=)
at client.c:670