[MacPorts] #69548: This port causes Emacs' rust-ts-mode to peg the CPU and consume all system memory.

MacPorts noreply at macports.org
Wed Mar 20 12:30:28 UTC 2024


#69548: This port causes Emacs' rust-ts-mode to peg the CPU and consume all system
memory.
---------------------+------------------------------
 Reporter:  ragnese  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.9.1
 Keywords:           |       Port:  tree-sitter-rust
---------------------+------------------------------
 This also seems to happen with tree-sitter-python according to this reddit
 post:
 https://old.reddit.com/r/emacs/comments/1848h8w/enabling_pythonts_mod%C4%99_causes_my_emacs_memory/

 My symptoms are exactly the same as that python one, but with rust. This
 does not appear to happen with other *-ts-modes in Emacs with other tree-
 sitter-* ports, so I don't know if it's something specific to how this one
 and the python one are built or if it's something wrong with the tree-
 sitter "base" port.

 As mentioned in the linked post, building everything outside of MacPorts
 seems to work, so it's something specific with either our MacPorts
 configuration or these ports.

 I'm on an M2 Mac running Sonoma.

 Please let me know what I can do to help debug the issue.

-- 
Ticket URL: <https://trac.macports.org/ticket/69548>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list