Summary: | FILEOPEN: Writer crashes while opening this docx file | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Jean-Baptiste Faure <jbfaure> |
Component: | Writer | Assignee: | Miklos Vajna <vmiklos> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | arnaud.versini, cedric.bosdonnat.ooo, mst.fdo, serval2412, vmiklos |
Version: | 4.0.0.3 release | Keywords: | regression |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | target:4.1.0 target:4.0.2 | ||
i915 platform: | i915 features: | ||
Attachments: |
bt + console logs on master
Stripped down bugdoc. |
Description
Jean-Baptiste Faure
2013-02-23 11:52:18 UTC
Confirmed on Ubuntu, seems the same as #60558 but not sure thank you for reporthig this bug, i can reproduce this crash in LibreOffice 4.0.0.3 on Mac osx 10.6.8 Created attachment 75414 [details]
bt + console logs on master
On pc Debian x86-64 with master sources updated today, I reproduced the problem.
I attached console logs + bt
Cédric/Michael: bt attached, one for you? most likely caused by: commit 4a0e2d6dc8ba3208f38e3a814ed806384a86ee9a Author: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> Date: Mon Mar 5 10:50:27 2012 +0100 n#747471, n#693238: Textboxes import is a mess with OLE objects inside or at least with that reverted i get an infinite loop instead ... which goes away after reverting this one: commit b538f6a0f4193531e1187874b4b35a4384d6fcd1 Author: Miklos Vajna <vmiklos@suse.cz> Date: Fri Feb 24 15:38:55 2012 +0100 fdo#45187 revert "writerfilter import, fixed the shapes import" Cadric and/or Miklos can look at the n# bugdocs -> please fix Created attachment 76119 [details]
Stripped down bugdoc.
Stripped down single-paragraph version of the bugdoc that still triggers the crash here.
OK, so the reason the bugdoc crashes is that it tries to anchor an ole object to a groupshape, but nothing can be anchored to drawinglayer objects in Writer. With the recent groupshape import improvements, this now causes a crash. I'll fix in a bit. Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=344e4a25eac6505678f4ce8a6c1c8cef83c68276 fdo#61343 fix DOCX import of OLE object after groupshape The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. 4-0 review: https://gerrit.libreoffice.org/2587 Note that I think -- compared to 3.5 -- the import now not only crashes, but the first page look a lot more like how Word displays it. :) Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=60773144ad33a10c32ce43fa9fca80c8b3fe8202&h=libreoffice-4-0 fdo#61343 fix DOCX import of OLE object after groupshape It will be available in LibreOffice 4.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Great!!! Verified on both master (Version 4.1.0.0.alpha0+ (Build ID: 783d3928b7d935e2a022f92318e00faa3efa6bc)) and Version 4.0.2.0+ (Build ID: 5043707fef2f6961487f37099bfa5ec0549685b) under Ubuntu 12.04 x86-64. Thank you very much, Miklos, for this quick fix. :-) Best regards. JBF |
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.