Re: bug in indexer/indexer-worker

2015-06-17 Thread Infoo Matic

On Wednesday, June 17, 2015 12:13 CEST, Timo Sirainen t...@iki.fi wrote:

 On 16 Jun 2015, at 15:07, Infoomatic infooma...@gmx.at wrote:

  [1] Then comes the panic which produces loads of errormessages below the 
  Raw backtrace part:
  Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
  0x7f40b55c39d0 (line 411, fd 20)
  Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: Timeout 
  leak: 0x7f40b55c3780 (line 325)
  Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Panic: file 
  ioloop.c: line 39 (io_add_file): assertion failed: (callback != NULL)

 Should be fixed by http://hg.dovecot.org/dovecot-2.2/rev/3ae8cf3f8320

wow, that was fast! Great, works on my tests! Thanks a lot!






Re: bug in indexer/indexer-worker

2015-06-17 Thread Timo Sirainen
On 16 Jun 2015, at 15:07, Infoomatic infooma...@gmx.at wrote:

 [1] Then comes the panic which produces loads of errormessages below the Raw 
 backtrace part:
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
 0x7f40b55c39d0 (line 411, fd 20)
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: Timeout 
 leak: 0x7f40b55c3780 (line 325)
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Panic: file 
 ioloop.c: line 39 (io_add_file): assertion failed: (callback != NULL)

Should be fixed by http://hg.dovecot.org/dovecot-2.2/rev/3ae8cf3f8320


Aw: bug in indexer/indexer-worker

