Skip to content

hx freezes on file picker selection #5871

@ondrej-ivanko

Description

@ondrej-ivanko

Summary

Execturing hx from certain folders seems to freeze file picker (SPC f). I tried to run hx from directory one level lower than /home dir (/home/Downloads) and when trying to run file picker with space + f it froze hx and I couldn' t do any action besides shutting down terminal.

This issue is resolved by putting the folder that's in hx logs (/Games) to .gitignore. My theory is that path is just too long for hx to handle (Input/Output Err in logs). Or that there is problem with permissions, as some files in my /home dir are owned by root. Not sure why they are owned by root, but they're managed by wine application, so I'm not going to change the owner to not mess up with wine.

Reproduction Steps

I tried this:

  1. hx
  2. press space and f

I expected this to happen:
file picker pops up with no issue

Instead, this happened:
hx froze and stops responding

Helix log

~/.cache/helix/helix.log
2023-02-07T12:47:56.800 helix_term::commands [ERROR] Global search error: /home/oji/Games/origin/dosdevices/z:/sys/module/snd_pcm_dmaengine/holders/snd_soc_core/drivers/platform:snd-soc-dummy/snd-soc-dummy/subsystem/drivers/tigerlake-pinctrl/INTC1055:00/firmware_node/subsystem/devices/ACPI0007:0e/physical_node/subsystem/drivers/processor/cpu0/node0/cpu13/firmware_node/thermal_cooling/subsystem/thermal_zone11/hwmon4/subsystem/hwmon1/device/subsystem/ADP0/wakeup29/subsystem/wakeup8/device/iommu/subsystem/dmar0/devices/0000:00:02.0/drm/controlD64/card0-DP-1/i2c-12/subsystem/drivers/i2c_hid_acpi/i2c-MSFT0001:01/0018:06CB:CE78.0005/input/input11/subsystem/event2/device/device/input/input2/power/autosuspend_delay_ms, Input/output error (os error 5)
2023-02-07T12:47:56.735 helix_term::commands [ERROR] Global search error: /home/oji/Games/origin/dosdevices/z:/sys/module/snd_pcm_dmaengine/holders/snd_soc_core/drivers/platform:snd-soc-dummy/snd-soc-dummy/subsystem/drivers/tigerlake-pinctrl/INTC1055:00/firmware_node/subsystem/devices/ACPI0007:0e/physical_node/subsystem/drivers/processor/cpu0/node0/cpu13/firmware_node/thermal_cooling/subsystem/thermal_zone11/hwmon4/subsystem/hwmon1/device/subsystem/ADP0/wakeup29/subsystem/wakeup8/device/iommu/subsystem/dmar0/devices/0000:00:02.0/drm/controlD64/card0-DP-1/i2c-12/subsystem/drivers/i2c_hid_acpi/i2c-MSFT0001:01/0018:06CB:CE78.0005/input/input11/subsystem/input18/device/device:18/physical_node/subsystem/card1/device/i2c-19/delete_device, Permission denied (os error 13)

Platform

Linux - Fedora 37 86_64

Terminal Emulator

Alacritty 0.10.1

Helix Version

helix 22.12-223-g9c98043c (9c98043)

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions