[GH-ISSUE #86] Search sometimes results in "fatal runtime error" #39

Closed
opened 2026-04-08 16:49:59 +03:00 by zhus · 0 comments
Owner

Originally created by @mh166 on GitHub (Jul 2, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/86

Problem

With some search terms I run into the following error:

$ dufs --allow-search -p 8080 -b 192.168.0.1
Listening on:
  http://192.168.0.1:8080/

2022-07-02T14:53:42+02:00 INFO - 192.168.0.113 "GET /" - 200

thread 'tokio-runtime-worker' has overflowed its stack
fatal runtime error: stack overflow
Aborted
$

I don't see why this happens: some search terms don't work even though they yield fewer results than others that do work.

Whatever the cause might be, I think dufs should try to return an error page with (maybe with HTTP 500 or 503) instead of terminating completely. I'd rather not start dufs in a while (true) loop. 😉

Log

See above.

Environment:

  • Dufs version: 0.23.1
  • Browser/Webdav Info: Chrome/101.0.4951.67
  • OS Info: Win10 21H2
Originally created by @mh166 on GitHub (Jul 2, 2022). Original GitHub issue: https://github.com/sigoden/dufs/issues/86 **Problem** With some search terms I run into the following error: ``` $ dufs --allow-search -p 8080 -b 192.168.0.1 Listening on: http://192.168.0.1:8080/ 2022-07-02T14:53:42+02:00 INFO - 192.168.0.113 "GET /" - 200 thread 'tokio-runtime-worker' has overflowed its stack fatal runtime error: stack overflow Aborted $ ``` I don't see why this happens: some search terms don't work even though they yield fewer results than others that do work. Whatever the cause might be, I think `dufs` should try to return an error page with (maybe with HTTP 500 or 503) instead of terminating completely. I'd rather not start `dufs` in a `while (true)` loop. 😉 **Log** See above. **Environment:** - Dufs version: 0.23.1 - Browser/Webdav Info: Chrome/101.0.4951.67 - OS Info: Win10 21H2
zhus closed this issue 2026-04-08 16:49:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#39