Bug 76985

Summary: Freeze: Moving graphic frame always freezes Writer
Product: LibreOffice Reporter: Gerry <gerry.treppel>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: critical    
Priority: high CC: philipz85, suokunlong, vmiklos
Version: 3.6.7.2 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Moving-inner-graphics-frame-to-bottom-freezes-Writer.odt

Description Gerry 2014-04-03 08:22:38 UTC
Created attachment 96827 [details]
Moving-inner-graphics-frame-to-bottom-freezes-Writer.odt

I encounter reproducible freezes of LibreOffice Writer when moving a frame which includes a graphic. 

Following action always freezes Writer on my computer:
* Please open attached .odt file
* Go to page number 3, there you see a graphic of Africa. (Details: The graphic you see sits in a graphic frame (inner-frame) which also includes the caption. Both sit in another frame (outer-frame) with includes the source declaration at the bottom of the graphic.)
* Now click on the border of the inner-frame and move the inner-frame with Alt and the cursor-down key to the bottom of the outer-frame. As soon as it reaches the outer-frame, LibreOffice Writer freezes and one CPU core goes up to 100% until you kill LO.

Please find here a screencast of the freeze (39sec): At second 10 LO Writer freezes: http://ubuntuone.com/6h4OX47cbTFbPgGsMdCmG3

LibreOffice Version: 4.1.4.2, Build ID: 410m0(Build:2)
System: Ubuntu 13.04 64-bit Intel, Gnome 3.

I don't know whether it helps, but when starting LO from the command line, following error messages are given:

~$ libreoffice
error: line 117725: bad flag alias index: 0
error: line 117725: bad flag vector alias
error: line 129422: bad flag alias index: 0
error: line 129422: bad flag vector alias
error: line 247820: bad flag alias index: 0
error: line 247820: bad flag vector alias
error: line 627245: bad flag alias index: 0
error: line 627245: bad flag vector alias
error: line 667594: bad flag alias index: 0
error: line 667594: bad flag vector alias
error: line 685788: bad flag alias index: 0
error: line 685788: bad flag vector alias
Comment 1 Dominique Boutry 2014-04-08 12:22:52 UTC
Reproduced with LibO 4.2.2.1 on Win7. NEW
Comment 2 Gerry 2014-04-11 17:40:37 UTC
Reproduced with fresh Version: 4.2.3.3
Build ID: 882f8a0a489bc99a9e60c7905a60226254cb6ff0
(Ubuntu 13.04)

I feel free to increase the the importance of the bug, because
* it affects all operating systems (tested on Win,Lin)
* it is 100% reproducable
* it is a freeze of the application with data loss
* it affects the  most recent version of LO
Comment 3 Gerry 2014-05-05 12:14:33 UTC
Please let me know if you need any further information to be able to track down the reasons for these annoying Writer Freezes. Thanks a lot!
Comment 4 Gerry 2014-05-05 12:48:10 UTC
Confirmed with current nightly build on WinXP SP3 (in VirtualBox)
Version: 4.3.0.0.alpha1+
Build ID: 82a623fb08afc72decb78f061b751a43ae503678
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-05_06:37:16
Comment 5 Gerry 2014-05-22 17:04:18 UTC
Freeze reproduced with 4.3 Beta (nightly after 4.3 branch). 

By the way, I get similar crashes (related to graphics frames) quite often.

Version: 4.4.0.0.alpha0+
Build ID: 2c61edfdf57dabbd86ecc440444b6b00443f916a
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-22_01:01:57
Comment 6 Kevin Suo 2014-05-29 09:45:31 UTC
On Windows XP SP3, libreoffice 4.2.5.1 and 4.3.0 beta1:
when I open the file, go to page 3, put cursor on the inner border of the image, hold ALT and drag down, nothing happens. LO does not freeze, and the image can not be moved down.

Could you please confirm the steps, or provide more specific steps to reproduce? Thanks.
Comment 7 foss 2014-05-29 10:10:11 UTC
Can't reproduce OSX 10.9.3 and LO 4.3beta1.

Confused since it works for Suokolong and myself but not for you with 4.3beta1 release.

Did you try resetting your userprofile?
Comment 8 Gerry 2014-05-29 16:11:07 UTC
Thanks a lot suokunlong and Foss for looking into the bug. I tried this bug on Ubuntu 13.04 and Windows XP SP3 also with new user profiles and I could reproduce the bug 100% of times with all LibreOffice versions (I tried 4.1.4.2 up to 4.3Beta1).

I assume that you can also reproduce the bug when following the same steps as I do. I try to give you more detailled steps. Please have a look at the screencast video in the bug description. In second 5 of the video, I select the graphics frame of the graphic (select not the outer frame, but just the inner frame. Also, don't select not the graphic itself, but the frame around the graphic) and then I press the Alt key and the cursor-down key (arrow down) to move this inner frame down. When you press the cursor-down key a dozen of times (while holding the Alt key) the inner-frame touches the outer-frame. In this second, LibreOffice will freeze (in the video second 10).

I hope this helps to reproduce the bug. Please let me know if my instructions are understandable.
Comment 9 Jay Philips 2014-05-29 22:10:58 UTC
Confirmed in LibO 3.6 on Linux Mint. In Windows 7 with 4.2, it had the same issue but not in 4.3 beta as the frame would jump back upwards, not allowing me to go outside of the outer layer.
Comment 10 Jay Philips 2014-05-29 22:15:17 UTC
(In reply to comment #6)
> Could you please confirm the steps, or provide more specific steps to
> reproduce? Thanks.

You cant produce it as your trying to move the image rather than the frame the image is in. Check his screencast for details. :)
Comment 11 Gerry 2014-05-30 10:09:02 UTC
To sum up. Freeze confirmed on various versions and OS:

* 4.1.4.2 on Ubuntu 13.04 (original report)
* 4.2.2.1 on Win 7 (comment 1)
* 4.2.3.3 on Ubuntu 13.04 (comment 2 (myself again))
* 4.3Beta1 on WinXP SP3 (in VirtualBox) (comment 5, myself again)
* 3.6 on Linux Mint (comment 9) 
* 4.2 on Win 7 (comment 9)

@suokunlong@gmail.com (comment 6) @Foss (comment 7): Could you please test it again with the more detailled steps given in comment 8? Thanks a lot!
Comment 12 Björn Michaelsen 2014-08-21 12:21:10 UTC
(This is an automated message.)

LibreOffice development currently prioritizes bugs with the so called MAB (most annoying bugs) -- as this bug has not run through that process (including writing a short rationale for this bug being a candidate and other who are watching the tracker bug silently approving that rationale etc.) its priority is set to high. Note this is effectively no change in the urgency assigned to this bug, as we are currently not making a difference between high and highest and severity is untouched.

You can find out more about MABs and how the process works by contacting libreoffice qa on irc:

 http://webchat.freenode.net/?channels=libreoffice-qa

The QA wiki page also gives you hints on how to get in contact with the team (if IRC fails you, your next best choice is the mailing list):

 https://wiki.documentfoundation.org/QA

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.