Re: [E-devel] Evas keydown segfault

2007-04-29 Thread The Rasterman
On Thu, 19 Apr 2007 19:16:36 +0200 Sebastian Dransfeld <[EMAIL PROTECTED]> babbled: got a more extensive fix in cvs now. :) > [EMAIL PROTECTED] wrote: > > Brian wrote: > > > >> After some more digging, here's what I've come up with: > >> > >> * When you hit enter, the button widget is 'acti

Re: [E-devel] Evas keydown segfault

2007-04-24 Thread The Rasterman
On Thu, 19 Apr 2007 19:16:36 +0200 Sebastian Dransfeld <[EMAIL PROTECTED]> babbled: almost - patch wise this is close. you likely need a counter so recursive callbacks do the right thing. :) (i.e only do the deferred free once the counter hits 0, and increment counter when you start walking a list

Re: [E-devel] Evas keydown segfault

2007-04-24 Thread The Rasterman
On Thu, 19 Apr 2007 11:25:50 -0500 Brian Mattern <[EMAIL PROTECTED]> babbled: > On Wed, Apr 18, 2007 at 11:54:28PM -0500, Brian Mattern wrote: > > On Sun, Apr 08, 2007 at 03:49:08PM -0400, Christopher Michael wrote: > > > Hi all, > > > > > > Mekius recently discovered a nasty segfault when trying

Re: [E-devel] Evas keydown segfault

2007-04-19 Thread [EMAIL PROTECTED]
Sebastian wrote: > > > So, should we require that evas callbacks not free their evas? > > > (E.g. force them to schedule a free and then actually do it > > > outside of any callbacks) > > > > > > Or, should we alter evas to defer evas frees while walking > > > an object's callbacks? > > >

Re: [E-devel] Evas keydown segfault

2007-04-19 Thread Sebastian Dransfeld
[EMAIL PROTECTED] wrote: Brian wrote: After some more digging, here's what I've come up with: * When you hit enter, the button widget is 'activated' * e_widget_activate() calls the No buttons callback, which deletes the dialog * this frees the evas, which frees its layers, which

Re: [E-devel] Evas keydown segfault

2007-04-19 Thread [EMAIL PROTECTED]
Brian wrote: > After some more digging, here's what I've come up with: > > * When you hit enter, the button widget is 'activated' > * e_widget_activate() calls the No buttons callback, which >deletes the dialog > * this frees the evas, which frees its layers, which frees >its

Re: [E-devel] Evas keydown segfault

2007-04-19 Thread Brian Mattern
On Wed, Apr 18, 2007 at 11:54:28PM -0500, Brian Mattern wrote: > On Sun, Apr 08, 2007 at 03:49:08PM -0400, Christopher Michael wrote: > > Hi all, > > > > Mekius recently discovered a nasty segfault when trying to use the Enter > > key to dismiss a dialog. As it turns out, this affects all dialogs

Re: [E-devel] Evas keydown segfault

2007-04-18 Thread Brian Mattern
On Sun, Apr 08, 2007 at 03:49:08PM -0400, Christopher Michael wrote: > Hi all, > > Mekius recently discovered a nasty segfault when trying to use the Enter > key to dismiss a dialog. As it turns out, this affects all dialogs. > After some digging into evas_callbacks.c I have come up with the >

[E-devel] Evas keydown segfault

2007-04-08 Thread Christopher Michael
Hi all, Mekius recently discovered a nasty segfault when trying to use the Enter key to dismiss a dialog. As it turns out, this affects all dialogs. After some digging into evas_callbacks.c I have come up with the following patch. I didn't commit because I'm not entirely sure that it's the pr