proto: Shell activate causes infinite hang

What version?

0.50.1

Which command?

No response

What happened?

PROTO_LOG=trace proto activate fish | source

Results in infinite hang if shell wasn’t started for long time mostly in the morning after reboot/rehybernate .

I must use CTRL-C one time to stop some process, after that it activates fast.

Trace logs?

[TRACE 2025-07-02 07:31:04.657] starbase_console::console  Creating buffered console
[DEBUG 07:31:04.658] proto  Running proto v0.50.1  bin="/opt/homebrew/Cellar/proto/0.50.1/libexec/bin/proto" args=["activate", "fish"] pid=66928
[TRACE 07:31:04.659] starbase::app  Running startup phase
[DEBUG 07:31:04.659] proto_core::env  Creating proto environment, detecting store  store="/Users/marvin/.proto" home="/Users/marvin"
[TRACE 07:31:04.659] starbase::app  Running analyze phase
[DEBUG 07:31:04.659] proto::systems  Loading configuration in upwards mode  working_dir="/Users/marvin/Developer/ADDITIVE/AQUA"
[DEBUG 07:31:04.660] proto_core::config  Loading .prototools  file="/Users/marvin/Developer/ADDITIVE/AQUA/.prototools"
[TRACE 07:31:04.660] starbase_utils::fs  Reading file  file="/Users/marvin/Developer/ADDITIVE/AQUA/.prototools"
[TRACE 07:31:04.660] schematic::config::loader  Loading partial configuration  config="ProtoConfig"
[TRACE 07:31:04.660] schematic::config::loader  Creating layer from source  config="ProtoConfig" source="<code>"
[TRACE 07:31:04.662] schematic::config::loader  Merging partial layers into a final result  config="ProtoConfig"
[DEBUG 07:31:04.662] proto_core::config  Loading .prototools  file="/Users/marvin/.proto/.prototools"
[TRACE 07:31:04.662] starbase_utils::fs  Opening file  file="/Users/marvin/.proto/.prototools"
[TRACE 07:31:04.663] starbase_utils::fs_lock  Locking file  file="/Users/marvin/.proto/.prototools"
[TRACE 07:31:04.663] starbase_utils::fs_lock  Unlocking file  file="/Users/marvin/.proto/.prototools"
[TRACE 07:31:04.663] schematic::config::loader  Loading partial configuration  config="ProtoConfig"
[TRACE 07:31:04.663] schematic::config::loader  Creating layer from source  config="ProtoConfig" source="<code>"
[TRACE 07:31:04.663] schematic::config::loader  Merging partial layers into a final result  config="ProtoConfig"
[DEBUG 07:31:04.663] proto_core::config  Merging loaded configs without global
[DEBUG 07:31:04.663] proto_core::config  Merged 1 configs
[TRACE 07:31:04.663] starbase::app  Running execute phase
[TRACE 07:31:04.663] starbase::app  Running shutdown phase

Operating system?

macOS

Architecture?

Arm

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 34 (15 by maintainers)

Most upvoted comments

Released a patch with more logging info. Try that out and paste the logs.