[GH-ISSUE #639] Weird crash #385

Closed
opened 2026-04-08 16:52:31 +03:00 by zhus · 1 comment
Owner

Originally created by @Pierll on GitHub (Oct 24, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/639

Problem

The program crash when trying to display a folder containing the following subfolders:

00 05 0a 0f 14 19 1e 23 28 2d 32 37 3c 41 46 4b 50 55 5a 5f 64 69 6e 73 78 7d 82 87 8c 91 96 9b a0 a5 aa af b4 b9 be c3 c8 cd d2 d7 dc e1 e6 eb f0 f5 fa ff 01 06 0b 10 15 1a 1f 24 29 2e 33 38 3d 42 47 4c 51 56 5b 60 65 6a 6f 74 79 7e 83 88 8d 92 97 9c a1 a6 ab b0 b5 ba bf c4 c9 ce d3 d8 dd e2 e7 ec f1 f6 fb 02 07 0c 11 16 1b 20 25 2a 2f 34 39 3e 43 48 4d 52 57 5c 61 66 6b 70 75 7a 7f 84 89 8e 93 98 9d a2 a7 ac b1 b6 bb c0 c5 ca cf d4 d9 de e3 e8 ed f2 f7 fc 03 08 0d 12 17 1c 21 26 2b 30 35 3a 3f 44 49 4e 53 58 5d 62 67 6c 71 76 7b 80 85 8a 8f 94 99 9e a3 a8 ad b2 b7 bc c1 c6 cb d0 d5 da df e4 e9 ee f3 f8 fd 04 09 0e 13 18 1d 22 27 2c 31 36 3b 40 45 4a 4f 54 59 5e 63 68 6d 72 77 7c 81 86 8b 90 95 9a 9f a4 a9 ae b3 b8 bd c2 c7 cc d1 d6 db e0 e5 ea ef f4 f9 fe

I tried reproducing the bug on two different machines and it crashed each times.

Configuration

no arguments

Log

Stacktrace:

thread 'tokio-runtime-worker' panicked at library/core/src/slice/sort/shared/smallsort.rs:860:5:
user-provided comparison function does not correctly implement a total order
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Aborted (core dumped) ./dufs

Environment Information

  • Dufs version: 0.45.0
  • Browser/Webdav info: Firefox 144.0-1
  • OS info: Linux
Originally created by @Pierll on GitHub (Oct 24, 2025). Original GitHub issue: https://github.com/sigoden/dufs/issues/639 **Problem** The program crash when trying to display a folder containing the following subfolders: `00 05 0a 0f 14 19 1e 23 28 2d 32 37 3c 41 46 4b 50 55 5a 5f 64 69 6e 73 78 7d 82 87 8c 91 96 9b a0 a5 aa af b4 b9 be c3 c8 cd d2 d7 dc e1 e6 eb f0 f5 fa ff 01 06 0b 10 15 1a 1f 24 29 2e 33 38 3d 42 47 4c 51 56 5b 60 65 6a 6f 74 79 7e 83 88 8d 92 97 9c a1 a6 ab b0 b5 ba bf c4 c9 ce d3 d8 dd e2 e7 ec f1 f6 fb 02 07 0c 11 16 1b 20 25 2a 2f 34 39 3e 43 48 4d 52 57 5c 61 66 6b 70 75 7a 7f 84 89 8e 93 98 9d a2 a7 ac b1 b6 bb c0 c5 ca cf d4 d9 de e3 e8 ed f2 f7 fc 03 08 0d 12 17 1c 21 26 2b 30 35 3a 3f 44 49 4e 53 58 5d 62 67 6c 71 76 7b 80 85 8a 8f 94 99 9e a3 a8 ad b2 b7 bc c1 c6 cb d0 d5 da df e4 e9 ee f3 f8 fd 04 09 0e 13 18 1d 22 27 2c 31 36 3b 40 45 4a 4f 54 59 5e 63 68 6d 72 77 7c 81 86 8b 90 95 9a 9f a4 a9 ae b3 b8 bd c2 c7 cc d1 d6 db e0 e5 ea ef f4 f9 fe` I tried reproducing the bug on two different machines and it crashed each times. **Configuration** no arguments **Log** Stacktrace: > thread 'tokio-runtime-worker' panicked at library/core/src/slice/sort/shared/smallsort.rs:860:5: > user-provided comparison function does not correctly implement a total order > note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace > Aborted (core dumped) ./dufs **Environment Information** - Dufs version: 0.45.0 - Browser/Webdav info: Firefox 144.0-1 - OS info: Linux
zhus closed this issue 2026-04-08 16:52:31 +03:00
Author
Owner

@sigoden commented on GitHub (Oct 27, 2025):

In dufs, file paths must be displayable in UTF-8.

<!-- gh-comment-id:3449015982 --> @sigoden commented on GitHub (Oct 27, 2025): In dufs, file paths must be displayable in UTF-8.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#385