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

Outputting args to the specimin root #280

Open
jonathan-m-phillips opened this issue May 6, 2024 · 1 comment
Open

Outputting args to the specimin root #280

jonathan-m-phillips opened this issue May 6, 2024 · 1 comment

Comments

@jonathan-m-phillips
Copy link
Collaborator

jonathan-m-phillips commented May 6, 2024

Running ASHE on dryrun mode, I have noticed that Specimin is outputting many .args files to my Specimin root.

For instance:
javac.20240505_174741.args

Where the contents inside are:

-d
/temp/dir
-sourcepath
/my/root/checker-framework/framework/src/main/java
/my/root/checker-framework/framework/src/main/java/org/checkerframework/common/value/ValueCheckerUtils.java
-Xmaxerrs
0

I replaced the actual directories with /temp/dir and /my/root.

This is just one example, but I have 1,500 in the root. I first noticed it the other day and had ~5,000+ in there before deleting them.

Is this specifically a Specimin issue?

@kelloggm
Copy link
Collaborator

kelloggm commented May 8, 2024

These files are created by the Java compiler (javac) when it encounters an internal exception. What that probably means is that when Specimin is invoking the compiler, sometimes the compiler itself is crashing.

There are a few possible reasons for this:

  • Specimin is doing something wrong in how it invokes the compiler (most likely)
  • Specimin has exposed one or more bugs in javac (less likely, but very plausible)

I think the next step here is to write some debugging code in Specimin that will allow us to capture the exception from javac. I'll try to do that soon, so that we can re-run Specimin on the target's producing so many of these .args files and see what's happening.

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