-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jsoncpp Crashes on linking #51
Comments
Thanks for reporting. Is this on real hardware or on PPSSPP? I have seen crashes on the latter. |
This was PPSSPP. I'll get back to you as I check on the actual actual hardware. |
So I checked the app on my psp and the same issue is present. The app instantly crashes on start. There's not even any exception shown in psplink. |
Thanks for testing, I'll look into it. |
I am able to reproduce this. |
Thanks for confirming. I was afraid I built the libraries wrongly. Please update if you are able to pinpoint the error. |
I'm having a bit of a hard time figuring this one out. I'm trying to debug it, but gdb is giving me a strange error. I don't know if this means gdb is broken or that this is showing the actual problem:
I'm using this project for testing: https://github.com/sharkwouter/hello-json-cpp |
Just to confirm, you're running this over in psplink right? |
Yes, you run |
Is this still the case? I saw you use jsoncpp in one of your projects. Did you do anything specific to get it working? |
I believe this is still the case. The compilation finishes with no issues, but the app crashes if there's any call to the I would like to test this with an older SDK version since the package you created must have worked at that specific time. This might be worth investigating. |
Last time I tested this, this was not always the case. I'm not sure what makes it so at all. Perhaps the coming newlib changes would improve this. |
A bit unrelated, but for JSON parsing, on PS4 homebrews I've been using this I can try to port this simple ANSI C library to pspsdk, at least to offer a working alternative to JSON parsing while we fix this Jsoncpp. (also useful for anyone who doesn't want to use C++) |
Actually, this was fixed. Cjson should work as well, though. Would be cool to have a port of it. |
The jsoncpp library make the application crash on load. The application builds but doesn't run. I'm not able to find debug messages either.
What could be the fix?
The text was updated successfully, but these errors were encountered: