GeertJohan / gomatrix

Displays "The Matrix" in a terminal
BSD 2-Clause "Simplified" License
293 stars 68 forks source link

Display error occurs after a few hours of running #16

Open misuchiru03 opened 5 years ago

misuchiru03 commented 5 years ago

Occurs after running for a period of time. Requires reset in the terminal window to get back to normal. The attachment is not the full error as scrolling is disabled and cannot grab the entire error. errors.txt

MarcelWaldvogel commented 4 years ago

When resizing the window, it can be crashed relatively quickly, especially with large window sizes (500x200 or so). By accident, it occurred several times in maybe 2-3 minutes (trying out how it looked best in Cool-Retro-Term, but it should be unrelated to the actual terminal emulator used).

By running goterm 2> /tmp/error.log, I got the following error.log

I would guess the first line is the important one:

fatal error: concurrent map iteration and map write

Probably gomatrix requires some locking.

deathtrip commented 3 years ago

It also crashes for me, mostly after splitting the terminal in kitty, however not everytime. gomatrix.log