Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 499200

Summary: media-sound/clementine-1.1.1 - database breaks with NFS home directory
Product: Gentoo Linux Reporter: Joe Breuer <gentoo>
Component: Current packagesAssignee: Fat-Zer <fatzer2>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: proxy-maint, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/clementine-player/Clementine/issues/4132
https://bugzilla.mozilla.org/show_bug.cgi?id=433129
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 588908    

Description Joe Breuer 2014-01-25 09:57:00 UTC
I recently - again - encountered a situation where sqlite databases on NFS shares would break:

https://github.com/clementine-player/Clementine/issues/4132


Since firefox/thunderbird also use sqlite internally, my home is on NFS and they most assuredly don't break under heavy usage, I started investigating.

At first, I thought that SQLITE_ENABLE_LOCKING_STYLE=1 could enable locking method detection and that enabling it might help.

But looking at the code of both sqlite and mozilla, that doesn't appear to be what's going on - all code around SQLITE_ENABLE_LOCKING_STYLE is also conditional on __APPLE__ or other non-linux os specific environments.


This looked promising:

https://bugzilla.mozilla.org/show_bug.cgi?id=433129

But I don't have the storage.nfs_filesystem preference set, and firefox still works correctly out of my NFS home, whereas clementine regularly corrupts its database.


Ah well, I'll try to dig deeper another time; perhaps someone with more information about what's going on here could drop a few pointers.


For the time being, symlinking the clementine database to a local filesystem works around the issue.
Comment 1 Nikoli 2014-02-13 05:26:01 UTC
Upstream asked you: "Can you try with the latest version (1.2.1)?"
Comment 2 Fat-Zer 2016-08-08 20:45:01 UTC
As mentioned above, please check if the problem persists in latest versions and feel free to reopen the bug.