2.2.devel (0bee280) crashdump virtual plugin
#0 0x00007f497ecdb067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 10092
selftid = 10092
#1 0x00007f497ecdc448 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0xfffe, sa_sigaction = 0xfffe}, sa_mask = {__val = {1024, 140722499998576, 94791001010256, 513, 139953641023651, 140722499998368, 94791001010256, 513,
11573297580199803136, 139953644744448, 139953641204307, 94791001010256, 140722499998464, 0, 139953641204665, 94791001010256}}, sa_flags = 2131669786, sa_restorer = 0x7ffc829fd301}
sigs = {__val = {32, 0
On July 18, 2017 at 5:31 PM Thomas Leuxner tlx@leuxner.net wrote:
#0 0x00007f497ecdb067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 10092 selftid = 10092 #1 0x00007f497ecdc448 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0xfffe, sa_sigaction = 0xfffe}, sa_mask = {__val = {1024, 140722499998576, 94791001010256, 513, 139953641023651, 140722499998368, 94791001010256, 513, 11573297580199803136, 139953644744448, 139953641204307, 94791001010256, 140722499998464, 0, 139953641204665, 94791001010256}}, sa_flags = 2131669786, sa_restorer = 0x7ffc829fd301} sigs = {__val = {32, 0
}} #2 0x00007f497f0f05b6 in default_fatal_finish (type=<optimized out>, status=status@entry=0) at failures.c:201 backtrace = 0x56363ff17088 "/usr/lib/dovecot/libdovecot.so.0(+0x9f5be) [0x7f497f0f05be] -> /usr/lib/dovecot/libdovecot.so.0(+0x9f6ac) [0x7f497f0f06ac] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f497f080fde] -> /usr/lib/d"... #3 0x00007f497f0f06ac in i_internal_fatal_handler (ctx=0x7ffc829fd350, format=<optimized out>, args=<optimized out>) at failures.c:670 status = 0 #4 0x00007f497f080fde in i_panic (format=format@entry=0x7f497f47af00 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0} args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffc829fd450, reg_save_area = 0x7ffc829fd390}} #5 0x00007f497f3cb6dc in mailbox_notify_changes_stop (box=<optimized out>) at mail-storage.c:1950 __FUNCTION__ = "mailbox_notify_changes_stop" #6 0x00007f497dc5aa6f in virtual_notify_changes (box=0x5636400cdbd8) at virtual-storage.c:696 bboxp_end = 0x563640015708 mbox = 0x5636400cdbd8 bboxp = 0x563640015180 #7 0x000056363f5e2652 in idle_finish (ctx=ctx@entry=0x56363ff64160, done_ok=<optimized out>, free_cmd=free_cmd@entry=true) at cmd-idle.c:46 client = 0x56363ff39e68 #8 0x000056363f5e2783 in idle_client_handle_input (ctx=ctx@entry=0x56363ff64160, free_cmd=free_cmd@entry=true) at cmd-idle.c:67 line = <optimized out> #9 0x000056363f5e284d in idle_client_input_more (ctx=0x56363ff64160) at cmd-idle.c:100 client = 0x56363ff39e68 #10 idle_client_input (ctx=0x56363ff64160) at cmd-idle.c:107 client = 0x56363ff39e68 #11 0x00007f497f105b22 in io_loop_call_io (io=0x56363ffae400) at ioloop.c:599 ioloop = 0x56363ff1f9b0 t_id = 2 __FUNCTION__ = "io_loop_call_io" #12 0x00007f497f10717a in io_loop_handler_run_internal (ioloop=ioloop@entry=0x56363ff1f9b0) at ioloop-epoll.c:223 ctx = 0x56363ff214d0 io = <optimized out> tv = {tv_sec = 3, tv_usec = 496715} events_count = <optimized out> msecs = <optimized out> ret = 1 i = 0 j = <optimized out> call = <optimized out> __FUNCTION__ = "io_loop_handler_run_internal" #13 0x00007f497f105bbc in io_loop_handler_run (ioloop=ioloop@entry=0x56363ff1f9b0) at ioloop.c:648 No locals. #14 0x00007f497f105d68 in io_loop_run (ioloop=0x56363ff1f9b0) at ioloop.c:623 __FUNCTION__ = "io_loop_run" #15 0x00007f497f08b6d3 in master_service_run (service=0x56363ff1f850, callback=<optimized out>) at master-service.c:666 No locals. #16 0x000056363f5de1d3 in main (argc=1, argv=0x56363ff1f5e0) at main.c:491 set_roots = {0x56363f8096c0, 0x7f497f8d5540 , 0x0} login_set = {auth_socket_path = 0x56363ff17048 "\001", postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 0x56363f5f92b0 , failure_callback = 0x56363f5f8bf0 , request_auth_token = 1} service_flags = <optimized out> storage_service_flags = <optimized out> username = 0x0 auth_socket_path = 0x56363f602074 "auth-master" c = <optimized out>
Hi!
Thank you for your report. Do you have mailbox_list_index=yes?
Aki
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.18 20:01:
Hi!
Thank you for your report. Do you have mailbox_list_index=yes?
Aki
Hi Aki,
yes I do:
doveconf mailbox_list_index mailbox_list_index = yes
Regards Thomas
On 19.07.2017 09:20, Thomas Leuxner wrote:
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.18 20:01:
Hi!
Thank you for your report. Do you have mailbox_list_index=yes?
Aki Hi Aki,
yes I do:
doveconf mailbox_list_index mailbox_list_index = yes
Regards Thomas
Can you provide your virtual config?
Aki
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.19 08:22:
Can you provide your virtual config?
Here you go:
# cat Dovecot/dovecot-virtual :public/Archive/Mailing-Lists/Dovecot/* :public/Mailing-Lists/Dovecot all
# cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged
# cat Postfix-Users/dovecot-virtual :public/Archive/Mailing-Lists/Postfix-Users/* :public/Mailing-Lists/Postfix-Users all
On 19.07.2017 09:28, Thomas Leuxner wrote:
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.19 08:22:
Can you provide your virtual config? Here you go:
# cat Dovecot/dovecot-virtual :public/Archive/Mailing-Lists/Dovecot/* :public/Mailing-Lists/Dovecot all
# cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged
# cat Postfix-Users/dovecot-virtual :public/Archive/Mailing-Lists/Postfix-Users/* :public/Mailing-Lists/Postfix-Users all
oh and any idea which one of these crashes?
Aki
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.19 08:31:
oh and any idea which one of these crashes?
This one does:
# cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged
On 19.07.2017 09:36, Thomas Leuxner wrote:
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.19 08:31:
oh and any idea which one of these crashes? This one does:
# cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged
Thanks, we'll look into this.
Aki
On 19.07.2017 09:39, Aki Tuomi wrote:
On 19.07.2017 09:36, Thomas Leuxner wrote:
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.19 08:31:
oh and any idea which one of these crashes? This one does:
# cat Flagged/dovecot-virtual * :public/* -Trash -Trash/* flagged Thanks, we'll look into this.
Aki
Should be fixed with
commit 2f691d6dd1b98f605043744846534b828a43994d Author: Aki Tuomi aki.tuomi@dovecot.fi Date: Wed Jul 19 12:03:58 2017 +0300
virtual: Stop watching notification on backend box close
Fixes Panic: file mail-index.c: line 662
(mail_index_close_nonopened): assertion failed: (index->views == NULL)
commit 0d318fe07ea8846330b6fe6b6b281ef0ccfbaacd Author: Aki Tuomi aki.tuomi@dovecot.fi Date: Tue Jul 18 21:04:47 2017 +0300
virtual: Stop notifications only if they were started
Fixes Panic: file mail-storage.c: line 1950: assertion failed:
(box->opened)
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.19 11:43:
Should be fixed with
commit 2f691d6dd1b98f605043744846534b828a43994d Author: Aki Tuomi aki.tuomi@dovecot.fi Date: Wed Jul 19 12:03:58 2017 +0300
virtual: Stop watching notification on backend box close Fixes Panic: file mail-index.c: line 662
(mail_index_close_nonopened): assertion failed: (index->views == NULL)
commit 0d318fe07ea8846330b6fe6b6b281ef0ccfbaacd Author: Aki Tuomi aki.tuomi@dovecot.fi Date: Tue Jul 18 21:04:47 2017 +0300
virtual: Stop notifications only if they were started Fixes Panic: file mail-storage.c: line 1950: assertion failed:
(box->opened)
Thanks Aki. Looks good now.
- Thomas Leuxner tlx@leuxner.net 2017.07.19 14:29:
It seems to have a new side effect which I haven't noticed upfront as it does not produce logging in Dovecot:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 io_loop_extract_notify_fd (ioloop=0x563456973540) at ioloop-notify-inotify.c:224
224 ioloop-notify-inotify.c: No such file or directory.
(gdb) bt full
#0 io_loop_extract_notify_fd (ioloop=0x563456973540) at ioloop-notify-inotify.c:224
ctx = 0x0
io = <optimized out>
fd = <optimized out>
new_inotify_fd = <optimized out>
#1 0x00007f30bc2b740d in mailbox_watch_extract_notify_fd (box=0x563456973fc8, reason_r=reason_r@entry=0x7ffea4ebcfe8) at mailbox-watch.c:144
ioloop = 0x563456973540
file = 0x0
io = 0x91e89a45d153b800
iop = <optimized out>
temp_ios = {arr = {buffer = 0x5634566690e8, element_size = 8}, v = 0x5634566690e8, v_modifiable = 0x5634566690e8}
ret = <optimized out>
failed = false
#2 0x0000563456150418 in imap_client_hibernate (_client=_client@entry=0x7ffea4ebd0d0) at imap-client-hibernate.c:221
client = 0x56345668be48
state = 0x563456a4bf20
error = 0x7f30bbfcbb02
On July 19, 2017 at 9:16 PM Thomas Leuxner tlx@leuxner.net wrote:
- Thomas Leuxner tlx@leuxner.net 2017.07.19 14:29:
It seems to have a new side effect which I haven't noticed upfront as it does not produce logging in Dovecot:
Should be fixed with
commit 81e832796cdc6af790ed7be8a6c150889f03171c Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:19:12 2017 +0300
virtual: Optimize mailbox_notify_changes() when there's only a single backend mailbox
commit 2044eb7652b864a05842933e9097c583cb11256c Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:11:12 2017 +0300
lib-storage: mailbox_watch_extract_notify_fd() - give better reason if mailbox has no IOs
This happens currently with virtual mailboxes.
commit a6280be05b9c90579bb59ff57a3035661706c3d3 Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:09:13 2017 +0300
lib: io_loop_extract_notify_fd() - Don't crash if no notifys have been added
Aki
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.20 05:40:
Should be fixed with
commit 81e832796cdc6af790ed7be8a6c150889f03171c Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:19:12 2017 +0300
virtual: Optimize mailbox_notify_changes() when there's only a single backend mailbox
commit 2044eb7652b864a05842933e9097c583cb11256c Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:11:12 2017 +0300
lib-storage: mailbox_watch_extract_notify_fd() - give better reason if mailbox has no IOs This happens currently with virtual mailboxes.
commit a6280be05b9c90579bb59ff57a3035661706c3d3 Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:09:13 2017 +0300
lib: io_loop_extract_notify_fd() - Don't crash if no notifys have been added
Thanks I'll wait for them to show in 2.2 branch then.
Regards Thomas
- Aki Tuomi aki.tuomi@dovecot.fi 2017.07.20 05:40:
Should be fixed with
commit 81e832796cdc6af790ed7be8a6c150889f03171c Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:19:12 2017 +0300
virtual: Optimize mailbox_notify_changes() when there's only a single backend mailbox
commit 2044eb7652b864a05842933e9097c583cb11256c Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:11:12 2017 +0300
lib-storage: mailbox_watch_extract_notify_fd() - give better reason if mailbox has no IOs This happens currently with virtual mailboxes.
commit a6280be05b9c90579bb59ff57a3035661706c3d3 Author: Timo Sirainen timo.sirainen@dovecot.fi Date: Wed Jul 19 23:09:13 2017 +0300
lib: io_loop_extract_notify_fd() - Don't crash if no notifys have been added
After some testing with 2.2.devel (bf2fa36) I wasn't able to reproduce the segfaults anymore. Thanks!
participants (2)
-
Aki Tuomi
-
Thomas Leuxner