Re: [Libevent-users] segfault issue

2012-03-30 Thread Nick Mathewson
On Tue, Mar 27, 2012 at 4:35 PM, William Lima wrote: > On Fri, Mar 23, 2012 at 12:54 AM, Nick Mathewson > wrote: >> >> On Thu, Mar 22, 2012 at 9:18 PM, Mark Ellzey wrote: >> > On Thu, Mar 22, 2012 at 07:11:01PM -0300, William Lima wrote: >> >> Hi! >> >> >> >> I'm using bufferevent in my proxy pr

Re: [Libevent-users] segfault issue

2012-03-30 Thread William Lima
On Tue, Mar 27, 2012 at 5:35 PM, William Lima wrote: > On Fri, Mar 23, 2012 at 12:54 AM, Nick Mathewson wrote: > >> On Thu, Mar 22, 2012 at 9:18 PM, Mark Ellzey wrote: >> > On Thu, Mar 22, 2012 at 07:11:01PM -0300, William Lima wrote: >> >> Hi! >> >> >> >> I'm using bufferevent in my proxy proje

Re: [Libevent-users] segfault issue

2012-03-22 Thread Nick Mathewson
On Thu, Mar 22, 2012 at 9:18 PM, Mark Ellzey wrote: > On Thu, Mar 22, 2012 at 07:11:01PM -0300, William Lima wrote: >> Hi! >> >> I'm using bufferevent in my proxy project and I have a bug. The entire >> program is single-thread, but apparently the error callback can be called >> while something is

Re: [Libevent-users] segfault issue

2012-03-22 Thread Mark Ellzey
On Thu, Mar 22, 2012 at 08:18:21PM -0500, Mark Ellzey wrote: > On Thu, Mar 22, 2012 at 07:11:01PM -0300, William Lima wrote: > > Hi! > > > > I'm using bufferevent in my proxy project and I have a bug. The entire > > program is single-thread, but apparently the error callback can be called > > whil

Re: [Libevent-users] segfault issue

2012-03-22 Thread Mark Ellzey
On Thu, Mar 22, 2012 at 07:11:01PM -0300, William Lima wrote: > Hi! > > I'm using bufferevent in my proxy project and I have a bug. The entire > program is single-thread, but apparently the error callback can be called > while something is still running (ie. a parser) into server/client read > cal

[Libevent-users] segfault issue

2012-03-22 Thread William Lima
Hi! I'm using bufferevent in my proxy project and I have a bug. The entire program is single-thread, but apparently the error callback can be called while something is still running (ie. a parser) into server/client read callbacks, causing a segmentation fault, since the error callback destroy the