Sublime Forum

Bug: assert and crash when printing from a TextCommand?

#1

Create a text command that prints something such as this, bind it to a key and activate it through the keybinding.

class Test(sublimeplugin.TextCommand): def run(self, view, args): print "test"
Using the latest beta everything usually works fine, but sometimes I get a crash with message “Assertion failed in .\text\text_buffer.cpp:390:m_constructionDepth == 0”. Looks like this happens always if I have focus set to the text buffer in the console. It works fine if another view (or input field in console) is focused.

0 Likes

#2

Thanks for the report - will fix for the next beta

0 Likes