https://bugs.documentfoundation.org/show_bug.cgi?id=118445

            Bug ID: 118445
           Summary: attempt to link documents circularly freezes writer
           Product: LibreOffice
           Version: 5.4.7.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Replication:

Create and save two empty docs. In the 1st doc, insert a section and 'link' its
contents to the 2nd doc. Save the 1st doc.

In the 2nd doc, 'insert' a 'section', set 'link' checkbox, set 'file name' to
the 1st doc.

After clicking 'Insert', Writer freezes with maximum cpu usage.

Expected result: Writer recognises the attempt to back-link and -- this is just
an idea -- blocks the 'links update' functionality for the offending content,
with an informational message. But surely not use up all the resources.

Steps to Reproduce:
Create and save two empty docs. 

In the 1st doc, insert a section and 'link' its contents to the 2nd doc. Save
the 1st doc.

In the 2nd doc, 'insert' a 'section', set 'link' checkbox, set 'file name' to
the 1st doc.

Click 'Insert'.

Actual Results:
Writer freezes, maxing the CPU usage.

Expected Results:
Writer recognises the attempt to back-link and -- this is just an idea --
blocks the 'links update' functionality for the offending content, with an
informational message. But surely not use up all the resources.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to