Bug 34663 - DOCX Document Crashes Writer
Summary: DOCX Document Crashes Writer
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.1 release
Hardware: Other Linux (All)
: medium normal
Assignee: Noel Power
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 06:13 UTC by Dave Richards
Modified: 2013-11-14 23:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
offending document (94.19 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-02-24 06:13 UTC, Dave Richards
Details
Backtrace (365.76 KB, image/png)
2011-02-24 06:13 UTC, Dave Richards
Details
Sorry, real backtrace (9.93 KB, text/plain)
2011-02-24 06:15 UTC, Dave Richards
Details
patch to fix (1.37 KB, patch)
2011-02-24 11:07 UTC, Noel Power
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Richards 2011-02-24 06:13:04 UTC
This document received from an outside source crashes LibreOffice 3.3, 3.3.1, and OOo 3.3 and OOo milestone 100.

Attaching document and backtrace

Tested only on Linux.
Comment 1 Dave Richards 2011-02-24 06:13:30 UTC
Created attachment 43749 [details]
offending document
Comment 2 Dave Richards 2011-02-24 06:13:56 UTC
Created attachment 43750 [details]
Backtrace
Comment 3 Dave Richards 2011-02-24 06:15:04 UTC
Created attachment 43751 [details]
Sorry, real backtrace
Comment 4 Jorendc 2011-02-24 07:18:28 UTC
Reproducible with 'LibreOffice 3.3.1 final, Mac OSX 10.6.6, Dutch UI'. Think this is a 'all platform' bug.
Comment 5 Noel Power 2011-02-24 07:41:02 UTC
I'll take a look
Comment 6 Noel Power 2011-02-24 08:06:59 UTC
confirmed - boom!
There is a checkbox field command without an associated ffdata definition.

Dave, where did this document come from or more precisely what was used to create it ( or last modify it ) ?

Of course we can ( and will ) make the code robust in to cater for this scenario ( at least ms2010 just ignores that bogus checkbox field )
Comment 7 Dave Richards 2011-02-24 08:58:48 UTC
We got this file from an outside T-Mobile contact, I'm assuming they have Office 2007 or 2010.  I'm dubious about the prospect of asking them how it was generated, they won't have any idea what I'm asking. :)  I have no reason to believe it was generated via another software package.  This is a collaborative document.  Libre should replicate the functionality of the other suite as you mentioned.
Comment 8 Noel Power 2011-02-24 11:07:05 UTC
Created attachment 43769 [details]
patch to fix

here is a fix ( based off the 3.3.1 codeline ) I will fix it of course on the master too
Comment 9 Noel Power 2011-05-19 03:45:20 UTC
fixed some while ok, forgot to close
Comment 10 Björn Michaelsen 2011-12-22 05:54:26 UTC Comment hidden (noise)