#17 MODIFIED events cause exceptions/crashes

all_versions
closed-fixed
None
5
2014-02-17
2012-04-24
Ben Morgan
No

Put this in your user scripts folder and then run it and type into that document.
On a new line, type "as" and then a space. It will either throw an exception like below or crash.
---------------------------
Exception
---------------------------
Unknown exception
---------------------------
OK
---------------------------
This essentially makes MODIFIED unusable. Using Notepad++ 6.1.

Discussion

  • Ben Morgan
    Ben Morgan
    2012-04-24

    Script causing modified events to crash.

     
    Attachments
    • status: open --> closed-fixed
    • assigned_to: Dave Brotherstone
    • Group: --> all_versions
     
  • Two years too late, but this is fixed in v1.0. There were various deadlock/crash issues in v0.9.2 and earlier.

    The callback mechanism has been reworked, and much better handling of the Python GIL (global interpreter lock) has been added. Your script now works perfectly.