Bug 95116 - LibreOffice-5 — Crashes when trying to SAVE documents in folders that contain many files
Summary: LibreOffice-5 — Crashes when trying to SAVE documents in folders that contain...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86 (IA32) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-16 16:29 UTC by Roy
Modified: 2018-02-20 23:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Description of problem along with diagnostic report (1006.34 KB, text/rtf)
2015-10-16 16:29 UTC, Roy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roy 2015-10-16 16:29:35 UTC
Created attachment 119673 [details]
Description of problem along with diagnostic report

LibreOffice  5.0.2002  (latest version) — Bug Report
October 16, 2015


COMMENTS
This bug presents itself almost without fail everytime we try to save our Writer document.  If for any reason it doesn’t present itself to you, try copying and pasting anything into a new document and then try to save it.  

IMPORTANT: This only happens on our 2008 Mac Pro and NOT on my 2010 Mac Mini. Xeon processor issue? Both the Mac Pro and Mac Mini were given a complete bare-metal reinstall and upgrade to Yosemite about 2 months ago.  Everything runs great.  Please email me if you have any questions. We LOVE, LOVE, LOVE the new LibreOffice 5 interface, but it is unusable on our Mac Pro because we cannot save anything without it crashing and really hope you can fix it.  

Thank you,

Roy McCollum
Chattanooga TN
roy3lovessarah@gmail.com
Comment 1 Alex Thurgood 2015-10-18 19:18:11 UTC
Where does your LibreOffice version come from AppStore or TDF download ?

We need instructions on how to reproduce :
- where are you copying from ?
- what are you trying to copy / paste ?
- are you using any keyboard shortcuts, or the Edit menu for copy / paste ?
- are you saving to network mounted share ?

Testing on a Macmini 2010, copy pasting from Firefox to Writer, saving to local hard disk,  I don't see this problem.
Comment 2 Roy 2015-10-18 22:42:25 UTC
Alex,
Thank you for taking time to look at my bug report. We LOVE  LibreOffice 5 and really hope you will be able to fix this.

1. Please go back and re-read my entire original message and also the reply you sent me. Especially the section marked "IMPORTANT" in ALL CAPS. You somehow missed seeing MAJOR information in my message and you tested the wrong model of Mac. After re-reading it, if you still don't understand then let me know. 

2. I always download my software from The Document Foundation website, and this bug has persisted over at least the last two versions in LibreOffice 5.

3. I mentioned copying, pasting and SAVING as a way to definitely reproduce the issue, HOWEVER, we haven't been able to SAVE much of anything with it beachballing and having to be force quit. Forget copy+paste and start by trying to save anything in Writer. But make sure it's running on a 2008 MAC PRO running Yosemite...then you'll probably see it. As a side note, we'll probably upgrade to El Capitan in a month or two after all the software companies have time to adjust and fix any bugs. 

4. Would you please comment to let me know when you've seen my comment? 
I just wanted to make sure I left this in the right place. I would love to know if I could simply reply to the emails I receive from Bugzilla, but I'm guessing that I need to log in and leave my comments here.

MORE INFO YOU REQUESTED
After you re-read my original message, you probably won't need any of this, 
but in case you do...

YES we are using hotkeys to copy and paste. 

We are just copying webpage text from Firefoz or Google Chrome

NO we are not saving to a network mounted folder. Just saving to DOCUMENTS locally.

-----

Thanks,
Roy
Comment 3 Alex Thurgood 2015-10-19 05:08:55 UTC
(In reply to Roy from comment #2)
> Alex,
> Thank you for taking time to look at my bug report. We LOVE  LibreOffice 5
> and really hope you will be able to fix this.
> 


I merely triage thé bug reports on OSX, and am incapable of fixing them.

As I don't have a 2008 Mac Pro with Yosemite, it is unlikely that this report will ever be confirmed.
Comment 4 Alex Thurgood 2015-10-19 05:10:57 UTC
Roy,
I am assuming you have Java6 installed on both machines?
Comment 5 Roy 2015-10-19 14:48:21 UTC
Alex, thanks for your fast reply.  I know that you aren't responsible for actually fixing bugs. I was only speaking generally and hoping that it can be fixed.  

YES, I have installed Java 6 on both machines.  

Like I said, both machines have recently had a complete, bare-metal reinstall of the OS (10.10) within the last 2 months. All my apps and drivers are also up-to-date. I say that because, as you know, sometimes an older installation of an OS can have quirky issues that build up over time, that a simple reinstall will fix. 

OPENING, EDITING and SAVING DOCUMENTS -- Often Works
My wife WAS able to get a few documents to save, IF she was OPENing documents in LibreOffice Writer, rather than creating new ones. She specifically remembered having success with TEMPLATES when she would OPEN, edit and SAVE them.

Given that you don't have access to a 2008 Mac Pro, can you somehow put the word out about this, or pass it along so that the developers can at least have a look at it.  They might realize what the problem is and I would be happy to test a revision for them. YI'll also be happy to take this up with them if you can give me an email contact. 

You still have the diagnostic "crash" report I attached, right?

I know my computer is an older machine, but it's an 2.8Ghz, 8-core Mac Pro with 18GB of RAM. This machine has at least 3 more good years in it.  

One more thing. In case it's helpful to you, both TextEdit and the latest version of OpenOffice runs fine on the 2008 Mac Pro. But LibreOffice 5 is SO much better than the latest version of OpenOffice. It actually feels like a different program now. 

I appreciate your help. Thanks for listening. Please let me know what you think when you have a moment.

Roy McCollum
roy3lovessarah@gmail.com
Comment 6 Alex Thurgood 2015-10-19 15:34:21 UTC
Hi Roy,

Well our bugzilla allows any interested person to be made aware of a bug affecting LibreOffice if they decide to take an interest ;-) However, there are no attributed Mac developers in the LibreOffice project per se - people just up and volunteer to scratch their itch as and when they feel like it, and this is particularly so for OSX problems, so there is no one in particular I could forward this to.

I'm also unaware whether any of the people who do occasionally contribute to solving some of the OSX specific problems are using the hardware you have. The Apple crash report is a help, but unfortunately, we usually request gdb debugging trace output, and that in turn requires a debug enabled build (with symbols), and running LO in lldb to get a full backtrace. That's probably about the only further thing I could ask of you at the moment : download a debug enabled build from one of the current master OSX nightly builds (if you can find one) and run it in lldb to get a full backtrace, and then save that backtrace to a text file and upload it here. This would assume you know something about debugging under OSX from the command line.
Comment 7 Alex Thurgood 2015-10-19 16:04:16 UTC
The only other thing I can think of is that your memory modules arrangement might not be to LO's taste and something in the write operations on save triggers a memory fault ? I see you have older 1Gb modules in that system along with the 4Gb ones.

Does your syslog show any memory read/write faults at all (not just LibreOffice, but generally) ? Clutching at straws I'm afraid.
Comment 8 Roy 2015-10-20 00:50:42 UTC
Hey Alex,
Your last comment about RAM is a really interesting guess. I recently installed some memory from RAMjet, but they test all their memory in Macs, and I THINK we were having trouble before I installed it. My other memory sticks are from Crucial and Apple. 
I watched a video on how to install all of it and believe I did it correctly, but I think your thought makes a lot of sense. Everything runs perfectly until we click SAVE and then it all locks up. Whatever it is, that's when it happens, so that could be it.

The only problem is that I really don't know what to do with that info. Everything you said in regards to debugging is over my head. The only code I've ever written was DOS Basic back in 1983 at computer camp. Yes, 1983. I love computers, and would love to sit down and watch someone do that, but I'm not up to tackling it on my own right now.

If you think of anything else I would be grateful to hear any ideas you might have. 
I think I saw your email address in the email I got. (yahoo.uk?) You have mine and can comment here as well.

Thank you for your help,
Roy
Chattanooga TN USA
Comment 9 Alex Thurgood 2016-06-15 07:50:04 UTC
@Roy : just checking in to see whether this issue still affects you or not ?
Comment 10 steve 2016-06-15 07:59:08 UTC
NEEDINFO as per comment 9. Let's wait for feedback, if this is persisting with recent versions of LO.
Comment 11 Roy 2016-06-15 21:27:57 UTC
I will have to download a later version and see if the problem persists. It is still a problem with the version I reported originally. Thank you for checking in! I will try to upgrade and re-check as soon as I can.
Comment 12 Alex Thurgood 2016-12-01 08:45:04 UTC
@Roy : any news on testing with a more recent version ?
Comment 13 QA Administrators 2017-05-31 10:51:28 UTC Comment hidden (obsolete)
Comment 14 Roy 2017-06-02 15:02:03 UTC
Dear LibreOffice / Document Foundation,

I was originally told by Alex Thurgood, that my problem most likely wouldn't be confirmed because he didn't have a 2008 Mac Pro running Yosemite. While I understand that, ii kinda makes all the time I spent reporting this seem like a waste. For future reference, it would be helpful to know what models and software versions you DO test on.

Second, after extensive testing, I MAY have figured out WHAT is causing the issue I continue to have. Please read on.

MY DOCUMENTS FOLDER
I have a fairly large DOCUMENTS folder. TEXTEDIT has no problem saving to it, but LibreOffice cannot handle simply trying to open the DOCUMENTS folder when choosing where to SAVE my document. This means that I had to go in to PREFERENCES and change the SAVE PATH so it will not automatically try to open a dialog window in the DOCUMENTS folder whenever I try to save a document. I do not have this problem with LibreOffice on my Mac Mini (2010) running Yosemite, but my DOCUMENTS folder on the Mac Mini is small. Just to be clear, LibreOffice seems to be fine with every other folder I tried to save to. It will even save to my other hard drives, but not the folder where documents are stored. Funny, and yet not so funny. :) 

ARRANGEMENT OF HARD DRIVES (most likely a non-issue)
I don't think this has anything to do with the problem, but wanted to be clear that my Mac Pro is setup with an SSD drive for the system files and a 4TB standard hard drive that contains my Mac Pro's HOME folder (Desktop, Documents, Pictures, etc.)

LIBREOFFICE INSTALL VERIFICATION TAKES 15-30 MINUTES
Yes, you heard right — an insane amount of time! I'm pretty sure it did this on both my Macs. This is when you first click on the file to launch LibreOffice after downloading, mounting the DMG and dragging the app into APPLICATIONS. This issue really needs addressing. Thankfully I let it keep "verifying" to see what would happen after force quitting it several times, but 15-30 minutes is a bit long.

I don't have any more time to write more, unless it's to help actually test something. My wife and I LOVE LibreOffice and hope you will at least pass these issues along to be at least looked at. Both my computers far exceed the system requirements on the website, so if at all possible, my problem should be addressed. If you have a fix of some kind to share with me, I would be grateful.

