With EFL 1, deleting an elm_win with evas_object_del(win) gave me 
ERR<4032>:elm-externals elm_list.c:425 _del_hook() ERROR: list deleted 
while walking. )

This happened because that elm_win had somewhere an elm_list which had a 
callback on select and *data* to send to that callback. As soon as I 
recreated the list without adding the data, no problem would arise :|


Sometimes, I had a crash, sometimes not. But I never got a core file and 
I don't have callstacks anymore as I solved it by using genlist instead, 
even if only a few elements make part of the list.

Rui

Em 27-02-2011 22:03, Daniel Juyung Seo escreveu:
> Hello Rui,
> Do you have any core file or callstacks when you had crash?
> Or any way to reproduce it?
> That'll help us a lot.
>
> Thank you.
>
> Daniel Juyung Seo (SeoZ)
>
> On Sun, Feb 27, 2011 at 9:41 PM, Rui Miguel Silva Seabra<[email protected]>  
> wrote:
>> There might be something similar in elm_list, I had some elm_lists with
>> data and I got weird errors related to eina_list complaining about data,
>> which frequently, but not always, led to a crash.
>>
>> Rui
>>
>> Em 27-02-2011 11:10, Carsten Haitzler (The Rasterman) escreveu:
>>> On Tue, 22 Feb 2011 18:59:07 +0900 Seunggyun Kim<[email protected]>    
>>> said:
>>>
>>> in svn! thanks!
>>>
>>>> Hello. All.
>>>>
>>>> I found one bug in elm_genlist_clear.
>>>>
>>>> In case append lots of items in genlist,
>>>> some items are still in genlist item queue before it is processed in
>>>> _item_queue.
>>>>
>>>> At that time,
>>>> if application calls elm_genlist_item_del api that has item in genlist 
>>>> queue
>>>> and elm_genlist_clear is called at once, "func.del" callback is called
>>>> twice.
>>>>
>>>> If application frees some memory in "func.del" callback, It occurs double
>>>> free memory problem.
>>>>
>>>> For example, some application has many items. and all items are deleted. 
>>>> but
>>>> all items are not proceed in queue. then application is terminated.
>>>> In that case, double free problem is occured in application.
>>>>
>>>> So, I fixed elm_genlist_clear code and made a patch.
>>>>
>>>> Anybody can check about this?
>>>>
>>>> Thanks.


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to