On Fri, 2 Oct 2009 05:43:30 -0400 Atton Jonathan <jonathan.at...@gmail.com> said:
only way this can deadlock is if... 1. realloc() failed on the queue - this means u must be out of memory or memory space. u're in deep trouble if you get here. i've fixed this. it now unloack on abort if realloc fails, but i dont think this is the problem or 2. evas_async_events_put() is somehow called from evas_async_events_process() which that helgrind doesn seem to show. it hints that 2 fdifferent mutexes are in fact the same one! the mutex being locked from _evas_cache_image_make_activ () is not the same one being locked in evas_async_events_put() and evas_async_events_process(). both are: static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; and static pthread_mutex_t _mutex = PTHREAD_MUTEX_INITIALIZER; but then there must be something deadlocking somehwere.. but i cant see just where. what i'll do is restructure a bit to remove the locks around the callback calling. that may help. > hello, > > I use ptotocam in my application and sometimes I have a deadlock in evas. > Maybe the problem is not directly photocam. > > Here the lock where the application freeze : > http://debian.pastebin.com/m66475a30 > > Helgrind show me a lock order violation : > http://debian.pastebin.com/m1b6e6fa7 > > -- > Regards. > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel