search for: tv_r

Displaying 2 results from an estimated 2 matches for "tv_r".

2008 Nov 28
2
Panic in 1.1.6 file ioloop.c: line 206
...[ID 107833 local2.info] IMAP(user): Disconnected: Logged out bytes=2429/174842484 Nov 27 19:25:59 balif dovecot: [ID 107833 local2.info] IMAP(user): Disconnected: Logged out bytes=467/10178 Nov 27 19:26:02 balif dovecot: [ID 107833 local2.crit] Panic: file ioloop.c: line 206: assertion failed: (tv_r->tv_sec >= 0 && tv_r->tv_usec >= 0) Nov 27 19:26:02 balif dovecot: [ID 398108 local2.error] Raw backtrace: 0x24d90 -> 0x2851c -> 0x286ac -> 0x28728 -> 0x28de0 -> 0x2877c -> 0x1f56c -> 0x15c40 -- / Leader de Projet & Communaut? | I'm working,...
2018 Feb 13
1
dovecot: master: Panic: kevent() failed: Invalid argument
...alues for the kevent() call are obtained by calling io_loop_get_wait_time(), which in turn calls timeout_get_wait_time() (both in ioloop.c). The timeout is computed by subtracting the value returned by gettimeofday() from timeout->next_run, and it looks like in very rare cases the result in tv_r->tv_usec is 1000000uS (1 second). So, it seems that if gettimeofday() returns exactly 0 microseconds, and timeout->next_run has exactly 1000000 microseconds, the kevent() call will fail (1 in 1e12 chance?). I'm not entirely sure where timeout->next_run is computed, but looking at...