Database corruption during shutdown, GUI gone.

Bug #1469378 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
Daniel Schürmann

Bug Description

During Mixxx shutdown the database is synced back into the hdd, during this time, the Mixxx GUI is already gone.

If you restart, kill, umount or power down during this time, there is a big risk for DB corruption especially if it is located on an external media.
(Just happens to me)

We should pop up a window, displaying "clean up dB" or something reasonable, to clarify this state.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

I have assigned this to 1.12, since loosing the DB is one of the bad things.
On my eeePC using and a > 10k tracks library it took 35 s until Mixxx displays a GUI and 110 s from closing the GUI to final exit Mixxx.

Changed in mixxx:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Daniel Schürmann (daschuer)
milestone: none → 1.12.0
Revision history for this message
Owen Williams (ywwg) wrote :

it sounds like you removed a device without ejecting it properly. Whether mixxx has exited is irrelevant... you could remove the device and the data might not have been synced anyway. So it seems like adding an exit screen doesn't solve the problem.

Revision history for this message
Owen Williams (ywwg) wrote :

I guess this is "fixed" now because we don't hide the gui until the program has exited?

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Actually it is fixed twice. We do not hide the gui and we have solved all known situations that have delayed the shutdown.
If we still experience a slow shutdown in a specific situation. (will be now an undesired gui leak during Shutdown) We should open a new bug. Mixxx should shutdown almost instantly.

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8129

lock status: Metadata changes locked and limited to project staff
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.