On Thu, 28 Jan 2010 01:05:24 +0100 Petr Štetiar <ynezz@...> said:
> [I'm not subscribed to this list, so please keep me in CC, thanks]
>
> Hi,
>
> I was tracking down source of annoying flood of messages:
>
> *** ECORE ERROR: Ecore Magic Check Failed!!!
> *** IN FUNCTION: ecore_event_handler_del() Input handle pointer is NULL!
> *** NAUGHTY PROGRAMMER!!!
> *** SPANK SPANK SPANK!!!
> *** Now go fix your code. Tut tut tut!
>
> durring each boot on Angstrom/Openembedded which use exquisite. It's running
> on BeagleBoard. They use SVN version trunk/r45489, but I see same guilty code
> in current trunk[1] also:
>
> ecore_evas_fb.c:
>
> [...]
>
> 507 for (i = 0; i < 5; i++)
> 508 ecore_event_handler_del(ecore_evas_event_handlers[i]);
>
> [...]
well its fixed now
> There's no check for ecore_evas_event_handlers[i] == NULL, and in my case
> it's NULL even at first iteration(i=0), so something weird happened here...
>
> Any ideas how this can happen? Or would be adding a check for the NULL
> event_handler[i] as fix enough? Thanks.
yes - notice it fills in the array based on devices found - 0 & 1 are for
keyboard events. it is getting "fb" capabilities and doesnt find kbd/buttons.
(2-5 are mouse + wheeel, 2-4 in another case are touchscreen device)
it decides what is there based on /dev/input/* device nodes. so exquisitie
likely isnt finding devices when it starts. likely due to udev not having
started yet and populated anything (why when u look there latter and see them
there, it doesnt seem to be a problem)
> 1.
> http://trac.enlightenment.org/e/browser/trunk/ecore/src/lib/ecore_evas/ecore_evas_fb.c#L507
>
> -- ynezz
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@...
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster@...
|