-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Crash in tcshow Filter Parsing #160
Labels
Comments
Thank you for your detailed report. I had fixed the problem with c79d4f2. |
Released Feel free to reopen if you still have any problems about the issue. |
Thanks @thombashi! I just tested, and I can confirm you've fixed this bug now in 0.27.1. 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi Hombashi-san, thanks for publishing tcconfig. It makes tc a lot more approachable. I have found a crash when parsing filters in tcshow:
To Reproduce
The simplest way to reproduce that I have found is by running the below two
tcset
commands in sequence, and then tcshow as third command. These two tcset commands are trying to set up a 100ms delay on both ipv4 and ipv6, so quite a normal usecase I think.(note: 2nd command gives an error message, but does not crash. Crash only happens when running tcshow.)
Environments
Docker version: I was not using tcconfig in combination with docker.
Installation method: pip
Additional context
Full --debug output:
Output of what I think it is failing to parse:
Output of what the sqlite3 database looks like at the time of the crash:
The text was updated successfully, but these errors were encountered: