[SRU] A mutex was being unlocked without ever being locked in eC applications inheriting GuiApplication but not initializing the interface system
Bug #1107868 reported by
Jerome St-Louis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecere-sdk (Ubuntu) |
Fix Released
|
Undecided
|
Jerome St-Louis | ||
Quantal |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
A mutex was being unlocked without having ever been locked in eC applications inheriting from 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 released on exit but never waited on.
[Regression Potential]
This is a safe fix which has no potential for regression.
Changed in ecere-sdk (Ubuntu): | |
assignee: | nobody → Jerome St-Louis (jerstlouis) |
Changed in ecere-sdk (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
summary: |
- [SRU] A mutex remained unlocked in eC applications inheriting - GuiApplication but not initializing the interface system + [SRU] A mutex was being unlocked without every being locked in eC + applications inheriting GuiApplication but not initializing the + interface system |
summary: |
- [SRU] A mutex was being unlocked without every being locked in eC + [SRU] A mutex was being unlocked without ever being locked in eC applications inheriting GuiApplication but not initializing the interface system |
Changed in ecere-sdk (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in ecere-sdk (Ubuntu Quantal): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
Fixed by http:// bazaar. launchpad. net/~jerstlouis /ecere/ quantal_ sru/revision/ 811
.debdiff can be found in bug https:/ /bugs.launchpad .net/ubuntu/ +source/ ecere-sdk/ +bug/1107774