Skip to content

Jetris hangs after NegativeArraySizeException during long-running fuzzing (48h experiment) #2

@fyt1008

Description

@fyt1008

Description

When running a long-running (48h) comparative experiment with Jetris, the process becomes stuck after printing a NegativeArraySizeException.

The program does not exit, does not report further progress, and no new test cases are generated afterward.

This blocks the experiment and leaves later intervals empty.


Environment

  • Experiment type: 48h comparative fuzzing experiment

Observed behavior

After the following output, the process hangs indefinitely:

java.lang.NegativeArraySizeException
    at org.objectweb.asm.Frame.merge(Frame.java:1222)
    at org.objectweb.asm.MethodWriter.computeAllFrames(MethodWriter.java:1607)
    at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1543)
    at soot.AbstractASMBackend.generateMethods(AbstractASMBackend.java:405)
    at soot.AbstractASMBackend.generateByteCode(AbstractASMBackend.java:313)
    at soot.AbstractASMBackend.generateClassFile(AbstractASMBackend.java:263)
    at utils.ClassUtils.saveClass(ClassUtils.java:148)
    at Main.fuzzing(Main.java:181)
    at Main.main(Main.java:44)

After this, Jetris prints GenerationFailed once and then stops making progress:

  • No new log output
  • No new test cases generated
  • The process does not terminate

Expected behavior

One of the following would be expected instead:

  • The fuzzer terminates after an unrecoverable generation failure
  • Or the exception is handled and fuzzing continues
  • Or the failure is reported clearly and the experiment exits gracefully

Additional information

  • During the comparative experiment, I recorded the executed test cases every 10 minutes.
  • All intervals after this failure are empty, indicating that fuzzing stopped completely.
  • This suggests the main fuzzing loop may be stuck after a generation failure.
  • If helpful, I can provide the full log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions