On Mon, 2006-07-10 at 07:54 -0700, Niels Provos wrote:
> Uhm. Your event structure is a local variable that goes out of scope
> when the function returns. You are leaving libevent to work with
> garbage.
Aah ... I Knew i Had to be doing something wrong .. just couldn't put my
finger on it. Thank
Uhm. Your event structure is a local variable that goes out of scope
when the function returns. You are leaving libevent to work with
garbage.
Niels.
On 7/10/06, Pascal Hofstee <[EMAIL PROTECTED]> wrote:
Hi,
On FreeBSD/i386 6.1-STABLE using libevent-1.2 (from ports) i noticed a
consistent se
Hi,
On FreeBSD/i386 6.1-STABLE using libevent-1.2 (from ports) i noticed a
consistent segmentation fault when trying to use evtimer_set from a
different function context than event_dispatch():
Essentially i am doing the following:
void
myInit(void)
{
struct event timeout;
struct timeval