Bug 105493 - A warning about simultaneous access appears when trying to open LibreOffice.
Summary: A warning about simultaneous access appears when trying to open LibreOffice.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 22:17 UTC by gbwillett
Modified: 2017-01-24 09:01 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Warning that appears when trying to open LibreOffice (16.51 KB, image/jpeg)
2017-01-23 22:21 UTC, gbwillett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gbwillett 2017-01-23 22:17:20 UTC
Description:
This warning pops up when trying to open LibreOffice:
Either another instance of LibreOffice is accessing your personal settings or your personal settings are locked.  Simultaneous access can lead to inconsistencies in your personal settings.  Before continuing, you should make sure user "garywill" closes LibreOffice on host 'jfsn-47-33.dsl.netins.net'.  Do you want to continue?   Yes   No

If I click No, LibreOffice closes.  I have not clicked yes for fear of setting inconsistencies.



Actual Results:  
Instead of LibreOffice opening, a warning window pops up.

Expected Results:
Normally LibreOffice would open.


Reproducible: Always

User Profile Reset: No

Additional Info:
I was not aware I had LibreOffice personal settings, or that they could be locked or unlocked.

I am using a stand-alone iMac running OS 10.11.6.  The LibreOffice version is 4.3.5002.

"garywill" is a folder within the User folder on the hard drive.  It contains other folders such as Documents and Pictures.  I don't see anything there related to personal settings.

netins.net is the internet service provider.

Could this problem have been created because I had to force-quit LibreOffice the last time I used it?

I would appreciate any help in making LibreOffice useable again.  Thank you.


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0
Comment 1 gbwillett 2017-01-23 22:21:07 UTC
Created attachment 130640 [details]
Warning that appears when trying to open LibreOffice
Comment 2 Alex Thurgood 2017-01-24 09:01:38 UTC
@gbwillett : 

When you force quit LibreOffice or it crashes, sometimes the file ressources are not completely de-allocated or at least not cleanly. LibreOffice holds a lock on the file(s) that were open when the crash or force quit occurred. This lock manifests itself as a hidden file, which is stored until LibreOffice is started again. When the user attempts to re-open the file that they were working on, it checks for the lock file and in theory, uses that to check for consistency between the files. However, for some reasons I don't understand or know the intricacies of, LibreOffice doesn't always get this right and then throws a hissy fit that someone else has already opened the file (which is generally untrue, unless you happen to be in a multi-user environment).

This is "normal" behaviour (I quote the word normal, because it can be argued that from a user perspective LibreOffice should be intelligent enough to know that the same user is attempting to open a given file).

So, currently this is not a bug. Go ahead and click on "Yes". When you do that, the file lock will be overwritten with the new users credentials. 

There nonetheless remains the possibility that you will lose data as the lock file contains the state of the file at the moment the crash/force quit occurred and overwriting the lock file with the new file handle credentials might clear that data out, leaving you with less than what you expected. This is particularly so for database files that have an embedded database (hsqldb).

For what it's worth, you should really move to a more recent version of LibreOffice, LO4352 has been EOL (end of life) for a while now.