Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
merged with svn commit 304

Original comment by [email protected] on 10 Feb 2009 at 9:36

  • Changed state: Verified

from libproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
Dan,

since this patch has been applied to svn, the test program (bin/proxy) crashes 
here
on px_proxy_free. Can you reproduce this?

I reverted (on my local tree only) the part of the patch which touches array.c 
and
the segfault disappears.

Interestingly, the segfault also disappears when I remove the webkit plugin. You
might not have it and thus not trigger the segfault at yours.

Original comment by [email protected] on 27 Feb 2009 at 10:01

  • Changed state: Accepted

from libproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
Nope, doesn't crash for me.

webkit's on_proxy_factory_destantiate() does:

    ctxs_free(px_proxy_factory_misc_get(self, "webkit"));

before the patches, that would have been a no-op, so I think it's likely that 
the
strdict fixes are exposing a bug in the webkit plugin.

Skimming the code, it looks like if the webkit plugin tries to run a PAC script 
but
gets an error, then this would cause a crash later, because webkit_pacrunner() 
calls
ctxs_free() in that case, but doesn't call px_proxy_factory_misc_set(self, 
"webkit",
NULL), so the same context will get freed again later.

Original comment by [email protected] on 4 Mar 2009 at 9:20

from libproxy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
Dan.. Thanks for the explanation.

I'll create a follow-Up ticket for the webkit plugin. Closing this ticket here 
again. 

Original comment by [email protected] on 11 Mar 2009 at 3:53

  • Changed state: Fixed

from libproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.