bugTutka - Bugs: bug #10238, Changes to the song made using the...

 
 

bug #10238: Changes to the song made using the GUI can crash the player thread

Submitted by:  None
Submitted on:  Wed 01 Sep 2004 10:54:41 PM UTC  
 
Category: Editor corePriority: 8
Status: FixedAssigned to: Vesa Halttunen <vesuri>
Open/Closed: ClosedRelease: None
Operating System: NonePlanned Release: 0.12.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 19 Dec 2004 07:56:50 PM UTC, comment #1:

Fixed in CVS.

Vesa Halttunen <vesuri>
Project AdministratorIn charge of this item.
Wed 01 Sep 2004 10:54:41 PM UTC, original submission:

Because the GUI functions currently access the song loaded into the editor directly the changes can be made while the player routine is doing something with the song. For example while the player is playing row 40 and the GUI is used to shorten the block to 4 rows the player can crash because it tries to access row 40 which doesn't exist anymore.

To prevent this all access to the song should go through an API in the editor that implements proper locking for the song data (just a mutex which is used in the player). This involves quite many additions to the editor API but this is the way the components should be separated anyway.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 19 Dec 2004 07:56:50 PM UTCvesuriStatusNone=>Fixed
  Open/ClosedOpen=>Closed
  Planned Release0.11.3=>0.12.0
Wed 01 Sep 2004 10:56:03 PM UTCvesuriPriority7 - High=>8
Wed 01 Sep 2004 10:55:37 PM UTCvesuriAssigned toNone=>vesuri
  Planned ReleaseNone=>0.11.3
Wed 01 Sep 2004 10:55:36 PM UTCvesuriPriority5 - Normal=>7 - High

Back to the top


Powered by Savane 3.1-cleanup1