[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
8
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
Revision history for this message
Jerome St-Louis (jerstlouis) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in ecere-sdk (Ubuntu Quantal):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.