-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
range start index 4 out of range #1460
Comments
Thank you very much for reporting this. Can you do |
I got the same issue with version 0.12.1. Simply |
Thank you @justin0u0. Appreciate the information. If it happens again and it's possible for you to capture the panic message that would also be appreciated but no worries what you provided so far already helps. |
Hi @c-git, this is what I got with
|
Yes it does, thank you. |
@proukornew @justin0u0 thank you both for the bug report. This is a regression in 0.12.0. It was caused by #1288. I have a fix in #1464. The logic here is bit tricky so I've added fair extensive test cases. The fix will be included in an upcoming 0.12.2 patch release. |
It may able to be worth enabling debug symbols for release builds, something I have previously considered. In this case it was obviously enough from the error message (
Edit: I think perhaps |
My executable was installed using the Ubuntu PPA. |
Thanks, the PPA does strip symbols: Lines 18 to 19 in 8bdb6a5
I don't know if that is necessary for PPA or not. |
shindows o_O |
@proukornew can you tell us how did you install it on Windows? (i.e. |
Describe the bug
thread 'tracer-11332' panicked at crates\trippy-core\src\state.rs:636:59:
range start index 4 out of range for slice of length 2
stack backtrace:
0: 0x7ff7b2badfb3 -
1: 0x7ff7b29e486a -
2: 0x7ff7b2b9d3e7 -
3: 0x7ff7b2baf9a5 -
4: 0x7ff7b2baf7dd -
5: 0x7ff7b2baf4ed -
6: 0x7ff7b2bafbb1 -
7: 0x7ff7b2bafa89 -
8: 0x7ff7b2baf9df -
9: 0x7ff7b2baf9ce -
10: 0x7ff7b2e9b5d1 -
11: 0x7ff7b2e9b53e -
12: 0x7ff7b2c575d8 -
13: 0x7ff7b2c3e6ce -
14: 0x7ff7b2c4bf93 -
15: 0x7ff7b2c5356e -
16: 0x7ff7b2c530d2 -
17: 0x7ff7b2bad54d -
18: 0x7ffaf1ce7034 - BaseThreadInitThunk
19: 0x7ffaf28a2651 - RtlUserThreadStart
To Reproduce
trip -6 --udp -R dublin --tui-custom-columns holsravbwdtC -m pretty -C5 -S5000 -P33437 -i20msec -T200msec -f4 -t 5 (some ipv6prefix)::1
Bug +/- stable with same parameters on some ports&ips. But disappears with (some ipv6prefix)::2 or changing -S or -P.
Key problem parameter(s) -f and -t (slicing)
The text was updated successfully, but these errors were encountered: