Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#18 notepad NOTIFICATIONS seem to cause deadlocks

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

As seen in the forum topic notepad "NOTIFICATIONS seem to cause deadlocks" here:
https://sourceforge.net/projects/npppythonscript/forums/forum/1188886/topic/5215454

I've attached a test case. Switch to another tab and back and it should lock up. Note that I am using a combination of BUFFERACTIVATED and UPDATEUI; the problem I was originally having was threading launching some processing which did some styling and then a save/bufferactivated causing the deadlock.

For my script this means I cannot use notepad++ notifications at all, as it causes deadlocks just receiving the events if certain python code is running.

Discussion

  • Ben Morgan
    Ben Morgan
    2012-04-24

    Testcase for deadlock

     
    Attachments
    • status: open --> closed-fixed
    • Group: --> all_versions
     
  • Fixed in v1.0

    Issue was inconsistent handling of the GIL - this has been corrected in the new version