[Dovecot] panic with 2.2.10 and GETMETADATA

Michael Cramer michael at bigmichi1.de
Sun Mar 16 08:52:42 UTC 2014


Zitat von Andreas Schulze <sca at andreasschulze.de>:

> Am 23.12.2013 17:40 schrieb Michael Cramer:
>> 10-mail.conf:mail_attribute_dict =
>> file:/srv/vmail/dovecot/metadata/%d/%n/attributes
>> 20-imap.conf:imap_metadata = yes
> nothing more here but no no segfault.
>
> I had also strange problems while using horde.
> They went away after I cleaned *all* files refrerenced by mail_attribute_dict
> and the "metadata Mailbox" created by horde.
>
>> #0  0x00007f174b6bdf77 in raise () from /lib/x86_64-linux-gnu/libc.so.6
> Oh, 32bit OS here.
>
> Andreas

still have this segfault with 2.2.12

bt full

#0  0x00007f83bc38ff77 in __GI_raise (sig=sig at entry=6) at  
../nptl/sysdeps/unix/sysv/linux/raise.c:56
         resultvar = 0
         pid = 370
         selftid = 370
#1  0x00007f83bc3935e8 in __GI_abort () at abort.c:90
         save_stage = 2
         act = {__sigaction_handler = {sa_handler = 0x189ddf0,  
sa_sigaction = 0x189ddf0}, sa_mask = {__val = {1, 0, 140203785202805,  
1, 0, 25773232, 140203775098088,
               140733279288321, 0, 0, 140203785230117, 0,  
140203776038656, 140203781939744, 25774392, 140733279287980}},  
sa_flags = 1024,
           sa_restorer = 0x7f83bc3a7134 <_IO_vfprintf_internal+18868>}
         sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f83bc77fb56 in default_fatal_finish (type=<optimized out>,  
status=status at entry=0) at failures.c:193
         backtrace = 0x18944e8  
"/usr/lib/dovecot/libdovecot.so.0(+0x5eb60) [0x7f83bc77fb60] ->  
/usr/lib/dovecot/libdovecot.so.0(+0x5ec3e) [0x7f83bc77fc3e] ->  
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f83bc73ac6e] ->  
dovecot/im"...
#3  0x00007f83bc77fc3e in i_internal_fatal_handler  
(ctx=0x7fff051ebc40, format=<optimized out>, args=<optimized out>) at  
failures.c:657
         status = 0
#4  0x00007f83bc73ac6e in i_panic (format=format at entry=0x422fa0 "file  
%s: line %d (%s): assertion failed: (%s)") at failures.c:267
         ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
         args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area =  
0x7fff051ebd30, reg_save_area = 0x7fff051ebc70}}
#5  0x0000000000415c17 in client_command_free  
(_cmd=_cmd at entry=0x7fff051ebd58) at imap-client.c:634
         cmd = 0x18cec90
         client = 0x18ce0b0
         state = CLIENT_COMMAND_STATE_WAIT_INPUT
         __FUNCTION__ = "client_command_free"
#6  0x0000000000415d8a in client_command_input (cmd=0x0) at imap-client.c:783
         client = 0x18ce0b0
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#7  0x0000000000415e15 in client_command_input (cmd=0x18cec90) at  
imap-client.c:841
         client = 0x18ce0b0
         command = <optimized out>
         __FUNCTION__ = "client_command_input"
#8  0x0000000000416115 in client_handle_next_command  
(remove_io_r=<synthetic pointer>, client=0x18ce0b0) at imap-client.c:879
No locals.
#9  client_handle_input (client=client at entry=0x18ce0b0) at imap-client.c:891
         _data_stack_cur_id = 3
         remove_io = false
         handled_commands = false
         __FUNCTION__ = "client_handle_input"
#10 0x00000000004164a2 in client_input (client=0x18ce0b0) at imap-client.c:933
         cmd = 0x18b2518
         output = 0x18ceae0
         bytes = 92
         __FUNCTION__ = "client_input"
#11 0x00007f83bc78fc37 in io_loop_call_io (io=0x18cebb0) at ioloop.c:388
         ioloop = 0x189b730
         t_id = 2
#12 0x00007f83bc7909c7 in io_loop_handler_run  
(ioloop=ioloop at entry=0x189b730) at ioloop-epoll.c:220
         ctx = 0x189c3c0
         list = 0x189ddf0
         io = <optimized out>
         tv = {tv_sec = 29, tv_usec = 999219}
         events_count = <optimized out>
         msecs = <optimized out>
         ret = 1
         i = 0
         call = <optimized out>
         __FUNCTION__ = "io_loop_handler_run"
#13 0x00007f83bc78f7d8 in io_loop_run (ioloop=0x189b730) at ioloop.c:412
         __FUNCTION__ = "io_loop_run"
#14 0x00007f83bc73fe63 in master_service_run (service=0x189b5c0,  
callback=callback at entry=0x41edf0 <client_connected>) at  
master-service.c:566
No locals.
#15 0x000000000040b06f in main (argc=1, argv=0x189b390) at main.c:400
         set_roots = {0x426c60 <imap_setting_parser_info>, 0x0}
         login_set = {auth_socket_path = 0x1893048 "\001",  
postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback =  
0x41f1a0 <login_client_connected>,
           failure_callback = 0x41eed0 <login_client_failed>,  
request_auth_token = 1}
         service_flags = <optimized out>
         storage_service_flags = <optimized out>
         username = 0x0
         c = <optimized out>




More information about the dovecot mailing list