sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Unmerged conflict in TSX file causes freeze for all later files #1918

Open donmccurdy opened 1 month ago

donmccurdy commented 1 month ago

Version info

Description

I've been working on incremental rebase of an old Git branch, rebasing my branch on 10-30 commits at a time, in order to limit the conflicts. On one particular 'step' of the rebase, I observed that Sublime Merge began freezing.

Symptoms:

Screenshot 2024-05-15 at 3 47 16 PM

Pressing "Resolve" on any of the 12 files will freeze Sublime Merge indefinitely, resolving conflicts in the UI is not possible. I manually resolved all conflicts in the Nth file, and afterward Sublime Merge was able to work normally with all of the remaining 11 files.

While the Nth file remains unmerged, Sublime Merge cannot be closed without force quitting the application. The file is a 1600-line .tsx file, with nothing obviously weird that I can see.

I tried starting Sublime Merge with smerge --safe-mode, and the freeze occurs regardless. I also tried reproducing the same rebase from a fresh clone of the same (private) repository, with no difference in the result.

Possibly related:

Steps to reproduce

This is a private repository, and unfortunately I don't think I can share access to the full repository. I probably could share an unmerged copy of that Nth file, privately, if that would be helpful? Please let me know, thanks.

Expected behavior

Ideally Sublime Merge would not freeze because of the contents of a particular unmerged file. :)

Debug Information

I can share this privately, if needed.

Screenshots

Main view:

main

Resolve view:

resolve

^ In screenshot above, only the path and title of the project are redacted, the main viewport really is black.

dpjohnst commented 1 month ago

G'day @donmccurdy,

Thanks for reporting this issue - I'll be looking into this further and I'll get back to you ASAP once I've figured out what's going on.

Cheers, - Dylan from Sublime HQ