On Fri, 7 Oct 2011 02:55:19 +0200 Leif Middelschulte
<leif.middelschu...@gmail.com> said:

> 2011/10/6 Christopher Michael <cpmicha...@comcast.net>:
> > On 10/06/2011 10:10 AM, Leif Middelschulte wrote:
> >>
> >> Dear ladies and gents, especially devilhorns (as I was told)
> >>
> >> as many of you know, I'm writing the display configuration dialog for
> >> randr>=1.2 stuff.
> >>
> >> While doing so, I wrote an evas smart object, for the monitor arrangement.
> >>
> >> Now, I face an issue which seems to happen as follows:
> >> 1.) e: smart resize events are queued
> >> 2.) user: dialog closes dialog
> >> 3.) e: free dialog data
> >> 4.) e: resize callback gets executed
> >> 5.) CRASH!
> >>
> >> I am not sure about the queuing theory, but am sure that data is freed
> >> and resize callback is called afterwards.
> >>
> >> Am I missing something here? Do I have to destroy the smart object my
> >> self within free_data callback?
> >>
> >
> > In theory you should not have to. If you can provide some code for your
> > smart object and dialog, I'll take a look.
> So is there any chance of non-canceled events beeing called?
> I'll provide the code, as soon as I have talked to raster and did some
> 'final' adjustments. I don't want to bisect the smart object, so I'll
> just send you the patch (once it's 'ready') and gdb will guide you to
> the crashing part ;-)

being very vague there. ecore-events never get cancelled. callbacks arent
queued. they get called inline. edje signals are queued in a message queue and
called in callbacks when processing the queue. can't say much without code +
gdb/valgrind :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to