Comments in profile.json cause crashes when a tab is closed #3990

Open
opened 2026-01-30 23:35:04 +00:00 by claunia · 0 comments
Owner

Originally created by @iankronquist on GitHub (Sep 23, 2019).

When I add comments to my profile.json I am able to open new tabs, but when I close a tab the whole program hangs. If I remove the comments, closing tabs works fine.

My guess is that you're reparsing the profile.json every time a tab is closed with a different parser, or with the same parser in a mode with comments disabled, and then not handling an exception. Unfortunately, I don't have time to attach a debugger and find out for sure. Thanks for the new terminal, it's an overdue improvement.

Originally created by @iankronquist on GitHub (Sep 23, 2019). When I add comments to my profile.json I am able to open new tabs, but when I close a tab the whole program hangs. If I remove the comments, closing tabs works fine. My guess is that you're reparsing the profile.json every time a tab is closed with a different parser, or with the same parser in a mode with comments disabled, and then not handling an exception. Unfortunately, I don't have time to attach a debugger and find out for sure. Thanks for the new terminal, it's an overdue improvement.
claunia added the Needs-TriageNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-30 23:35:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3990