Bug 80198 - Insert SVG file breaks the program
Summary: Insert SVG file breaks the program
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: Other Windows (All)
: highest blocker
Assignee: Not Assigned
URL:
Whiteboard: target:4.4.0 4.3.4 bisected noRepro:4...
Keywords: regression
Depends on:
Blocks: mab4.3
  Show dependency treegraph
 
Reported: 2014-06-18 16:34 UTC by ape
Modified: 2014-11-15 14:44 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
LibreOffice Draw SVG Crash (127.01 KB, application/vnd.oasis.opendocument.graphics)
2014-09-15 14:50 UTC, M. Hesselink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ape 2014-06-18 16:34:09 UTC
OS: Windows XP 32&64 bit editions
LibreOffice: 4.3.0.beta2; 4.3.0.1(rc1)
1. Run Writer or Draw or Impress.
2. Insert the SVG file (attachment 100729 [details]) as an image.
3. These programs don’t create a bitmap of the SVG file. Then LibreOffice crashed.
Comment 1 Adolfo Jayme Barrientos 2014-06-19 03:21:09 UTC
To verify this issue, I tried to reproduce it under Linux, using the referred attachment in a Writer document inserted via Insert > Image > From File.

I couldn’t make the program to crash, but it certainly went unresponsive for several seconds.
Comment 2 Yakov 2014-06-19 05:44:01 UTC
I confirm it for LibreOffice: 4.3.0.beta2; 4.3.0.1 on Windows7.
Comment 3 ape 2014-06-19 06:46:37 UTC
(In reply to comment #1)
> To verify this issue, I tried to reproduce it under Linux, using the
> referred attachment in a Writer document inserted via Insert > Image > From
> File.
> 
> I couldn’t make the program to crash, but it certainly went unresponsive for
> several seconds.

1. Read this message (bug 79834 comment 3), please.
2. Try saving the file.
 The program crashed on my PC (Lubuntu-13.10_x32) when I tried to save this file. However, the file was created.
Comment 4 ape 2014-07-05 10:42:59 UTC
I confirm this bug for LibreOffice 4.3.0.2(rc2). OS - Windows XP 64&32 bit Edition.
Comment 5 ape 2014-07-25 06:36:43 UTC
I confirm this bug for LibreOffice 4.3.0.3(rc3). OS - Windows XP 64&32 bit Edition.
LibO's message: 'LibreOffice 4.3 - Fatal Error; SEH Exception: ACCESS'.
Comment 6 Regina Henschel 2014-08-03 12:25:06 UTC
Apache OpenOffice does not crash, but in debug mode I get the error message:

Error: Null-Pointer in child node list (!) From File c:/AOO_debugbuild_420/trunk/main/svgio/source/svgreader/svgnode.cxx at Line 568
which is likely line 497 in LibreOffice
Comment 7 ape 2014-08-03 22:21:03 UTC
(In reply to comment #6)
> Apache OpenOffice does not crash, but in debug mode I get the error message:
> 
> Error: Null-Pointer in child node list (!) From File
> c:/AOO_debugbuild_420/trunk/main/svgio/source/svgreader/svgnode.cxx at Line
> 568
> which is likely line 497 in LibreOffice

--
Regina,
1. Please read the bug 79834;
2. It seems to me that there is every reason to consider with SVG at once and at first:
- Stop using the patch of the Apache Open Office inscribed Michael Meeks in release 4.0.x.
- Return the bitmap’s build used in LibO-3.6.6.
- Replacement of SVG to PNG only when the ODF file is saved in ISO (i.e. in versions 1.0/1.1).
--
p.s. I may remind You more of the fake SVM.
Comment 8 Björn Michaelsen 2014-08-21 12:17:17 UTC
(This is an automated message.)

Setting priority to highest as this is a MAB. This is part of an effort to make the importance of MAB reflected in priority too.
Comment 9 Belleson 2014-09-13 20:30:08 UTC
I can also confirm this in release version 4.3.0.4. I have a data sheet with 10 complex SVG files. The file opens but when I get to the page with the graphics, the screen will not render the SVGs and Libre crashes.

I've reverted to Version: 4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a and it loads fine.

Portable version is the install.
Comment 10 M. Hesselink 2014-09-15 14:50:58 UTC
Created attachment 106323 [details]
LibreOffice Draw SVG Crash
Comment 11 M. Hesselink 2014-09-15 14:52:09 UTC
Bug confirmed (still exists) for LibreOffice Draw version 4.3.1.2.

Opening an existing LibreOffice Draw document and applying operations to svg cliparts in the drawing (like moving) also crashes the program.

Provided sample testcase document.
Comment 13 ape 2014-11-15 14:44:54 UTC
(In reply to V Stuart Foote from comment #12)
> please verify
--
OK in LibO Dev_4.3.5.0.0+ (ID: 9a612f1d08eea858111ad5e161dc548c5173250a, TinderBox: Win-x86@51-TDF, Branch:libreoffice-4-3, Time: 2014-11-12_10:22:18); OS - Windows XP 64&32-bit Edition