Gday
Any idea why this code:
if (ev->pollfds[ndx].revents & POLLNVAL) {
/* should never happen */
SEGFAULT();
}
in static int fdevent_poll_event_get_revent(fdevents *ev, size_t ndx)
Running 64bit debian. Happens frequently under heavy load. The server
just segfauls.
Any workaround?
Shannon
on 02.09.2008 00:50
on 02.09.2008 01:08
Or even a way to modify the code to handle this condition gracefully? Shannon wrote: > Gday > > Any idea why this code: > > if (ev->pollfds[ndx].revents & POLLNVAL) { > /* should never happen */ > SEGFAULT(); > } > > in static int fdevent_poll_event_get_revent(fdevents *ev, size_t ndx) > > Running 64bit debian. Happens frequently under heavy load. The server > just segfauls. > > Any workaround? > > Shannon

