|
Re: crash with libevent 1.0: msg#00040web.cache.memcached
Nice. Committing. And I just realized it's been since April 2004 since the last official release, so maybe another one is due. On Fri, 14 Jan 2005, Ted Schundler wrote: > in delete_handler(...) in memcached.c, replacing the > evtimer_del(&deleteevent); > with: > static int initialized=0; > > if (initialized==1) { > evtimer_del(&deleteevent); > } else { > initialized=1; > } > > seems to make it work happily (so far) with libevent 1.0. The problem > seems to be that the function to delete an event tries to acces a > pointer from a member of the event structure, without checking if it > has been initialized. Reading the libevent manpage, this seems to be > incorrect behavior, but if a patch like that is applied, then there is > no problem event if/when it is fixed. > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | crash with libevent 1.0: 00040, Ted Schundler |
|---|---|
| Next by Date: | Re: Patch to save the PID file: 00040, Brad Fitzpatrick |
| Previous by Thread: | crash with libevent 1.0i: 00040, Ted Schundler |
| Next by Thread: | Re: Patch: man page location: 00040, Brad Fitzpatrick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |