Hi, I have one user constantly crashing with: Core was generated by `dovecot/imap'. Program terminated with signal 11, Segmentation fault. #0 0x007e5b7c in mailbox_list_notify_next (notify=0x0, rec_r=0xbfee8f00) at mailbox-list-notify.c:28 28 return notify->list->v.notify_next(notify, rec_r); (gdb) bt #0 0x007e5b7c in mailbox_list_notify_next (notify=0x0, rec_r=0xbfee8f00) at mailbox-list-notify.c:28 #1 0x080641f2 in imap_client_notify_ns (notify_ns=0x8859478) at imap-notify.c:248 #2 0x0806476a in imap_client_notify_more (client=<value optimized out>) at imap-notify.c:297 #3 0x080648df in imap_client_notify_newmails (client=0x88555c0) at imap-notify.c:339 #4 0x080699fe in imap_sync_notify_more (ctx=0x8858d70) at imap-sync.c:356 #5 imap_sync_more (ctx=0x8858d70) at imap-sync.c:526 #6 0x08069db2 in cmd_sync_continue (sync_cmd=0x8856008) at imap-sync.c:658 #7 0x0806a206 in cmd_sync_delayed_real (client=0x88555c0) at imap-sync.c:748 #8 cmd_sync_delayed (client=0x88555c0) at imap-sync.c:886 #9 0x007e7c25 in notify_delay_callback (box=0x8864cd0) at mailbox-watch.c:26 #10 0x00caec60 in io_loop_handle_timeouts_real (ioloop=0x883d4a0) at ioloop.c:527 #11 io_loop_handle_timeouts (ioloop=0x883d4a0) at ioloop.c:540 #12 0x00cb0299 in io_loop_handler_run_internal (ioloop=0x883d4a0) at ioloop-epoll.c:193 #13 0x00caea8b in io_loop_handler_run (ioloop=0x883d4a0) at ioloop.c:607 #14 0x00caee08 in io_loop_run (ioloop=0x883d4a0) at ioloop.c:583 #15 0x00c4216d in master_service_run (service=0x883d3d0, callback=0x806a700 <client_connected>) at master-service.c:640 #16 0x0806af22 in main (argc=Cannot access memory at address 0x0 (gdb) f 6 #6 0x08069db2 in cmd_sync_continue (sync_cmd=0x8856008) at imap-sync.c:658 658 if ((ret = imap_sync_more(ctx)) == 0) Best Regards, Toni Mattila
Hi All, I also tried with 16ff395c156e and 3d576d682137 patches that touch lib-storage/notify and still 2.2.19 cores: Core was generated by `dovecot/imap'. Program terminated with signal 11, Segmentation fault. #0 0x0043bb8c in mailbox_list_notify_next (notify=0x0, rec_r=0xbfdb34a0) at mailbox-list-notify.c:28 28 return notify->list->v.notify_next(notify, rec_r); (gdb) bt #0 0x0043bb8c in mailbox_list_notify_next (notify=0x0, rec_r=0xbfdb34a0) at mailbox-list-notify.c:28 #1 0x080641f2 in imap_client_notify_ns (notify_ns=0x9f5b470) at imap-notify.c:248 #2 0x0806476a in imap_client_notify_more (client=<value optimized out>) at imap-notify.c:297 #3 0x080648df in imap_client_notify_newmails (client=0x9f575b8) at imap-notify.c:339 #4 0x080699fe in imap_sync_notify_more (ctx=0x9f85b10) at imap-sync.c:356 #5 imap_sync_more (ctx=0x9f85b10) at imap-sync.c:526 #6 0x08069db2 in cmd_sync_continue (sync_cmd=0x9f58000) at imap-sync.c:658 #7 0x0806a206 in cmd_sync_delayed_real (client=0x9f575b8) at imap-sync.c:748 #8 cmd_sync_delayed (client=0x9f575b8) at imap-sync.c:886 #9 0x0043dc35 in notify_delay_callback (box=0x9f84e88) at mailbox-watch.c:26 #10 0x001e9c60 in io_loop_handle_timeouts_real (ioloop=0x9f3f498) at ioloop.c:527 #11 io_loop_handle_timeouts (ioloop=0x9f3f498) at ioloop.c:540 #12 0x001eb299 in io_loop_handler_run_internal (ioloop=0x9f3f498) at ioloop-epoll.c:193 #13 0x001e9a8b in io_loop_handler_run (ioloop=0x9f3f498) at ioloop.c:607 #14 0x001e9e08 in io_loop_run (ioloop=0x9f3f498) at ioloop.c:583 #15 0x0017d16d in master_service_run (service=0x9f3f3c8, callback=0x806a700 <client_connected>) at master-service.c:640 #16 0x0806af22 in main (argc=Cannot access memory at address 0x0 ) at main.c:442 Anything else I should try? Thanks in advance, Toni Mattila
On 10/29/2015 03:01 PM, Toni Mattila wrote:> Hi All, > > I also tried with 16ff395c156e and 3d576d682137 patches that touch > lib-storage/notify and still 2.2.19 cores: > > Core was generated by `dovecot/imap'. > Program terminated with signal 11, Segmentation fault. > #0 0x0043bb8c in mailbox_list_notify_next (notify=0x0, > rec_r=0xbfdb34a0) at mailbox-list-notify.c:28 > 28 return notify->list->v.notify_next(notify, rec_r); > (gdb) bt > #0 0x0043bb8c in mailbox_list_notify_next (notify=0x0, > rec_r=0xbfdb34a0) at mailbox-list-notify.c:28 > #1 0x080641f2 in imap_client_notify_ns (notify_ns=0x9f5b470) at > imap-notify.c:248http://hg.dovecot.org/dovecot-2.2/rev/787cfed25b0f should fix this.