Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-26 Thread Nick Mathewson
On Sun, Feb 24, 2013 at 8:46 AM, Tony Qin wrote: > Is it allowed to create two loops in one process but within different thread? Yes, but they must have different event_base structures. Also, you need to enable threading support by calling the appropriate event_enable_*_threading() function

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-24 Thread Tony Qin
Is it allowed to create two loops in one process but within different thread? On Thu, Feb 21, 2013 at 11:27 PM, Nick Mathewson wrote: > On Wed, Feb 20, 2013 at 1:41 AM, Tony Qin wrote: >>> Debug mode and debug logs are different things; if you can't store the >>> debug logs, you can still enabl

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-21 Thread Nick Mathewson
On Wed, Feb 20, 2013 at 1:41 AM, Tony Qin wrote: >> Debug mode and debug logs are different things; if you can't store the >> debug logs, you can still enable debugging mode without turning on >> debug logs. >> > > how to enable debug mode without turning on debug log? > > only set the following l

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-19 Thread Tony Qin
> Debug mode and debug logs are different things; if you can't store the > debug logs, you can still enable debugging mode without turning on > debug logs. > how to enable debug mode without turning on debug log? only set the following line does not work: int _event_debug_mode_on = 1; **

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-19 Thread Nick Mathewson
On Mon, Feb 18, 2013 at 9:41 PM, Tony Qin wrote: > humm when I enable the debug mode in libevent, it will dump > GB-level log and not easy to check specific event. Also, the crash > does not always happen in any time running. Debug mode and debug logs are different things; if you can't store

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-18 Thread Tony Qin
humm when I enable the debug mode in libevent, it will dump GB-level log and not easy to check specific event. Also, the crash does not always happen in any time running. Has any quickly fix there? I try to disable the event_errx() in event_queue_remove() and let server alive. However, it see

Re: [Libevent-users] random crashed by [err] event_queue_remove:not on queue 8

2013-02-18 Thread Nick Mathewson
On Sun, Feb 17, 2013 at 10:09 PM, Tony Qin wrote: > Hi all, > > I uses the libevent-2.0.19-stable in my rpc server to send data from > client-end to server-end. However, my server is always "exist" by > libevent (by event_errx()). > > Checked log and fond the follow message: > > event_queue_remove