You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As can be seen from the stack trace, the crash is somehow related to syntax highlighting. Setting snippets.syntaxHighlight to false avoids the crash, which can be used as a workaround for now
I am unable to determine the root cause of the crash, and I start to suspect that Qt is at least partially responsible for the crash. What I know is -- not surprisingly -- if I comment out this line, the crash is gone: https://github.com/Vector35/snippets/blob/master/QCodeEditor.py#L64. And I tested it is the large amount of calls setFormat that causes the trouble. Even if I change the code to always highlight a same char with a bare QColor, the crash still happens
Happens on 4.1.4997-dev (3e7dbdea). I updated macOS to 14.4.1 (23E224) today, which I hope is not relevant.
Update: it works fine on the stable release (4.0.4958 (ddff9339))
Update: the crash is introduced in 4.1.4972-dev
Weird enough, this only reproduces on a release build from the build server. It does not reproduce locally, despite also being a release build
The text was updated successfully, but these errors were encountered: