Re: [E-devel] evas deadlock on last elm window close
On Wed, 22 Feb 2012 18:59:10 +0900 Carsten Haitzler (The Rasterman) wrote: > On Tue, 21 Feb 2012 13:06:31 -0500 Michael Blumenkrantz > said: > > ugh no. thats a pita to find. :( if u can make a reproduction case.. that'd be > awsome... :) > > > gotten this once or twice recently, not sure how. maybe someone will spot a > > bug from the bt: > > > > #0 0xb7fff424 in __kernel_vsyscall () > > #1 0x480c4113 in __lll_lock_wait_private () > > #at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95 2 > > #0x480c13b7 in _L_lock_21 () from /lib/libpthread.so.0 3 0x480c1229 in > > #__pthread_cond_destroy (cond=0x846aa90) at pthread_cond_destroy.c:33 4 > > #0x48005067 in __pthread_cond_destroy (cond=0x846aa90) at forward.c:107 5 > > #0x42df6993 in eina_condition_free (cond=0x846aa8c) > > #at /usr/include/eina-1/eina/eina_inline_lock_posix.x:326 6 0x42df6b4f in > > #_evas_common_rgba_image_delete (ie=0x846aa08) at evas_image_main.c:164 7 > > #0x42dc1e79 in _evas_cache_image_entry_delete (cache=0x82bbdc8, > > ie=0x846aa08) #at evas_cache_image.c:238 8 0x42dc2b8d in > > evas_cache_image_shutdown #(cache=0x82bbdc8) at evas_cache_image.c:645 9 > > 0x42df6a21 in #evas_common_image_shutdown () at evas_image_main.c:116 10 > > 0xb7c9888d in #eng_output_free (data=0x80dba30) at evas_engine.c:1119 11 > > 0x42d6db53 in #evas_free (e=0x80c8900) at evas_main.c:235 12 0x42e998af in > > _ecore_evas_free #(ee=0x80c8660) at ecore_evas.c:2424 13 0x42e95c57 in > > ecore_evas_free #(ee=0x80c8660) at ecore_evas.c:901 14 0xb7fa4aa7 in > > #_deferred_ecore_evas_free (data=0x80c8660) at elm_win.c:470 15 0x42cda4b8 > > in #_ecore_job_event_handler (data=0x0, type=10, ev=0x8540990) at > > #ecore_job.c:113 16 0x42cd4a5e in _ecore_call_handler_cb (func=0x42cda49b > > #<_ecore_job_event_handler>, data=0x0, type=10, event=0x8540990) at > > #ecore_private.h:317 17 0x42cd59a1 in _ecore_event_call () at > > #ecore_events.c:704 18 0x42cdc730 in _ecore_main_loop_iterate_internal > > #(once_only=0) at ecore_main.c:1859 19 0x42cdb04d in ecore_main_loop_begin > > () #at ecore_main.c:902 20 0xb7f4fe71 in elm_run () at elm_main.c:836 21 > > #0x0804c3d9 in main (argc=1, argv=0xbfffe9a4) at emg.c:567 > > > > -- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > haven't seen it again since I reported :(( -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas deadlock on last elm window close
On Tue, 21 Feb 2012 13:06:31 -0500 Michael Blumenkrantz said: ugh no. thats a pita to find. :( if u can make a reproduction case.. that'd be awsome... :) > gotten this once or twice recently, not sure how. maybe someone will spot a > bug from the bt: > > #0 0xb7fff424 in __kernel_vsyscall () > #1 0x480c4113 in __lll_lock_wait_private () > #at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95 2 > #0x480c13b7 in _L_lock_21 () from /lib/libpthread.so.0 3 0x480c1229 in > #__pthread_cond_destroy (cond=0x846aa90) at pthread_cond_destroy.c:33 4 > #0x48005067 in __pthread_cond_destroy (cond=0x846aa90) at forward.c:107 5 > #0x42df6993 in eina_condition_free (cond=0x846aa8c) > #at /usr/include/eina-1/eina/eina_inline_lock_posix.x:326 6 0x42df6b4f in > #_evas_common_rgba_image_delete (ie=0x846aa08) at evas_image_main.c:164 7 > #0x42dc1e79 in _evas_cache_image_entry_delete (cache=0x82bbdc8, ie=0x846aa08) > #at evas_cache_image.c:238 8 0x42dc2b8d in evas_cache_image_shutdown > #(cache=0x82bbdc8) at evas_cache_image.c:645 9 0x42df6a21 in > #evas_common_image_shutdown () at evas_image_main.c:116 10 0xb7c9888d in > #eng_output_free (data=0x80dba30) at evas_engine.c:1119 11 0x42d6db53 in > #evas_free (e=0x80c8900) at evas_main.c:235 12 0x42e998af in _ecore_evas_free > #(ee=0x80c8660) at ecore_evas.c:2424 13 0x42e95c57 in ecore_evas_free > #(ee=0x80c8660) at ecore_evas.c:901 14 0xb7fa4aa7 in > #_deferred_ecore_evas_free (data=0x80c8660) at elm_win.c:470 15 0x42cda4b8 in > #_ecore_job_event_handler (data=0x0, type=10, ev=0x8540990) at > #ecore_job.c:113 16 0x42cd4a5e in _ecore_call_handler_cb (func=0x42cda49b > #<_ecore_job_event_handler>, data=0x0, type=10, event=0x8540990) at > #ecore_private.h:317 17 0x42cd59a1 in _ecore_event_call () at > #ecore_events.c:704 18 0x42cdc730 in _ecore_main_loop_iterate_internal > #(once_only=0) at ecore_main.c:1859 19 0x42cdb04d in ecore_main_loop_begin () > #at ecore_main.c:902 20 0xb7f4fe71 in elm_run () at elm_main.c:836 21 > #0x0804c3d9 in main (argc=1, argv=0xbfffe9a4) at emg.c:567 > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > 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 -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] evas deadlock on last elm window close
gotten this once or twice recently, not sure how. maybe someone will spot a bug from the bt: #0 0xb7fff424 in __kernel_vsyscall () #1 0x480c4113 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95 #2 0x480c13b7 in _L_lock_21 () from /lib/libpthread.so.0 #3 0x480c1229 in __pthread_cond_destroy (cond=0x846aa90) at pthread_cond_destroy.c:33 #4 0x48005067 in __pthread_cond_destroy (cond=0x846aa90) at forward.c:107 #5 0x42df6993 in eina_condition_free (cond=0x846aa8c) at /usr/include/eina-1/eina/eina_inline_lock_posix.x:326 #6 0x42df6b4f in _evas_common_rgba_image_delete (ie=0x846aa08) at evas_image_main.c:164 #7 0x42dc1e79 in _evas_cache_image_entry_delete (cache=0x82bbdc8, ie=0x846aa08) at evas_cache_image.c:238 #8 0x42dc2b8d in evas_cache_image_shutdown (cache=0x82bbdc8) at evas_cache_image.c:645 #9 0x42df6a21 in evas_common_image_shutdown () at evas_image_main.c:116 #10 0xb7c9888d in eng_output_free (data=0x80dba30) at evas_engine.c:1119 #11 0x42d6db53 in evas_free (e=0x80c8900) at evas_main.c:235 #12 0x42e998af in _ecore_evas_free (ee=0x80c8660) at ecore_evas.c:2424 #13 0x42e95c57 in ecore_evas_free (ee=0x80c8660) at ecore_evas.c:901 #14 0xb7fa4aa7 in _deferred_ecore_evas_free (data=0x80c8660) at elm_win.c:470 #15 0x42cda4b8 in _ecore_job_event_handler (data=0x0, type=10, ev=0x8540990) at ecore_job.c:113 #16 0x42cd4a5e in _ecore_call_handler_cb (func=0x42cda49b <_ecore_job_event_handler>, data=0x0, type=10, event=0x8540990) at ecore_private.h:317 #17 0x42cd59a1 in _ecore_event_call () at ecore_events.c:704 #18 0x42cdc730 in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1859 #19 0x42cdb04d in ecore_main_loop_begin () at ecore_main.c:902 #20 0xb7f4fe71 in elm_run () at elm_main.c:836 #21 0x0804c3d9 in main (argc=1, argv=0xbfffe9a4) at emg.c:567 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Evas & deadlock
On Fri, 2 Oct 2009 05:43:30 -0400 Atton Jonathan 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
[E-devel] Evas & deadlock
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