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

I got "[Fuzzer] Cannot execute programs" when I try to test QJS #386

Open
SkyCrystal opened this issue Jan 5, 2023 · 3 comments
Open

I got "[Fuzzer] Cannot execute programs" when I try to test QJS #386

SkyCrystal opened this issue Jan 5, 2023 · 3 comments

Comments

@SkyCrystal
Copy link

revert commit Remove 'main' function from profiles could fix this problem.
Is this expected?

@saelo
Copy link
Collaborator

saelo commented Jan 5, 2023

Hi! Are you sure that reverting that commit fixes the problem? It shouldn't really have any effect on the validity of the JavaScript code, and the error sounds more like a problem with the REPRL implementation on the QJS side. You could try running qjs using the REPRLRun tool and see if that works: swift run REPRLRun path/to/qjs --reprl

@SkyCrystal
Copy link
Author

Oh it fails. So maybe the patch I used on QJS has some bug?
We use a modified version of QJS so maybe there's the problem.
Thanks a lot.

@SkyCrystal
Copy link
Author

Well it looks that when I call execute("") it fails.
However execute(";") workes fine.
So after that commit, it really passes an empty string to QJS and then causes the problem?

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