Public bug reported:

A mutex remained unlocked in eC applications inheriting GuiApplication
but not initializing the interface system.

This was the case in ear. The Release() call was in the GuiApplication
destructor, whereas the first Wait() is inside the Initialize() method,
which is not necessarily going to be called.

[Test Case]
Run the ear executable with debugging code added to the Mutex class to notice 
the GuiApplication's lockMutex was being waited on but never released on exit.

[Regression Potential]
This is a safe fix which has no potential for regression.

** Affects: ecere-sdk (Ubuntu)
     Importance: Undecided
     Assignee: Jerome St-Louis (jerstlouis)
         Status: New

** Changed in: ecere-sdk (Ubuntu)
     Assignee: (unassigned) => Jerome St-Louis (jerstlouis)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1107868

Title:
  [SRU] A mutex remained unlocked in eC applications inheriting
  GuiApplication but not initializing the interface system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecere-sdk/+bug/1107868/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to