On Mon, 7 Mar 2011 18:40:55 -0500 Mike Blumenkrantz <[email protected]> said:

> On Mon,  7 Mar 2011 11:11:19 -0800
> "Enlightenment SVN" <[email protected]> wrote:
> 
> > Log:
> > REVERT! hell no. glu is not going to become a dependency. it never
> >   was. you broke gl-es support and didnt link to glu either. it's a
> >   separate lib. no no no no no.
> >   
> >   
> > 
> > Author:       raster
> > Date:         2011-03-07 11:11:18 -0800 (Mon, 07 Mar 2011)
> > New Revision: 57558
> > Trac:         http://trac.enlightenment.org/e/changeset/57558
> > 
> Okay, didn't know about the glu thing but how do I fix the segv? Because now
> it's back.

if you look at your fix... you are just plastering over a symptom and not the
real bug. if you look the gw->gl_context is only ever SET once - to the
gl_context created. it's never modified after that - at least i couldnt find
any code that does. on initial set- it cannot be set to null.. because if its
null the whole gw creation fails and aborts. so what you are "fixing"" isnt an
actual bug there - one of 2 things probably happens here.

1. somehow a gw is passed in that has been freed already - the bug is in
passing in a freed gw. freeing it too early or mistakenly using it after the
free
or...
2. something corrupts memory and scribbles over memory where gw is and somehow
sets gw to null - this could actually be corrupted to any value other than null
so the check will not fix issues where its not set to null. same as #1 above
too.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to