On Thu, Nov 17, 2011 at 4:07 AM, Mike McCormack
<[email protected]> wrote:
> Running elementary_test and clicking on the button test this morning gives a 
> crash sometimes.
>
> Eina thread debugging on & using gmainloop.

After a quick look in evas_common_rgba_image_scalecache_do, we do have
an issue there. The image lock is taken while calling sub function
that don't expect it to be locked. I am just wondering why the lock is
taken for so long on im->cache.lock, any reason ?

Thanks,
   Cedric

> mike@mike-desktop:~/git/e/evas$ gdb elementary_test
> GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/local/bin/elementary_test...done.
> (gdb) run
> Starting program: /usr/local/bin/elementary_test
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb6924b70 (LWP 24569)]
> [Thread 0xb6924b70 (LWP 24569) exited]
> *************************
> * The IMPOSSIBLE HAPPEN *
> * LOCK STILL TAKEN :    *
> *************************
> lock 0x84923e8, locked: 1, by -1223465248
> /usr/local/lib/libevas.so.1(evas_common_rgba_image_scalecache_do+0xad)[0xb7d6d8ed]
> /usr/local/lib/evas/modules/engines/software_generic/linux-gnu-i686-1.1.0/module.so(+0x2c88)[0xb7fc8c88]
> /usr/local/lib/libevas.so.1(+0x2975b)[0xb7cee75b]
> /usr/local/lib/libevas.so.1(evas_render_mapped+0x63f)[0xb7d2f15f]
> /usr/local/lib/libevas.so.1(+0x6d71c)[0xb7d3271c]
> /usr/local/lib/libecore_evas.so.1(+0x118b7)[0xb7c818b7]
> /usr/local/lib/libecore_evas.so.1(+0xcc7e)[0xb7c7cc7e]
> /usr/local/lib/libecore.so.1(_ecore_idle_enterer_call+0xff)[0xb7ca13af]
> /usr/local/lib/libecore.so.1(+0x14a04)[0xb7ca3a04]
> /lib/i386-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x1c8)[0xb777aaa8]
> /lib/i386-linux-gnu/libglib-2.0.so.0(+0x41270)[0xb777b270]
> /lib/i386-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x17b)[0xb777b92b]
> /usr/local/lib/libecore.so.1(ecore_main_loop_begin+0x34)[0xb7ca5584]
> /usr/local/lib/libelementary-ver-pre-svn-09.so.0(elm_run+0x17)[0xb7f4a647]
> /usr/local/bin/elementary_test[0x8055c76]
> /usr/local/bin/elementary_test[0x8055d2f]
> /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0xb7a5ce37]
> /usr/local/bin/elementary_test[0x8054521]
> *************************
>
> Program received signal SIGABRT, Aborted.
> 0xb7fe2832 in ?? () from /lib/ld-linux.so.2
> (gdb) bt
> #0  0xb7fe2832 in ?? () from /lib/ld-linux.so.2
> #1  0xb7a70e71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #2  0xb7a7434e in abort () at abort.c:92
> #3  0xb7de942e in eina_threads_shutdown () at eina_main.c:368
> #4  0xb7d425b1 in _evas_preload_thread_end (data=0x825e2e8) at 
> evas_preload.c:58
> #5  0xb7d42561 in _evas_preload_thread_done (target=0x825e2e8, 
> type=EVAS_CALLBACK_MOUSE_IN, event_info=0x83003a0) at evas_preload.c:70
> #6  0xb7d376e2 in evas_async_events_process () at evas_async_events.c:91
> #7  0xb7d3f90a in evas_cache_image_load_data (im=0x84920a8) at 
> evas_cache_image.c:1182
> #8  0xb7d6e0f0 in evas_common_rgba_image_scalecache_do (ie=0x84920a8, 
> dst=0x847ba40, dc=0x8235e60, smooth=1, src_region_x=0, src_region_y=0, 
> src_region_w=48, src_region_h=67,
>    dst_region_x=101, dst_region_y=69, dst_region_w=48, dst_region_h=67) at 
> evas_image_scalecache.c:558
> #9  0xb7fc8c88 in eng_image_draw (data=0x8363af8, context=0x8235e60, 
> surface=0x847ba40, image=0x84920a8, src_x=0, src_y=0, src_w=48, src_h=67, 
> dst_x=101, dst_y=69, dst_w=48,
>    dst_h=67, smooth=1) at evas_engine.c:544
> #10 0xb7cee75b in evas_object_image_render (obj=0xb697de60, output=0x8363af8, 
> context=0x8235e60, surface=0x847ba40, x=0, y=0) at evas_object_image.c:3111
> #11 0xb7d2f15f in evas_render_mapped (e=0x840a340, obj=0xb697de60, 
> context=0x8235e60, surface=0x847ba40, off_x=0, off_y=0, mapped=0, ecx=0, 
> ecy=0, ecw=320, ech=480)
>    at evas_render.c:1268
> #12 0xb7d3271c in evas_render_updates_internal (e=<value optimized out>, 
> make_updates=1 '\001', do_draw=1 '\001') at evas_render.c:1585
> #13 0xb7c818b7 in _ecore_evas_x_render (ee=0x810f2b8) at ecore_evas_x.c:256
> #14 0xb7c7cc7e in _ecore_evas_idle_enter (data=0x0) at ecore_evas.c:52
> #15 0xb7ca13af in _ecore_call_task_cb () at ecore_private.h:264
> #16 _ecore_idle_enterer_call () at ecore_idle_enterer.c:164
> #17 0xb7ca3a04 in _ecore_main_gsource_dispatch (source=0x80b9170, callback=0, 
> user_data=0x0) at ecore_main.c:706
> #18 0xb777aaa8 in g_main_dispatch (context=0x80ba280) at 
> /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
> #19 g_main_context_dispatch (context=0x80ba280) at 
> /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
> #20 0xb777b270 in g_main_context_iterate (context=0x80ba280, 
> block=-1216825312, dispatch=1, self=<value optimized out>) at 
> /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
> #21 0xb777b92b in g_main_loop_run (loop=0x840cb18) at 
> /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3299
> #22 0xb7ca5584 in ecore_main_loop_begin () at ecore_main.c:893
> #23 0xb7f4a647 in elm_run () at elm_main.c:828
> #24 0x08055c76 in elm_main (argc=1, argv=0xbffff2a4) at test.c:604
> #25 0x08055d2f in main (argc=1, argv=0xbffff2a4) at test.c:613
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>



-- 
Cedric BAIL

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to