Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000351MPfm[All Projects] Globalpublic2012-04-29 18:042012-04-29 18:25
Reporterycastonguay 
Assigned Toycastonguay 
PriorityurgentSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.6.0.0 
Target Version0.6.0.0Fixed in Version0.6.0.0 
Summary0000351: Crash while updating the library and playing a song at the same time (transition to next song)
DescriptionThe database cannot be accessed from multiple threads at the same time. Since the update library process runs in another thread, the best thing for now would be to stop this thread while transitioning to the next song, and then starting the thread again.
TagsNo tags attached.
Attached Files

- Relationships
related to 0000352assignedycastonguay Create a queue system for interacting with SQLite with multiple threads 

-  Notes
(0000643)
ycastonguay (administrator)
2012-04-29 18:22

Unfortunately, the current background worker used for updating the library doesn't support pause, so the playback will need to be stopped when hitting a new song. This a temporary fix until a queue system is implemented for accessing SQLite databases with multiple threads (see linked item).
(0000644)
svn (developer)
2012-04-29 18:24

The user animal has checked in files related to this issue (revision 465).

Comment:
MPfm 0.6.0.0
* Main Window (WinForms)
  - Fixed bug where the application would crash when updating the library, playing a song at the same time, and
    transitioning to the next song. The playback now stops when meeting these conditions.
    This is a temporary fix until a queue system will be implemented for accessing SQLite databases with multiple threads.

Related to issue 0000351.



Files modified:
U MPfm/branches/current/MPfm/frmMain.cs

- Issue History
Date Modified Username Field Change
2012-04-29 18:04 ycastonguay New Issue
2012-04-29 18:04 ycastonguay Status new => assigned
2012-04-29 18:04 ycastonguay Assigned To => ycastonguay
2012-04-29 18:22 ycastonguay Note Added: 0000643
2012-04-29 18:22 ycastonguay Relationship added related to 0000352
2012-04-29 18:24 svn Checkin
2012-04-29 18:24 svn Note Added: 0000644
2012-04-29 18:25 ycastonguay Status assigned => resolved
2012-04-29 18:25 ycastonguay Fixed in Version => 0.6.0.0
2012-04-29 18:25 ycastonguay Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker