Am 16.09.2014 um 23:26 schrieb Steve Upton <[email protected]>: > > I’m moving some of our code over to JSONMBS as it is SO much faster than > anything out there…
Great. > What’s interesting is that the app doesn’t crash in the Xojo method that’s > using JSON, but while exiting from another method that called it. I think > that the method that crashes is causing stored JSONMBS objects to fall out of > scope and the destruction crashes the app. Could you reproduce this for me? > You see the "JSONMBS.__exit” that leads to the crash? Yes. Destructor frees memory which it should not free. > Also, this seems to be isolated to my creation of new JSON nodes using > AddItemToObject and the like. Other objects in our code that create JSONMBS > nodes through the parsing of JSON text seem to be destroyed without crashes… Well, there could be a problems with owner. I mean if two Xojo objects think they need to free the same object, it'll crash. > Also, JSONMBS seems to be based on a library. Can you send a link to the > documentation for this library. There are a few concepts (like null nodes, > etc) that the MBS dox just don’t demystify. What concepts? it's cJSON: http://cjson.sourceforge.net Sincerely Christian -- Read our blog about news on our plugins: http://www.mbsplugins.de/ _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
