well, i've printed the value of the item pointer and it's different
the 7th time. As, from that item, i get my structure, and the window,
hence the needed evas canvas, it seg fault.

I have no idea on how to find the bug, as i'v never looked at the
genlist code (and honestly, it's a too big beast for me)

Vincent

On Wed, Jul 25, 2012 at 3:19 PM, Michael Blumenkrantz
<michael.blumenkra...@gmail.com> wrote:
> I suppose you'd have to check valgrind for that.
>
> and yes, it is a lot of calls.
>
> On Wed, Jul 25, 2012 at 2:17 PM, Vincent Torri <vincent.to...@gmail.com>wrote:
>
>> so why is data becoming garbage at the 7th call ?
>>
>> btw, that's a lot of 'realize' calls, imho :)
>>
>> On Wed, Jul 25, 2012 at 3:07 PM, Michael Blumenkrantz
>> <michael.blumenkra...@gmail.com> wrote:
>> > the content get functions are not called "once per item", but "once per
>> > realize". so these functions can be called an infinite number of times
>> with
>> > correct behavior.
>> >
>> > more likely you did not export USER=raster
>> >
>> > On Wed, Jul 25, 2012 at 1:36 PM, Vincent Torri <vincent.to...@gmail.com
>> >wrote:
>> >
>> >> hey
>> >>
>> >> i tried to use genlist, based on the test (test_genlist3 function). I
>> >> created a specific structure, like Testitem. I filled it like in the
>> >> function. I have 3 items like in the function (i copy/pasted lines 718
>> >> to 735).
>> >>
>> >> what i do not understand is that gl2_content_get() is called 7th times
>> >> (i put a printf in that function), the 7th one, it seg fault because
>> >> the item data is just garbage. Why is it called so many times, and not
>> >> 3 times ? (maybe i missed to init something ?)
>> >>
>> >> thanks
>> >>
>> >> Vincent
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Live Security Virtual Conference
>> >> Exclusive live event will cover all the ways today's security and
>> >> threat landscape has changed and how IT managers can respond.
>> Discussions
>> >> will include endpoint security, mobile security and the latest in
>> malware
>> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> >> _______________________________________________
>> >> enlightenment-devel mailing list
>> >> enlightenment-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> >>
>> >
>> ------------------------------------------------------------------------------
>> > Live Security Virtual Conference
>> > Exclusive live event will cover all the ways today's security and
>> > threat landscape has changed and how IT managers can respond. Discussions
>> > will include endpoint security, mobile security and the latest in malware
>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> > _______________________________________________
>> > enlightenment-devel mailing list
>> > enlightenment-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to