Giter Club home page Giter Club logo

Comments (5)

jgmdev avatar jgmdev commented on June 11, 2024

some debugging would be needed to know what is the cause of the segfault. Tools like valgrind are usually great to find the culprits on this kind of issues

from wxphp.

jgmdev avatar jgmdev commented on June 11, 2024

it seems this issue rosed with newer php versions (maybe 5.5) since it worked on 5.3 correctly. The GUI tool developed for wxPHP for easily selecting which methods to bind seems to be failing as in this issue.

from wxphp.

jgmdev avatar jgmdev commented on June 11, 2024

bahh! I was confused and mixing stuff with wxItemContainer::Set(wxArrayString, void** clientData) since the GUI binding utility was segfaulting I thought for a moment the issue was related to this, but it is a completely different issue (I need to pay more attention). I totally forgot that I didn't implemented management of void** parameters on the code generator and was passing a (void**) 0 as parameter which was causing a segfault on the GUI binding utility (totally unrelated :S) I fixed the GUI binding issue but it seems this issue still persists after testing your code sample.

Strange that every christmas I become interested in working on this project :D

from wxphp.

jgmdev avatar jgmdev commented on June 11, 2024

Seems that changes done these last days have fixed the issue.

from wxphp.

jgmdev avatar jgmdev commented on June 11, 2024

Silly me I forgot that many objects which are referenced by windows and controls are automatically deleted by them. Is a pain trying to keep the memory space free from memory leaks without knowing if wxWidgets does the job for you internally.

from wxphp.

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.