Displaying 20 results from an estimated 280 matches for "t_id".
Did you mean:
_id
2005 Dec 14
2
Patch: ioloop using kqueue/kevent for FreeBSD
...= 0)
+ kevent(ctx->kq, &ev, 1, NULL, 0, NULL);
+ }
+}
+
+
+void io_loop_handler_run(struct ioloop *ioloop)
+{
+ struct ioloop_handler_context *ctx = ioloop->handler_context;
+ struct timeval tv;
+ struct timespec ts;
+ unsigned int t_id;
+ int msecs, ret, i;
+
+ /* get the time left for next timeout task */
+ msecs = io_loop_get_wait_time(ioloop->timeouts, &tv, NULL);
+ ts.tv_sec = tv.tv_sec;
+ ts.tv_nsec = tv.tv_usec * 1000;
+
+ /* wait for events */
+ ret = kevent (ctx->...
2004 Jan 30
0
coupled statistical models
...is essentially
a sum over the volume at each p. When the individual models are
computed, coefficients should be chosen so that this is satisfied.
How to do this in R?
Without the coupling the least-squares formulation would seek
coefficients a_p and b_p to minimize:
sum_p(sum_p((s_id,p - a_p t_id,p + b_k)^2)).
Minimization at each p is independent.
With coupling, there would be an additional term:
sum_id((sum_p(vp)-h_id)^2)
where vp is a function of a_p t_id,p + b_k and of t_id.
The functions for vp are nonlinear, but if necessary with some work
it should be possible to get a linear fu...
2004 Oct 25
0
[PATCH] Request for testing: BSD kqueue ioloop handler
...LT_READ : EVFILT_WRITE,
+ EV_DELETE | EV_EOF, 0, 0, io);
+}
+
+void io_loop_handler_run(struct ioloop *ioloop)
+{
+ struct ioloop_handler_data *data = ioloop->handler_data;
+ struct io_list *list;
+ struct kevent *event;
+ struct io *io;
+ struct timespec ts;
+ struct timeval tv;
+ unsigned int t_id;
+ int ret, i, call;
+
+ /* get the time left for next timeout task */
+ io_loop_get_wait_time(ioloop->timeouts, &tv, NULL);
+ TIMEVAL_TO_TIMESPEC(&tv, &ts);
+
+ ret = kevent(data->kq, data->events, data->events_changed,
+ data->events, data->events_size,...
2016 Oct 06
2
[imap-login] SSL related crashes using the latest 2.2.25
...007fdec4e70e4b in ssl_handshake (proxy=0x169d7b0) at
ssl-proxy-openssl.c:468
ret = <value optimized out>
#3 ssl_step (proxy=0x169d7b0) at ssl-proxy-openssl.c:519
No locals.
#4 0x00007fdec4beee0b in io_loop_call_io (io=0x13fdab0) at ioloop.c:564
ioloop = 0x12a07b0
t_id = 2
__FUNCTION__ = "io_loop_call_io"
#5 0x00007fdec4bf0407 in io_loop_handler_run_internal (ioloop=<value
optimized out>) at ioloop-epoll.c:220
ctx = 0x12fb8d0
events = <value optimized out>
event = 0x171fb20
list = 0x15f8c50...
2006 Mar 13
5
Displaying related entries by tags - HELP!
...tag.name.to_s
}.join(", ") %>
<p><%= post.entry %></p>
<% end %>
#layout
<% for related in @contents_related %>
<li><%= related.title %><br /></li>
<% end %>
#controller (how do I pass the tag_id and the content_id?)
@contents_related = Content.show_related_entries(?,?)
#model
def self.show_related_entries(t_id, c_id)
find_by_sql("select c.title from contents c inner join contents_tags
ct on c.id = ct.content_id where ct.tag_id = #{t_id} and c.id !=
#{c_id}")
end
The function works if I ma...
2004 Aug 30
0
[PATCH] [RFC] epoll based ioloop handler (now with patch)
...m");
+
+ data->events_pos--;
+}
+
+#define IO_RW (IO_READ | IO_WRITE)
+
+void io_loop_handler_run(struct ioloop *ioloop)
+{
+ struct ioloop_handler_data *data = ioloop->handler_data;
+ struct epoll_event *event;
+ struct io_list *list;
+ struct io *io;
+ struct timeval tv;
+ unsigned int t_id;
+ int msecs, ret, i, call;
+
+ /* get the time left for next timeout task */
+ msecs = io_loop_get_wait_time(ioloop->timeouts, &tv, NULL);
+
+ ret = epoll_wait(data->epfd, data->events, data->events_size, msecs);
+ if (ret < 0 && errno != EINTR)
+ i_warning("...
2007 Mar 08
1
Coredump in dovecot-auth on gss auth
...__PRETTY_FUNCTION__ = "auth_request_handler_flush_failures"
#3 0x0806f54a in io_loop_handle_timeouts (ioloop=0x8096f78) at ioloop.c:276
t = (struct timeout *) 0x8098048
called_timeouts = (struct timeout *) 0x8098048
tv = {tv_sec = 134852200, tv_usec = 0}
t_id = 2
#4 0x0806fb42 in io_loop_handler_run (ioloop=0x8096f78) at ioloop-poll.c:159
ctx = (struct ioloop_handler_context *) 0x8096fb0
pollfd = (struct pollfd *) 0x8096f78
tv = {tv_sec = 0, tv_usec = 0}
io = (struct io *) 0x8047f99
t_id = 134836088
msecs...
2003 Apr 16
1
PATCH Add support for kqueue in ioloop subsystem
...uot;couldn't remove filter with kqueue: %m");
}
}
void io_loop_handler_run(struct ioloop *ioloop)
{
struct ioloop_handler_data *data = ioloop->handler_data;
struct timeval tv;
struct timespec ts;
struct io *io, *next;
struct kevent kes[KEVENT_SET_SIZE], *kev;
unsigned int t_id;
int ret, id, mark;
/* get the time left for next timeout task */
io_loop_get_wait_time(ioloop->timeouts, &tv, NULL);
/* convert struct timeval into struct timespec */
TIMEVAL_TO_TIMESPEC(&tv, &ts);
/* zero the event vector */
memset(kes, 0, sizeof(struct kevent) * K...
2010 Mar 21
3
2.0.beta3 imapd running hot
...f0) at array.h:189
No locals.
#1 io_loop_handler_run (ioloop=0x22bd5f0) at ioloop-epoll.c:188
ctx = 0x22bd800
event = <value optimized out>
list = <value optimized out>
io = <value optimized out>
tv = {tv_sec = 26, tv_usec = 307176}
t_id = 2
msecs = 26308
ret = 1
i = <value optimized out>
call = <value optimized out>
#2 0x00007f8f682bc8e8 in io_loop_run (ioloop=0x22bd5f0) at ioloop.c:350
No locals.
#3 0x00007f8f682acd63 in master_service_run (service=0x22bd4c0,
callback=0x6590) at maste...
2018 Mar 05
3
Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))
...xtra_fields_count = 0
}
delivery_time_started = {
tv_sec = 1520258982,
tv_usec = 162818
}
sets = <optimized out>
rcpt_user = 0x56239bdcacb8
mail_set = <optimized out>
username = <optimized out>
rcpt_idx = 0
smtp_set = 0x56239be046e0
lda_set = 0x56239be04750
ns = <optimized out>
rcpt_to = 0x56239bde0e78
trcpt = 0x56239bde0e38
storage = 0x56239bdcecc8
mail_error = 1793002219
ret = <optimized out>
client = 0x56239bdb...
2007 Jul 04
1
PAM timed out, kill failed, auth SEGV
...e = (void *) 0x80c6de8
timeout = 1182548633
#4 0x08079fc5 in io_loop_handle_timeouts (ioloop=0x80b09b0,
update_run_now=true) at ioloop.c:294
t = (struct timeout *) 0x80b4ca8
called_timeouts = (struct timeout *) 0x80b4ca8
tv = {tv_sec = 0, tv_usec = 0}
t_id = 2
#5 0x0807b32e in io_loop_handler_run (ioloop=0x80b09b0) at ioloop-
epoll.c:175
ctx = (struct ioloop_handler_context *) 0x80b09d8
events = (struct epoll_event *) 0x80b0a18
event = (const struct epoll_event *) 0x80b0a18
list = (struct io_list *) 0x80c42d8...
2005 Dec 15
2
Patch: More of kqueue() support.
...[i].ident].mode & IO_ERROR) {
+ if ((ctx->fds[ctx->evbuf[i].ident].mode & IO_ERROR)
+ && (ctx->evbuf[i].flags & EV_EOF)) {
struct io *errio = ctx->fds[ctx->evbuf[i].ident].errio;
t_id = t_push();
@@ -171,8 +176,8 @@ void io_loop_handler_run(struct ioloop *
(void *)errio->callback);
}
}
-
- if (ctx->fds[ctx->evbuf[i].ident].mode & (IO_WRITE | IO_READ)) {
+ else if (ctx->fds[ctx->evbuf[i].ident].mode
+...
2006 May 09
2
Fix for the kevent "Unrecognized event" problem.
The attached patch should fix the problem with dying imap on
"Unrecognized event". The problem is that when we register a handle for
IO_ERROR only, we still can get readable/writable event without EV_EOF
being set. This case was not handled.
--
Vaclav Haisman
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: io-kq.diff
URL:
2014 Feb 23
1
2.2.12: Panic: file mail-index.c: line 380 (mail_index_keywords_unref): assertion failed: (keywords->refcount > 0)
...f2 in client_input (client=0xb0de50) at
imap-client.c:933
cmd = <optimized out>
output = 0xb0e880
bytes = 26
__FUNCTION__ = "client_input"
#16 0x00007f64dab873b6 in io_loop_call_io (io=0xb0e950) at ioloop.c:388
ioloop = 0xaed740
t_id = 2
#17 0x00007f64dab88237 in io_loop_handler_run
(ioloop=ioloop at entry=0xaed740) at ioloop-epoll.c:220
ctx = 0xaee3d0
events = 0x0
event = 0xaef1f0
list = 0xaefdc0
io = <optimized out>
tv = {tv_sec = 4, tv_usec = 995201}
event...
2008 Feb 20
1
(message_parser_parse_next_block): assertion, failed: (ctx->input->eof)
...n client_command_cancel (cmd=0x61e048) at
client.c:74
cmd_ret = false
#14 0x000000000041affc in client_destroy (client=0x60d200,
reason=0x4c4673 "Disconnected for inactivity") at client.c:132
__PRETTY_FUNCTION__ = "client_destroy"
#15 0x000000000041aba6 in client_idle_timeout (client=0x60d200) at
client.c:27
No locals.
#16 0x00000000004b30ef in io_loop_handle_timeouts_real (ioloop=0x600240)
at ioloop.c:279
timeout = (struct timeout *) 0x600980
item = (struct priorityq_item *) 0x600980
tv = {tv_sec = 0, tv_usec = 0}
tv_call = {...
2008 Feb 06
2
(message_parse_header_next): assertion failed:, +(IS_LWSP(line->value[0])) 1.1beta14
I noticed these happen when one of my users searches his Trash folder
which he doesn't empty.
He uses thunderbird and it is reproducable.
Feb 5 22:47:39 boomhauer dovecot: IMAP(username): file
message-header-parser.c: line 350 (message_parse_header_next): assertion
failed:
+(IS_LWSP(line->value[0]))
Feb 5 22:47:41 boomhauer dovecot: child 8022 (imap) killed with signal 6
Feb 5
2006 Dec 10
2
segfault in RC15
...context *) 0x80db044
ret = 2
#9 0x80a9608 in io_loop_handler_run (ioloop=0x80d7000) at ioloop-poll.c:199
ctx = (struct ioloop_handler_context *) 0x80cb0a0
pollfd = (struct pollfd *) 0x2
tv = {tv_sec = 0, tv_usec = 888475}
io = (struct io *) 0x80cb4a0
t_id = 2
msecs = 135099072
ret = 0
call = 135099072
#10 0x80a901d in io_loop_run (ioloop=0x80d7000) at ioloop.c:281
ioloop = (struct ioloop *) 0x80d7000
#11 0x8060f1d in main (argc=1, argv=0xbfbff624, envp=0xbfbff62c) at main.c:280
No locals.
2017 Jul 18
2
2.2.devel (0bee280) crashdump virtual plugin
...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 at entry=0x56363ff1f9b0) at ioloop-epoll.c:223
ctx = 0x56363ff214d0
io = <optimized out>
tv = {tv_sec = 3, tv_usec = 496715}
events_coun...
2015 Apr 28
2
Crashes in dovecot -hg (86f535375750)
...0000041ccf4 in client_input (client=0x20abbb0) at
imap-client.c:967
cmd = 0x7ffde3a189a0
output = 0x0
bytes = 12
__FUNCTION__ = "client_input"
#8 0x00007f18612fc992 in io_loop_call_io (io=0x20c8610) at ioloop.c:501
ioloop = 0x2076740
t_id = 2
__FUNCTION__ = "io_loop_call_io"
#9 0x00007f18612fec40 in io_loop_handler_run_internal (ioloop=0x2076740)
at ioloop-epoll.c:220
ctx = 0x2077460
events = 0x2078290
event = 0x2078290
list = 0x2078e80
io = 0x20c8610
tv...
2008 Sep 16
1
another assertion failure in current 1.1 hg (1.1.3 was working fine) - file message-address.c: line 43 (parse_local_part): assertion failed: (ctx->parser.data != ctx->parser.end)
...nished = false
#26 0x08100310 in io_loop_handle_timeouts_real (ioloop=0x90ed9b0) at
ioloop.c:298
timeout = (struct timeout *) 0x90fecd8
item = (struct priorityq_item *) 0x90fecd8
tv = {tv_sec = 0, tv_usec = 0}
tv_call = {tv_sec = 1221553327, tv_usec = 767240}
t_id = 3
#27 0x0810036a in io_loop_handle_timeouts (ioloop=0x90ed9b0) at ioloop.c:309
_data_stack_cur_id = 2
#28 0x0810102c in io_loop_handler_run (ioloop=0x90ed9b0) at ioloop-epoll.c:175
ctx = (struct ioloop_handler_context *) 0x90edaa8
events = (struct epoll_event *) 0x90edae8...