Bug 63627 - MinGW: Windows (All apps) slowing down due to excessive disk access
Summary: MinGW: Windows (All apps) slowing down due to excessive disk access
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: Other Windows (All)
: highest blocker
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-17 08:26 UTC by Hans Lodder
Modified: 2013-06-07 20:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Lodder 2013-04-17 08:26:16 UTC
Problem description:
When Quick Starter is executed, after some time (less than a minute) the Win Task Manager reports that the system program has 99% disk access, at speeds more than 3.0 MB/s.

This slows down all apps, including LibreOffice (LO). For instance cut and paste between LO and Notepad might take minutes.

Also, as Writer, Calc and other modules stop responding, I abort them often. Accessing Win explorer (explorer.exe) is taking very long, an dis unusable, until aborted.

Steps to reproduce:
1. Launch quickstart.exe
2. After some time, task manager report excessive disk access.
3. Abort quickstart.exe
4. After some time, task manager reports low disk access. This step takes longer than step 2.

Current behavior:
Unacceptable. This is a brand new HP Pavilion G7 laptop with Win 8 Pro, 64 bit, 8GB RAM, secure boot, GPT and and UEFI. And I cannot use it for serious work. Too unreliable. I still create and maintain all my professional documents on my 7 year old Compal laptop with Win XP and LO 3.x

Expected behavior:
A stable document processing platform.

I will be more than happy if I can help finding this strange bug.
              
Operating System: Windows 8
Version: 4.0.2.2 release
Comment 1 Hans Lodder 2013-04-19 09:35:37 UTC
Some extra info:

This program creates the excessive disk I/O

ntoskrnl.exe - NT Kernel & System

The result (Sysinternals Process Explorer) is a very long list of temporary page file usage, called:

<Pagefile Backed>
<Pagefile Backed>
<Pagefile Backed>
... (Goes on seemingly endlessly)
Comment 2 Hans Lodder 2013-04-20 06:16:33 UTC
Some more info. The Mozilla products Firefox and Thunderbird (TB) suffer from the same thing: Firefox a little, and only when flash-like software is fired through the container functionality. TB suffers more, but by far not as much as LibreOffice.

The short term solution for Mozilla products is to clear all history. After that they behave themselves for some time.
Comment 3 Elizabeth Young 2013-06-04 23:47:21 UTC
The problem appears to be fixed in v4.0.3.3 (current stable version).

Test System: Windows 8 Home Premium 64-bit, HP Envy H8-1445, 12Gb RAM, GPT, UEFI, Secure Boot.

Step #1 was tested twice from a cold start, first by launching quickstart.exe manually at the command prompt, and also by enabling it via the Libreoffice Options menu.

Each instance was left running for over 15 minutes while opening/closing a few sample documents with no growing increase in Disk% (observed with the Task Manager). No warning messages were generated.

The comments on ntoskernel.exe, Firefox, and Thunderbird are interesting but I cannot link them to the Libreoffice Quickstarter at this point.

If you are still having the same excessive disk access with v4.03, please set bug Status back to UNCONFIRMED and let's proceed with more details. Thanks for reporting.
Comment 4 Hans Lodder 2013-06-06 05:49:02 UTC
Shortly after reporting this bug I switched to the PortableApps version of LibreOffice (v4.0.3.3  3.3). Now I can reasonably work with LibreOffice. I can confirm that in this version QuickStart behaves normal.

However, also in this version you cannot leave an edited file open, p.e. in Writer, hibernate, and continue editing. LibreOffcie will crash, and start a recovery, even if the document was completely saved, and there is nothing to recover.

Should I report this as a new bug?

Kind regards, and thanks for helping out,

Hans Lodder

PS: Since then I also became aware that explorer.exe is not to be trusted: it hangs often if opened more than a couple minutes. This might be related, as also my issues with other 32-bits applications (FF, TB, etc).

I checked all Windows logging files, and currently Windows reports no issues, errors or otherwise. I checked with several malware detection applications, and they reported nothing. I updated all my HP drivers, and checked with SlimDrivers if there are any other outdated drivers. There are none.
Comment 5 Hans Lodder 2013-06-07 09:04:31 UTC
I just noticed that selecting and copying information to the clipboard  in Notepad++ does not become visible and available in LibreOffice Writer.

Follow these steps to be able to paste information from the clipboard:

1. Save document
2. close document
3. Close QuickStarter
4. Restart QuickStarter
5. Open document in Writer
6. Paste information

Fortunately I do not have to repeat these actions often...
Comment 6 Elizabeth Young 2013-06-07 20:18:19 UTC
(In reply to comment #4)
> Shortly after reporting this bug I switched to the PortableApps version of
> LibreOffice (v4.0.3.3  3.3). Now I can reasonably work with LibreOffice. I
> can confirm that in this version QuickStart behaves normal.
> 

Great! Here I'll change this bug Status back to Resolved/Works. Thanks for reporting back, and sorry it took a couple of days (I forgot to add me to cc:).

> However, also in this version you cannot leave an edited file open, p.e. in
> Writer, hibernate, and continue editing. LibreOffcie will crash, and start a
> recovery, even if the document was completely saved, and there is nothing to
> recover.
> 
> Should I report this as a new bug?

Yes, detailed reports are always welcome. Thanks :-)

> Kind regards, and thanks for helping out,
> 
> Hans Lodder
> 
> PS: Since then I also became aware that explorer.exe is not to be trusted:
> it hangs often if opened more than a couple minutes. This might be related,
> as also my issues with other 32-bits applications (FF, TB, etc).
> 
> I checked all Windows logging files, and currently Windows reports no
> issues, errors or otherwise. I checked with several malware detection
> applications, and they reported nothing. I updated all my HP drivers, and
> checked with SlimDrivers if there are any other outdated drivers. There are
> none.

explorer.exe is not to be trusted :). I'm sorry I can't comment more on your Windows driver issues. I have a newish HP 8-core with Windows8, as well as my older HP/Win7 systems. Definitely feel your pain. BUT, if it's a Libreoffice-related report I'll help recreate the problem and test the fixes as they arrive.That's fun \o/!

Thanks again for contributing,
Liz
Comment 7 Elizabeth Young 2013-06-07 20:29:18 UTC
(In reply to comment #5)
> I just noticed that selecting and copying information to the clipboard  in
> Notepad++ does not become visible and available in LibreOffice Writer.
> 
> Follow these steps to be able to paste information from the clipboard:
> 
> 1. Save document
> 2. close document
> 3. Close QuickStarter
> 4. Restart QuickStarter
> 5. Open document in Writer
> 6. Paste information
> 
> Fortunately I do not have to repeat these actions often...

This is a different bug.

I'm not clear to recreate the problem in the steps you listed. If you have time, can you be more specific in what you expect Libreoffice to do here? In your shiny new report :-)

Thank you,
Liz