Dovecort-2.2.22

Ralf Zimmermann r.zimmermann at siegnetz.de
Tue Mar 8 10:40:03 UTC 2016


I have activated the virtual plugin with dovecot-2.2.22 on a Debian Jessie with Linux 3.2.0-4-amd64.

In this example I opened the virtual folder Trash.

# ~Maildir/virtual/Trash/dovecot-virtual
*
  deleted

Here the mail debug log entry:

Panic: file virtual-storage.c: line 403 (virtual_backend_box_close): assertion failed: (bbox->open_tracked)
Mar  8 11:32:49 lab dovecot: imap(rzimmermann at lab.de): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x819f0) [0x7f26e3c4c9f0] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x81adc) [0x7f26e3c4cadc] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f26e3bf533d] -> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_close+0x178) [0x7f26e2be69f8] -> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9f94) [0x7f26e2be6f94] -> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9fe9) [0x7f26e2be6fe9] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) [0x7f26e3f0f5da] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_free+0x13) [0x7f26e3f0f663] -> dovecot/imap(imap_status_get+0x9a) [0x42038a] -> dovecot/imap(cmd_status+0x148) [0x414498] -> dovecot/imap(command_exec+0x8c) [0x41947c] -> dovecot/imap() [0x417ac2] -> dovecot/imap() [0x417b50] -> dovecot/imap(client_handle_input+0x155) [0x417ec5] -> dovecot/imap(client_input+0x72) [0x418362] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7f26e3c5f9dc] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xe1) [0x7f26e3c60d01] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7f26e3c5fa65] -> /usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f26e3c5fc08] -> /usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f26e3bfaa23] -> dovecot/imap(main+0x2d7) [0x40c3c7] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f26e3841b45] -> dovecot/imap() [0x40c530]
Mar  8 11:32:49 lab dovecot: imap(rzimmermann at lab.de): Fatal: master: service(imap): child 5737 killed with signal 6 (core dumped)

Here the backtrace:

Core was generated by `dovecot/imap'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f192af9a067 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f192af9a067 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f192af9b448 in __GI_abort () at abort.c:89
#2  0x00007f192b3919e6 in default_fatal_finish (type=<optimized out>, status=status at entry=0) at failures.c:201
#3  0x00007f192b391adc in i_internal_fatal_handler (ctx=0x7ffccfe2b340, format=<optimized out>, args=<optimized out>) at failures.c:670
#4  0x00007f192b33a33d in i_panic (format=format at entry=0x7f192a330158 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275
#5  0x00007f192a32b9f8 in virtual_backend_box_close (mbox=mbox at entry=0x23582f0, bbox=0x2359288) at virtual-storage.c:403
#6  0x00007f192a32bf94 in virtual_mailbox_close_internal (mbox=mbox at entry=0x23582f0) at virtual-storage.c:445
#7  0x00007f192a32bfe9 in virtual_mailbox_close (box=0x23582f0) at virtual-storage.c:507
#8  0x00007f192b6545da in mailbox_close (box=0x3ac5) at mail-storage.c:1240
#9  0x00007f192b654663 in mailbox_free (_box=_box at entry=0x7ffccfe2b4a8) at mail-storage.c:1260
#10 0x0000000000412dae in close_selected_mailbox (client=client at entry=0x234a120) at cmd-select.c:375
#11 0x0000000000412ed3 in close_selected_mailbox (client=0x234a120) at cmd-select.c:368
#12 cmd_select_full (cmd=0x234ad20, readonly=<optimized out>) at cmd-select.c:418
#13 0x000000000041947c in command_exec (cmd=cmd at entry=0x234ad20) at imap-commands.c:180
#14 0x0000000000417ac2 in client_command_input (cmd=cmd at entry=0x234ad20) at imap-client.c:958
#15 0x0000000000417b50 in client_command_input (cmd=0x234ad20) at imap-client.c:1018
#16 0x0000000000417ec5 in client_handle_next_command (remove_io_r=<synthetic pointer>, client=0x234a120) at imap-client.c:1058
#17 client_handle_input (client=0x234a120) at imap-client.c:1070
#18 0x0000000000418362 in client_input (client=0x234a120) at imap-client.c:1117
#19 0x00007f192b3a49dc in io_loop_call_io (io=0x36ef230) at ioloop.c:564
#20 0x00007f192b3a5d01 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x2320730) at ioloop-epoll.c:220
#21 0x00007f192b3a4a65 in io_loop_handler_run (ioloop=ioloop at entry=0x2320730) at ioloop.c:612
#22 0x00007f192b3a4c08 in io_loop_run (ioloop=0x2320730) at ioloop.c:588
#23 0x00007f192b33fa23 in master_service_run (service=0x23205d0, callback=callback at entry=0x4239b0 <client_connected>) at master-service.c:640
#24 0x000000000040c3c7 in main (argc=1, argv=0x2320390) at main.c:454


Mit freundlichen Grüßen

Ralf Zimmermann
Senior Security Engineer
State Certified Engineer

SIEGNETZ.IT GmbH
Einheitsstrasse 2, D-57076 Siegen
Telefon: +4927168193130 Fax: +492716819329
Mobil  : +491735360015
http://www.siegnetz.de
http://rz.siegnetz.de

Amtsgericht Siegen HRB4838
Geschäftsführer: Oliver Seitz
Sitz der Gesellschaft ist Siegen

> Am 04.03.2016 um 21:02 schrieb Timo Sirainen <tss at iki.fi>:
> 
> On 04 Mar 2016, at 17:46, Ralf Zimmermann <r.zimmermann at siegnetz.de> wrote:
>> 
>> With Dovecot-2.2.22 and enabled virtual plugin I get following error messages:
>> 
>> Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x819f0) [0x7f12330bf9f0] ->
> 
> The raw backtrace isn't very helpful unfortunately. What was the panic log message before this? Also it could be helpful to have gdb backtrace: http://dovecot.org/bugreport.html
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20160308/8009b531/attachment.sig>


More information about the dovecot mailing list