Closed iacore closed 4 months ago
Was just about to submit the same issue. Sorry, can’t provide the files, but the location of the panic is slightly different, probably due to it being an older version:
thread 'main' panicked at src/display/side_by_side.rs:519:34:
index out of bounds: the len is 524 but the index is 524
stack backtrace:
0: 0x5ed85d272aa0 - <unknown>
1: 0x5ed85d028f83 - <unknown>
2: 0x5ed85d26d683 - <unknown>
3: 0x5ed85d272850 - <unknown>
4: 0x5ed85d2741c7 - <unknown>
5: 0x5ed85d273ef4 - <unknown>
6: 0x5ed85d2746d9 - <unknown>
7: 0x5ed85d2745d6 - <unknown>
8: 0x5ed85d272f99 - <unknown>
9: 0x5ed85d274337 - <unknown>
10: 0x5ed85cf7c536 - <unknown>
11: 0x5ed85cf7c6e7 - <unknown>
12: 0x5ed85d067d2d - <unknown>
13: 0x5ed85d05f503 - <unknown>
14: 0x5ed85d05a445 - <unknown>
15: 0x5ed85d0854d6 - <unknown>
16: 0x5ed85d0b1ffc - <unknown>
17: 0x5ed85d265507 - <unknown>
18: 0x5ed85d05f924 - <unknown>
19: 0x771c8554ec88 - <unknown>
20: 0x771c8554ed4c - __libc_start_main
21: 0x5ed85cf9ec55 - <unknown>
22: 0x0 - <unknown>
The used version is the latest one available from the Arch repositories:
$ difft --version
Difftastic 0.58.0 (0c9277108 2024-05-10, built with rustc 1.78.0)
a.txt b.txt