2015-06-16 Thread Infoomatic
I guess this is the same issue: 
http://www.dovecot.org/list/dovecot/2015-June/101029.html


 Gesendet: Dienstag, 16. Juni 2015 um 14:07 Uhr
 Von: Infoomatic infooma...@gmx.at
 An: Dovecot ML dovecot@dovecot.org
 Betreff: bug in indexer/indexer-worker

 Hi,
 
 I have already mentioned this in 
 http://www.dovecot.org/pipermail/dovecot/2014-November/098592.html
 
 I could reproduce the errors above in a self-compiled v2.2.18 and the 
 prebuilt packages from xi.rename-it.nl (in addition to version 2.2.15 
 mentioned in the link)
 
 The problem occurs when enabling fts_tika in the plugins (tried tika 1.6, 1.7 
 and 1.8). I tried to move a folder of my mailbox with about 2000 mails to my 
 server (no users, modern hardware).
 At some point I get an error and from this time on dovecot keeps repeating 
 the last lines with every mail that comes in ... see [1]
 I then get kernel syslog messages like in [2]. when I try to index all users 
 (had another testuser) mailboxes with doveadm index I get the errors of [3].
 
 The mailfolder does contain mails with attachments of all sorts, videos, 
 office documents etc. When disabling fts_tika it works. dovecot -n output is 
 [4]
 
 Could someone of the devs please have a look?
 
 best regards,
 infoomatic
 
 
 [1] Then comes the panic which produces loads of errormessages below the Raw 
 backtrace part:
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
 0x7f40b55c39d0 (line 411, fd 20)
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: Timeout 
 leak: 0x7f40b55c3780 (line 325)
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Panic: file 
 ioloop.c: line 39 (io_add_file): assertion failed: (callback != NULL)
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Error: Raw 
 backtrace: /opt/dovecot/lib/dovecot/libdovecot.so.0(+0x78320) 
 [0x7f40b55f4320] - /opt/dovecot/lib/dovecot/libdovecot.so.0(+0x783fe) 
 [0x7f40b55f43fe] - /opt/dovecot/lib/dovecot/libdovecot.so.0(i_fatal+0) 
 [0x7f40b55a3b25] - /opt/dovecot/lib/dovecot/libdovecot.so.0(+0x897d0) 
 [0x7f40b56057d0] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_move_io+0x3e) 
 [0x7f40b560643e] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(connection_switch_ioloop+0x14) 
 [0x7f40b55f21d4] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(http_client_switch_ioloop+0x28) 
 [0x7f40b55c8148] - /opt/dovecot/lib/dovecot/libdovecot.so.0(+0x44536) 
 [0x7f40b55c0536] - 
 /opt/dovecot/lib/dovecot/lib21_fts_solr_plugin.so(solr_connection_post_more+0x49)
  [0x7f40b108d469] - 
 /opt/dovecot/lib/dovecot/lib21_fts_solr_plugin.so(+0x3ac9) [0x7f40b1089ac9] 
 - /opt/dovecot/lib/dovecot/lib21_fts_solr_plugin.so(+0x3b6d) 
 [0x7f40b1089b6d] - /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(+0x86ec) 
 [0x7f40b495c6ec] - 
 /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(fts_backend_update_deinit+0x23) 
 [0x7f40b495c723] - /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(+0xe5cc) 
 [0x7f40b49625cc] - /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(+0xf451) 
 [0x7f40b4963451] - /opt/dovecot/lib/dovecot/lib10_quota_plugin.so(+0xb454) 
 [0x7f40b4b97454] - /opt/dovecot/lib/dovecot/lib01_acl_plugin.so(+0xcfea) 
 [0x7f40b4daafea] - 
 /opt/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit_get_changes+0x41)
  [0x7f40b58a64f1] - 
 /opt/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit+0xe)
  [0x7f40b58a658e] - dovecot/indexer-worker() [0x40250c] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) 
 [0x7f40b560615c] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xbb) 
 [0x7f40b56070ab] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) 
 [0x7f40b56061c9] - 
 /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f40b5606248] 
 - /opt/dovecot/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
 [0x7f40b55a9093] - dovecot/indexer-worker(main+0xe3) [0x401f03] - 
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f40b51d8ec5] - 
 dovecot/indexer-worker() [0x401fc2]
 Jun 16 10:11:08 testhost dovecot: indexer: Error: Indexer worker 
 disconnected, discarding 2 requests for user1
 Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Fatal: master: 
 service(indexer-worker): child 2066 killed with signal 6 (core dumped)
 Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
 0x7f25bc1689d0 (line 120, fd 23)
 Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: Timeout 
 leak: 0x7f25bc168780 (line 325)
 Jun 16 10:11:09 testhost dovecot: indexer: Error: Indexer worker 
 disconnected, discarding 2 requests for user1
 Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Fatal: master: 
 service(indexer-worker): child 2124 killed with signal 11 (core dumped)
 Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
 0x7f6cabb149d0 (line 120, fd 23)
 Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: Timeout 
 leak

bug in indexer/indexer-worker

2015-06-16 Thread Infoomatic
Hi,

I have already mentioned this in 
http://www.dovecot.org/pipermail/dovecot/2014-November/098592.html

I could reproduce the errors above in a self-compiled v2.2.18 and the prebuilt 
packages from xi.rename-it.nl (in addition to version 2.2.15 mentioned in the 
link)

The problem occurs when enabling fts_tika in the plugins (tried tika 1.6, 1.7 
and 1.8). I tried to move a folder of my mailbox with about 2000 mails to my 
server (no users, modern hardware).
At some point I get an error and from this time on dovecot keeps repeating the 
last lines with every mail that comes in ... see [1]
I then get kernel syslog messages like in [2]. when I try to index all users 
(had another testuser) mailboxes with doveadm index I get the errors of [3].

The mailfolder does contain mails with attachments of all sorts, videos, office 
documents etc. When disabling fts_tika it works. dovecot -n output is [4]

Could someone of the devs please have a look?

best regards,
infoomatic


