bugGNU TeXmacs - Bugs: bug #61953, exmacs freezes on possible race...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61953: exmacs freezes on possible race condition when switching between display and inline math

Submitter:  Gennady Uraltsev <guraltsev>
Submitted:  Fri 28 Jan 2022 06:17:25 PM UTC
 
Category:  Editor Priority:  5 - Normal
Item Group:  Error Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Fri 28 Jan 2022 06:17:25 PM UTC, original submission:  

Hello everyone,
 I have a recurrent problem with TeXmacs. I have the following keyboard shortcut:
(kbd-map ("$ $" (make-equation*)) in my init file that I use to make a double $ make a displayed, instead of an inline equation.
Mostly it works, however in some instances, especially when TeXmacs is slightly slowed down because of a large paper, pressing $ $ rapidly makes TeXmacs freeze forever. The only way out of it is to kill Texmacs using the task manager. I cannot reproduce it reliably and usually this happens after working for at least 30 min on a document. I tried reopening the same document after the crash and going to the exact same place and trying to press $ $ rapidly but the freeze mostly does not happen again. However, the freezing happens often enough that it is annoying: around once per 30-45 minutes (however, sometimes less often e.g. 1/day) when working on a paper (approx 50 pages). Seeing that after the crash I usually lose the last sentences written and texmacs doesn't save the position in the file, this puts a strain on productivity.
This happens on Windows. I am not sure it happens on other OS's. I believe this to be a race condition of sorts because it happens much more frequently when I work on older computers or when I use my newer computer, but I am on battery power. The keyboard shortcut makes it easy to issue the commands quickly, so that is why it is apparent.

I am attaching a video of what happens. I cannot attach the core dump since it is 319MB

Gennady Uraltsev <guraltsev>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by guraltsev (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9