[Libreoffice-bugs] [Bug 32707] New: VIEWING, Writer hangs when repainting 2 pages at a time containing 2 big images

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 28 23:01:38 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32707

           Summary: VIEWING, Writer hangs when repainting 2 pages at a
                    time containing 2 big images
           Product: LibreOffice
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: LibreOffice at gmx.de


Steps to reproduce:
- Create a new doc.
- Set page format to A3 landscape.
- Add a second page.
- Add a big (JPG) image to every page. Insert->Picture->From File... (I work
with linked images, but it also occurred on embedded bitmaps.) The image should
cover nearly the complete writing area.
- Set tool-button Graphics=ON
- Set zoom (and scroll) to a value that both pages are partly visible.
- Save the file.
- Terminate LibreOffice.
- Open the .odt file (by double-click). => The document is opened. The
placeholders for the images are visible. One cup core load is at 100% and stays
there! 

When you click on the zoom slider the command is executed after a while. When
one of the pages is going out of the visible area because of zooming or
scrolling then the image on the remaining page is repainted and the CPU load
goes down to normal values.

The bug can also be reproduced with a document which has more than two pages.
Just drag the scroll slider to a place where 2 pages with 2 images are visible.
(It must be the first load for both images after opening the document.)

Tested with latest versions of OpenOffice and LibreOffice (including RC2).

Tested on:
- Windows Vista 64-bit with latest SP and patches.
- Suse Linux 64-bit, KDE, latest version with current patches.
- AMD dual core CPU, ATI graphics card.


When you run this test with strace the log is increasing very rapidly.


The output from gdb (without debug files) is:
...
Missing separate debuginfo for /lib64/libnss_files.so.2
Try: zypper install -C
"debuginfo(build-id)=3c394385f320f548f286d584dfe412a593874bda"
[Thread 0x7fffe8738710 (LWP 8297) exited]
[New Thread 0x7fffe8738710 (LWP 8298)]
[New Thread 0x7fffd65ff710 (LWP 8299)]
[Thread 0x7fffd65ff710 (LWP 8299) exited]
[New Thread 0x7fffd65ff710 (LWP 8300)]
[Thread 0x7fffd65ff710 (LWP 8300) exited]

... (removed hundreds of this lines)

[New Thread 0x7fffe6d04710 (LWP 8901)]
[Thread 0x7fffeee6b710 (LWP 8290) exited]
[Thread 0x7fffe6d04710 (LWP 8901) exited]

Program exited normally.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list