mainGNU TeXmacs - Support: sr #110597, Texmacs freezes on possible race...


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

sr #110597: Texmacs freezes on possible race condition when switching between display and inline math

Submitter:  Gennady Uraltsev <guraltsev>
Submitted:  Sun 23 Jan 2022 07:20:08 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  Microsoft Windows

Mon 24 Jan 2022 03:04:27 AM UTC, comment #1: 

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

Apparently, attaching videos does not work either even if they are below the limit of 16384 kB

Gennady Uraltsev <guraltsev>
Sun 23 Jan 2022 07:20:08 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.13-9c15.
    Corresponding source code