[1] Then comes the panic which produces loads of errormessages below the Raw 
backtrace part:
Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
0x7f40b55c39d0 (line 411, fd 20)
Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Warning: Timeout leak: 
0x7f40b55c3780 (line 325)
Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Panic: file ioloop.c: 
line 39 (io_add_file): assertion failed: (callback != NULL)
Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Error: Raw backtrace: 
/opt/dovecot/lib/dovecot/libdovecot.so.0(+0x78320) [0x7f40b55f4320] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(+0x783fe) [0x7f40b55f43fe] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f40b55a3b25] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(+0x897d0) [0x7f40b56057d0] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_move_io+0x3e) [0x7f40b560643e] 
- /opt/dovecot/lib/dovecot/libdovecot.so.0(connection_switch_ioloop+0x14) 
[0x7f40b55f21d4] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(http_client_switch_ioloop+0x28) 
[0x7f40b55c8148] - /opt/dovecot/lib/dovecot/libdovecot.so.0(+0x44536) 
[0x7f40b55c0536] - 
/opt/dovecot/lib/dovecot/lib21_fts_solr_plugin.so(solr_connection_post_more+0x49)
 [0x7f40b108d469] - /opt/dovecot/lib/dovecot/lib21_fts_solr_plugin.so(+0x3ac9) 
[0x7f40b1089ac9] - /opt/dovecot/lib/dovecot/lib21_fts_solr_plugin.so(+0x3b6d) 
[0x7f40b1089b6d] - /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(+0x86ec) 
[0x7f40b495c6ec] - 
/opt/dovecot/lib/dovecot/lib20_fts_plugin.so(fts_backend_update_deinit+0x23) 
[0x7f40b495c723] - /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(+0xe5cc) 
[0x7f40b49625cc] - /opt/dovecot/lib/dovecot/lib20_fts_plugin.so(+0xf451) 
[0x7f40b4963451] - /opt/dovecot/lib/dovecot/lib10_quota_plugin.so(+0xb454) 
[0x7f40b4b97454] - /opt/dovecot/lib/dovecot/lib01_acl_plugin.so(+0xcfea) 
[0x7f40b4daafea] - 
/opt/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit_get_changes+0x41)
 [0x7f40b58a64f1] - 
/opt/dovecot/lib/dovecot/libdovecot-storage.so.0(mailbox_transaction_commit+0xe)
 [0x7f40b58a658e] - dovecot/indexer-worker() [0x40250c] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7f40b560615c] 
- /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xbb) 
[0x7f40b56070ab] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) 
[0x7f40b56061c9] - /opt/dovecot/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7f40b5606248] - 
/opt/dovecot/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f40b55a9093] - dovecot/indexer-worker(main+0xe3) [0x401f03] - 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f40b51d8ec5] - 
dovecot/indexer-worker() [0x401fc2]
Jun 16 10:11:08 testhost dovecot: indexer: Error: Indexer worker disconnected, 
discarding 2 requests for user1
Jun 16 10:11:08 testhost dovecot: indexer-worker(user1): Fatal: master: 
service(indexer-worker): child 2066 killed with signal 6 (core dumped)
Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
0x7f25bc1689d0 (line 120, fd 23)
Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: Timeout leak: 
0x7f25bc168780 (line 325)
Jun 16 10:11:09 testhost dovecot: indexer: Error: Indexer worker disconnected, 
discarding 2 requests for user1
Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Fatal: master: 
service(indexer-worker): child 2124 killed with signal 11 (core dumped)
Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: I/O leak: 
0x7f6cabb149d0 (line 120, fd 23)
Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Warning: Timeout leak: 
0x7f6cabb14780 (line 325)
Jun 16 10:11:09 testhost dovecot: indexer: Error: Indexer worker disconnected, 
discarding 2 requests for user1
Jun 16 10:11:09 testhost dovecot: indexer-worker(user1): Fatal: master: 
service(indexer-worker): child 2125 killed with signal 11 (core dumped)

[2] kernel syslog:
[Tue Jun 16 09:51:15 2015] indexer-worker[7592]: