On Tue, 5 Mar 2013 14:02:48 +0400 Юрий Лунев <y...@indigosystem.ru> said:

quick q.. did u do elm_init() ?

> Hi.
> 
> I use EFL 1.7.5.
> 
> Every time my app is starting on my target device (custom ARM board with a
> framebuffer), I got following warning:
> 
> ERR<3110>:ecore ecore.c:558 _ecore_magic_fail()
> *** ECORE ERROR: Ecore Magic Check Failed!!!
> *** IN FUNCTION: ecore_evas_show()
> ERR<3110>:ecore ecore.c:560 _ecore_magic_fail()   Input handle pointer is
> NULL! ERR<3110>:ecore ecore.c:571 _ecore_magic_fail() *** NAUGHTY
> PROGRAMMER!!! *** SPANK SPANK SPANK!!!
> 
> The app itself runs properly, so the bug is not critical for me (maybe).
> 
> The code is like this:
> win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
> 
>       elm_win_fullscreen_set(win, EINA_TRUE);
>       evas_object_smart_callback_add(win, "delete,request", on_win_del,
> NULL);
> 
>       layout = elm_layout_add(win);
>       elm_win_resize_object_add(win, layout);
>       elm_layout_file_set(layout, "hello.edj", "hello");
> 
>       evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND,
> EVAS_HINT_EXPAND);
> 
>       evas_object_resize(win, 800, 480);
>       evas_object_show(win); <-- here's Ecore Magic Check Failed
> 
> I assume, no kind of .edj content could lead to this.
> 
> I've done EINA_LOG_ABORT=1 and EINA_LOG_ABORT_LEVEL=1, so i got this stack
> trace:
> #0  _ecore_magic_fail (d=0x0, m=0, req_m=1985229329,
>     fname=0xb6ba9f64 "ecore_evas_show") at ecore.c:556
> #1  0xb6e15470 in _elm_win_obj_intercept_show (data=0x29198, obj=0x2bd28)
>     at elm_win.c:1384
> #2  0xb6c5d030 in evas_object_intercept_call_show (obj=0x2bd28)
>     at evas_object_intercept.c:55
> #3  0xb6c5c15c in evas_object_show (obj=0x2bd28) at evas_object_main.c:1049
> #4  0x000093f0 in elm_main (argc=1, argv=0xbe86ed24) at ../hello.c:146
> #5  0x000094f8 in main (argc=1, argv=0xbe86ed24) at ../hello.c:171
> 
> in _elm_win_obj_intercept_show
> (gdb) print ((Elm_Win_Smart_Data *) data)->pointer
> $4 = {ee = 0x0, evas = 0x0, obj = 0x2be88, hot_obj = 0x0, hot_x = 6, hot_y =
> 4}
> 
> Everywhere up the stack those "ee" and "evas" are zeroes.
> 
> I assume it might be Elementary not filling objects properly or some other
> problem.
> 
> I've seen the SVN version of evas_show_object being quite different, but I
> have no time testing this problem.
> 
> Just thought anyone might be interested in this :-)
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> 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


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to