Thanks to all of you for your hard work and excellent FREE software,
Roy McCollum
Chattanooga, TN
roy3lovessarah@gmail.com
Comment 15 Buovjaga 2017-06-04 18:58:58 UTC
(In reply to Roy from comment #14)
> Dear LibreOffice / Document Foundation,
> 
> I was originally told by Alex Thurgood, that my problem most likely wouldn't
> be confirmed because he didn't have a 2008 Mac Pro running Yosemite. While I
> understand that, ii kinda makes all the time I spent reporting this seem
> like a waste. For future reference, it would be helpful to know what models
> and software versions you DO test on.

Alex is just a user like all of us in quality assurance. So we are 100% your peers and will test on whatever we happen to have available. Sometimes TDF acquires hardware (or reallocates used hw) and sends it to testers or developers.

I see you tested with version 5.3.2.2 and set it to the version field, but we keep its value as the oldest version the bug is known to appear in, so I will revert it.
Comment 16 Alex Thurgood 2017-06-12 07:29:54 UTC
(In reply to Roy from comment #14)


> LIBREOFFICE INSTALL VERIFICATION TAKES 15-30 MINUTES
> Yes, you heard right — an insane amount of time! I'm pretty sure it did this
> on both my Macs. This is when you first click on the file to launch
> LibreOffice after downloading, mounting the DMG and dragging the app into
> APPLICATIONS. This issue really needs addressing. Thankfully I let it keep
> "verifying" to see what would happen after force quitting it several times,
> but 15-30 minutes is a bit long.
> 


This is a separate, and already known, issue. Please do not try to conflate it with your original issue.
Comment 17 Alex Thurgood 2017-06-12 07:33:38 UTC
(In reply to Roy from comment #14)


> MY DOCUMENTS FOLDER
> I have a fairly large DOCUMENTS folder. TEXTEDIT has no problem saving to

How large is large ? Is it a multiple GB collection of small files, or a multi GB collection of a small number of large files ?



> ARRANGEMENT OF HARD DRIVES (most likely a non-issue)
> I don't think this has anything to do with the problem, but wanted to be
> clear that my Mac Pro is setup with an SSD drive for the system files and a
> 4TB standard hard drive that contains my Mac Pro's HOME folder (Desktop,
> Documents, Pictures, etc.)

How is your Documents folder mounted into the main system ? Symlinks or hardlinks  or is the 4TB disk mounted over a network, and if so, via which network protocol ?
Comment 18 QA Administrators 2018-01-02 10:15:20 UTC Comment hidden (obsolete)
Comment 19 Roy 2018-01-02 21:38:38 UTC
Hey Alex,
I got an email reminder about the bug and wanted to add this update.
This will probably be my last comment on this.

Since I first reported this bug, what I've noticed over time on both my 2008 Mac Pro and my 2010 Mac Mini is that LibreOffice only "beach-balls" and crashes when I try to SAVE my document to a folder with a lot of files in it. But, when clicking SAVE, if it opens an empty folder OR I am able to select a folder with 10 files or less, I never have a problem. I have only experienced this CRASH WHEN TRYING TO SAVE MY DOCUMENT issue with LibreOffice (since version 5). I haven't had this problem with any other software on my Mac.

Yes, my Macs are relatively old and I'm running Yosemite, but all my other software saves to any folder without issue. I hope you will at least pass this on to the developers working on the new LibreOffice 6 for Mac. Other than this annoyance, I really love LibreOffice.

Thanks for your help!

Happy New Year,
Roy
Comment 20 Alex Thurgood 2018-01-04 13:51:27 UTC
(In reply to Roy from comment #19)


> Since I first reported this bug, what I've noticed over time on both my 2008
> Mac Pro and my 2010 Mac Mini is that LibreOffice only "beach-balls" and
> crashes when I try to SAVE my document to a folder with a lot of files in
> it. But, when clicking SAVE, if it opens an empty folder OR I am able to
> select a folder with 10 files or less, I never have a problem. I have only
> experienced this CRASH WHEN TRYING TO SAVE MY DOCUMENT issue with
> LibreOffice (since version 5). I haven't had this problem with any other
> software on my Mac.
> 

Hence my question with regard to the number of files in your Documents folder in comment 17.

It might be helpful, for future reference, if you could provide us with this information, and also the size and distribution of number/file sizes with regard to the folders into which you are trying to save your LibreOffice files.

With previous versions of MacOS, there were some reported issues of excessive file descriptor opening (and corresponding memory consumption), perhaps this is what you are seeing.

Setting to NEEDINFO.
Comment 21 Roy 2018-01-04 17:24:00 UTC
Alex,
Thanks for your reply. June 2017 was a while ago so I didn't specifically remember "Comment 17" and didn't realize you still had unanswered questions. However, I do understand how frustrating it can be when someone fails to address the questions you ask in an email, so thanks for your feedback.

1. The files in my documents folder are fairly typical documents that are each small in size and on average under a 1MB each. 

EXAMPLE:

The DESKTOP folder on one of my Macs has 89 items (files and folders)
and is 79.2MB. Other software has never had a problem with this modest sized folder,
but for some reason LibreOffice 5 does. Just for reference, OpenOffice never had this issue, but I prefer LibreOffice.

2. As far as WHERE I'm trying to SAVE to, I'm only talking about LOCAL folders (not LAN) that are stored on drives that are internally or externally connected to the machine I'm using). 

I hope this helps, because I want to help LibreOffice be the best office app out there. For future reference, I may not answer all of your questions perfectly and it may sometimes require some back and forth. I've changed the status back to "Unconfirmed". If you need more info, just let me know and I'll do my best to provide it. 

Thanks,
Roy
Comment 22 Alex Thurgood 2018-01-08 09:41:37 UTC
(In reply to Roy from comment #21)

Hi Roy,

I apologize if I appeared offhand, but it is often very difficult to get to the finer detail of a given issue when we only have general statements, such as "with many files" so I hope you understand why I'm pushing for more information. Thanks for getting back to me though, I appreciate it.

> 
> The DESKTOP folder on one of my Macs has 89 items (files and folders)
> and is 79.2MB. Other software has never had a problem with this modest sized
> folder,
> but for some reason LibreOffice 5 does. Just for reference, OpenOffice never
> had this issue, but I prefer LibreOffice.
> 


You mention the Desktop folder has 89 items (folders and files). That is actually quite a lot of files for the Desktop folder (especially if there are lots of aliases) and is/was known to cause a slowdown of the OS in earlier versions of MacOSX (I myself experienced this on my previous Macbook).

Are any of the folders symbolic links / aliases to external storage ?

LO has/had a known issue, linked to the way it accesses and populates the Finder window dialog, with saving/opening from externally mounted storage, particularly where there are lots of files on the destination folder of the drive in question.

Furthermore, current versions of LO also have marked performance issues when attempting to first display, or save to, a folder via the Finder dialog, notably with macOS Sierra/High Sierra, but it also probably affects Yosemite as well.

Additionally, there are several known Yosemite and earlier specific bugs that have not been, and probably will never be, fixed. Given Apple's proclivity to only maintain a 3-year window for system updates, at some stage in the near future, Yosemite will also become EOL, thereby reducing the chances that any LibreOffice volunteer developer with an expertise in OSX problems will want to look at these problems.


Unless you can upgrade your OS version to Sierra or High Sierra, there probably isn't much more that can be suggested. None of the volunteer QA members that participate in the project, to my knowledge, have a setup similar to the one you describe, so for us that means it is nearly impossible to try and reproduce. As a result, your issue will in likelihood be consigned to history.

If you could answer me on the alias question - i.e. whether the problem occurs in particular when saving to an alias which points to an external storage folder containing hundreds of files, I would be much obliged.
Comment 23 Roy 2018-01-08 19:01:31 UTC
Hey Alex,
Thanks for your help. I know my hardware and software are old, so I wouldn't want you or anyone working on LO to waste time trying to chase down a problem if it's outdated. What you described sounds like what I have experienced, but now that I've figured it out I can work around it. 

I apologize if I missed answering yet another question you had. Regarding "alias" or networked folders, I DO have a network, but it does not apply to this issue. I was only using internal drives and made sure that I was NOT trying to save to a network folder when I experienced the beach balling and had to force quit LO each time. 

Ever since MacOS Lion, I have dreaded upgrading. My 2008 Mac Pro and 2010 Mac Mini both ran great on 10.6, but Yosemite was a downgrade for me and then I watched later MacOS reviews continue into the toilet. If you notice now, Apple doesn't have reviews for it's OS at the online Mac store anymore. Hmmm, wonder why? I was fed-up before the news about them slowing down the iPhone broke. Greed, greed and more greed. I'm actually considering going back to Windows because for me, Macs are barely worth it any more. 

I hope I was able to answer your question, but if there's anything else you'd like to know, I'll do my best to help. Just be patient if I takes me some time. Regarding STATUS of this bug, please mark it however you wish. I was't sure what to put. It's not technically "resolved", but I agree that there's nothing further to do here. 

Thanks,
Roy

QUESTIONS (if you have a moment)

1. May I ask where you live? I'm near Chattanooga TN USA. 

2. I wish the world ran on Linux, but if I want access to mainstream software, it's either Mac or Windows. I would love to hear any thoughts and advice you might have on this. (What do you use and why?)
Comment 24 Xisco Faulí 2018-02-20 10:35:43 UTC
> QUESTIONS (if you have a moment)
> 
> 1. May I ask where you live? I'm near Chattanooga TN USA.

Europe mostly.

> 
> 2. I wish the world ran on Linux, but if I want access to mainstream
> software, it's either Mac or Windows. I would love to hear any thoughts and
> advice you might have on this. (What do you use and why?)

Reading your comments we seem to be in a dead end here. On the one hand, we no longer support versions older than LibreOffice 5.4. On the other hand, your software do not support the latest version of LibreOffice anymore.
I guess there nothing we can do here...
Comment 25 Roy 2018-02-20 23:43:01 UTC
Xisco,
Yes, all is fine. I just don't save to folders with more than 10 files. 
I was simply responding to Alex Thurgood's message. 

Roy