This is weird. I will investigate this. On Apr 25, 2012 9:46 AM, "Carsten Haitzler" <ras...@rasterman.com> wrote:
> On Wed, 25 Apr 2012 08:05:12 +0800 Brian Wang <brian.wang.0...@gmail.com> > said: > > > Hello all, > > > > A large genlist within my app crashed here and there. valgrind helps > > point out an invalid access. > > I do not know the exact sequence of how it occurs but it must have > > something to do with race conditions > > that probably only show up where the cpu is slow (running with > > valgrind would do it on my desktop too). > > > > Please find below a trivial inline patch to fix the problem. Hope > > it's the right fix. :-) > > interesting. item has no block. i wonder why. but this will stop crashes, > so > in. :) > > > Index: src/lib/elm_genlist.c > > =================================================================== > > --- src/lib/elm_genlist.c (revision 70434) > > +++ src/lib/elm_genlist.c (working copy) > > @@ -2815,7 +2815,7 @@ > > dy = 0; > > break; > > } > > - if (wd->show_item) > > + if (wd->show_item && wd->show_item->item->block) > > { > > if ((pan_w > (wd->show_item->x + > > wd->show_item->item->block->x)) && > > (pan_h > (wd->show_item->y + > > wd->show_item->item->block->y + dy))) > > > > -- > > brian > > ------------------ > > > > Cool-Karaoke - The smallest recording studio, in your palm, open-sourced > > http://cool-idea.com.tw/ > > > > iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe > > > > > ------------------------------------------------------------------------------ > > 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 > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > > ------------------------------------------------------------------------------ > 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