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

Zilla dump IndexOutOfBoundException when continuously recording packets at Zilla run #1224

Open
bmaidics opened this issue Sep 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bmaidics
Copy link
Contributor

bmaidics commented Sep 2, 2024

Describe the bug
Zilla dump crashes with IndexOutOfBoundException when continuously recording packets at while Zilla runs in the background.
To Reproduce
Steps to reproduce the behavior:

  1. Start zilla
  2. Start zilla dump: ./zilla dump -v -e -Pzilla.engine.directory=<your-zilla-engine dir> -w debug.pcap
  3. See error (you might need to run it a couple of times)

Logs:

java.lang.IndexOutOfBoundsException: limit=10312404 is beyond maxLimit=10312375
        at io.aklivity.zilla.runtime.command.dump/io.aklivity.zilla.runtime.command.dump.internal.types.Flyweight.checkLimit(Flyweight.java:67)
        at io.aklivity.zilla.runtime.command.dump/io.aklivity.zilla.runtime.command.dump.internal.types.stream.FrameFW.wrap(FrameFW.java:85)
        at io.aklivity.zilla.runtime.command.dump/io.aklivity.zilla.runtime.command.dump.internal.airline.ZillaDumpCommand.lambda$run$3(ZillaDumpCommand.java:345)
        at io.aklivity.zilla.runtime.command.dump/io.aklivity.zilla.runtime.command.dump.internal.airline.spy.OneToOneRingBufferSpy.peek(OneToOneRingBufferSpy.java:166)
        at io.aklivity.zilla.runtime.command.dump/io.aklivity.zilla.runtime.command.dump.internal.airline.ZillaDumpCommand.run(ZillaDumpCommand.java:343)
        at io.aklivity.zilla.runtime.command/io.aklivity.zilla.runtime.command.internal.ZillaMain$Invoker.invoke(ZillaMain.java:69)
        at io.aklivity.zilla.runtime.command/io.aklivity.zilla.runtime.command.internal.ZillaMain.invoke(ZillaMain.java:40)
        at io.aklivity.zilla.runtime.command/io.aklivity.zilla.runtime.command.internal.ZillaMain.main(ZillaMain.java:34)

@bmaidics bmaidics added the bug Something isn't working label Sep 2, 2024
@bmaidics bmaidics closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
@bmaidics bmaidics reopened this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant