[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Error in evthread_pthread.c



On Mon, Aug 20, 2012 at 5:29 PM, Chernyshev Vyacheslav <astellar@xxxxx> wrote:
> Hello.
>
> My application had a very confusing crash today, it failed at assertion deep
> inside pthreads library. Here is an exact output:
>
>
> tpp.c:63:  __pthread_tpp_change_priority: Assertion `new_prio == -1 ||
> (new_prio >= __sched_fifo_min_prio && new_prio <=
> __sched_fifo_max_prio)' failed.
>
>
> After a bit of googling around I found a good reference to the same problem:
> http://sourceware.org/ml/libc-help/2008-05/msg00072.html and, after checking
> libevent code, it is true, pthread_mutexattr_init() call is missing.

What about the initialization in evthread_use_pthreads() ?  Is there
some reason that's not happening, or not happening correctly?

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.