Skip to content
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

Running Lua PSP SDK sample in latest dev build fails #9808

Closed
suicvne opened this issue Jun 21, 2017 · 3 comments
Closed

Running Lua PSP SDK sample in latest dev build fails #9808

suicvne opened this issue Jun 21, 2017 · 3 comments
Milestone

Comments

@suicvne
Copy link

suicvne commented Jun 21, 2017

hi all,

i'm developing my own homebrew game for the PSP and until i find mine or get my hands on another, i'm heavily relying on PPSSPP for loose testing of my somewhat simple game. one component of the game is Lua. so this morning when the game compiled just fine against the latest PSP SDK available but crashed the latest Linux dev builds of PPSSPP, I was a bit concerned.

trying to get to the bottom of things, I ran just the barebones sample that's supplied by the Lua psp-port and put in some debug flags to try and figure out where the game crashed. it crashed right when trying to call luaL_openLibs. attached is the full log from Terminal (from run, to crash).

I'm running PPSSPP 1.4.2-199-g3249d81 on Ubuntu 16.04.02 LTS through Parallels on my MacBook Pro. (PSP SDK refuses to build under macOS for whatever reason, whatever). and for reference, here is the psp-ports Lua I'm talking about so you can build and test for yourselves.

Here's the full log ppsspp-log.txt

I will be more than willing to provide any further information. Also, I tried this on the stable PPA available for Ubuntu and also got a seg fault in the end.

@hrydgard
Copy link
Owner

Thank you, nice report. will look into it soon.

@hrydgard hrydgard added this to the v1.5.0 milestone Jun 22, 2017
@suicvne
Copy link
Author

suicvne commented Jun 27, 2017

I just borrowed a friend's PSP 3000 to test my game against and ran into similar issues, including the same exact ones regarding the Lua SDK. i will file a report on the pspdev/psp-ports repository

@suicvne
Copy link
Author

suicvne commented Jun 27, 2017

I'm able to run the Lua 5.3.4 sample that I setup just fine on real hardware and in the same build of PPSSPP that I filed this bug report with. I believe this can be closed then. i've submitted a PR to the psp-ports repo to replace Lua 5.2 with Lua 5.3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants