[Dovecot] 2.0.beta4, Panic: stream doesn't support seeking backwards
Juergen Daubert
jue at jue.li
Sat Apr 3 23:24:00 EEST 2010
attached a backtrace from gdb for the crash. Hope this is helpful.
Thanks
Juergen
--
Juergen Daubert | mailto:jue at jue.li
Korb, Germany | http://jue.li/crux
-------------- next part --------------
GNU gdb (GDB) 7.1
Copyright (C) 2010 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/dovecot/imap...done.
Attaching to program: /usr/lib/dovecot/imap, process 3453
[New Thread 3453]
Reading symbols from /usr/lib/dovecot/libdovecot-storage.so.0...done.
Loaded symbols for /usr/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /usr/lib/dovecot/libdovecot.so.0...done.
Loaded symbols for /usr/lib/dovecot/libdovecot.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Core was generated by `dovecot/imap'.
Program terminated with signal 6, Aborted.
#0 0xb7502ca0 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb7502ca0 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb75041dc in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb76572f7 in default_fatal_finish (type=LOG_TYPE_PANIC, status=0) at failures.c:164
backtrace = 0x80680b0 "/usr/lib/dovecot/libdovecot.so.0 [0xb76572cf] -> /usr/lib/dovecot/libdovecot.so.0 [0xb765801f] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb76574a1] -> /usr/lib/dovecot/libdovecot.so.0 [0xb7661f"...
#3 0xb765801f in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0xb7682894 "stream doesn't support seeking backwards", args=0xbfde1774 "")
at failures.c:592
No locals.
#4 0xb76574a1 in i_panic (format=0xb7682894 "stream doesn't support seeking backwards") at failures.c:230
args = 0xbfde1774 ""
#5 0xb7661f4b in i_stream_file_seek (stream=0x80856f0, v_offset=36055, mark=false) at istream-file.c:109
fstream = 0x80856f0
#6 0xb765f530 in i_stream_seek (stream=0x8085720, v_offset=36055) at istream.c:224
_stream = 0x80856f0
#7 0xb76622f5 in i_stream_limit_read (stream=0x8091b60) at istream-limit.c:40
lstream = 0x8091b60
left = 13213178234276937864
ret = 134764272
pos = 38030
__FUNCTION__ = "i_stream_limit_read"
#8 0xb765ef5c in i_stream_read (stream=0x8091b90) at istream.c:115
_stream = 0x8091b60
old_size = 0
ret = -1217862860
__FUNCTION__ = "i_stream_read"
#9 0xb765fb99 in i_stream_read_data (stream=0x8091b90, data_r=0xbfde18f0, size_r=0xbfde18ec, threshold=1) at istream.c:417
ret = 0
read_more = false
__FUNCTION__ = "i_stream_read_data"
#10 0xb7643f18 in message_parse_header_next (ctx=0x8093378, hdr_r=0xbfde1974) at message-header-parser.c:89
line = 0x8093378
msg = 0x0
i = 3219003688
size = 0
startpos = 0
colon_pos = 4294967295
parse_size = 134822896
value_pos = 0
ret = -1218096987
continued = false
continues = false
last_no_newline = 208
last_crlf = 59
no_newline = false
crlf_newline = false
__FUNCTION__ = "message_parse_header_next"
#11 0xb763edc8 in read_header (mstream=0x8093648) at istream-header-filter.c:146
hdr = 0x0
highwater_offset = 13215427022242584968
pos = 134820696
ret = -1217862860
matched = 183
hdr_ret = -1217862860
__FUNCTION__ = "read_header"
#12 0xb763f114 in i_stream_header_filter_read (stream=0x8093648) at istream-header-filter.c:285
mstream = 0x8093648
v_offset = 579050620660020672
ret = 134814560
#13 0xb765ef5c in i_stream_read (stream=0x8093678) at istream.c:115
_stream = 0x8093648
old_size = 0
ret = 0
__FUNCTION__ = "i_stream_read"
#14 0xb763f398 in skip_header (mstream=0x8093648) at istream-header-filter.c:335
pos = 3077104436
#15 0xb763f48b in i_stream_header_filter_seek (stream=0x8093648, v_offset=1936, mark=false) at istream-header-filter.c:366
mstream = 0x8093648
#16 0xb765f530 in i_stream_seek (stream=0x8093678, v_offset=1936) at istream.c:224
_stream = 0x8093648
#17 0xb765ef30 in i_stream_read (stream=0x80937b8) at istream.c:112
_stream = 0x8093788
old_size = 0
ret = 0
__FUNCTION__ = "i_stream_read"
#18 0xb7664918 in i_stream_tee_read (stream=0x8092e10) at istream-tee.c:139
tstream = 0x8092e10
input = 0x80937b8
data = 0x80a3344 "List-Id: Dovecot Mailing List <dovecot.dovecot.org>\n"
size = 52
last_high_offset = 1936
ret = 134821768
__FUNCTION__ = "i_stream_tee_read"
#19 0xb765ef5c in i_stream_read (stream=0x8092e40) at istream.c:115
_stream = 0x8092e10
old_size = 0
ret = -1218055909
__FUNCTION__ = "i_stream_read"
#20 0xb77326c1 in mbox_save_continue (_ctx=0x8091c58) at mbox-save.c:590
ctx = 0x8091c58
data = 0x0
i = 3219004520
size = 3077104436
ret = -1218055909
#21 0xb76b40e7 in mailbox_save_continue (ctx=0x8091c58) at mail-storage.c:1286
No locals.
#22 0x0804ef10 in cmd_append_continue_message (cmd=0x808c2f0) at cmd-append.c:397
client = 0x808bee8
ctx = 0x808c388
size = 3076971834
ret = 0
#23 0x0804e424 in client_input_append (cmd=0x808c2f0) at cmd-append.c:83
ctx = 0x808c388
client = 0x808bee8
finished = 183
__FUNCTION__ = "client_input_append"
#24 0xb7666d08 in io_loop_handler_run (ioloop=0x8070358) at ioloop-epoll.c:208
ctx = 0x8070478
events = 0x80704b8
event = 0x80704b8
list = 0x8085638
io = 0x80984f0
tv = {tv_sec = 4, tv_usec = 820964}
events_count = 5
t_id = 2
msecs = 4821
ret = 1
i = 0
j = 0
call = true
#25 0xb7665b4c in io_loop_run (ioloop=0x8070358) at ioloop.c:350
No locals.
#26 0xb7650934 in master_service_run (service=0x80702a8, callback=0x80624fe <client_connected>) at master-service.c:486
No locals.
#27 0x0806271e in main (argc=1, argv=0x80701c0) at main.c:313
set_roots = {0x8065ee0, 0x0}
service_flags = MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN
storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
postlogin_socket_path = 0x0
(gdb) quit
More information about the dovecot
mailing list