Bug 54745 - FILESAVE: Save as Docx causes CRASH when there are multiple different headers
Summary: FILESAVE: Save as Docx causes CRASH when there are multiple different headers
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.1.2 release
Hardware: Other All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard: BSA NoRepro:4.3.0.0.alpha0+:OSX NoRep...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 19:02 UTC by elicoten
Modified: 2013-12-09 19:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Document that causes the crash (12.72 KB, application/vnd.oasis.opendocument.text)
2012-09-10 19:02 UTC, elicoten
Details
bt + console logs on master (14.73 KB, text/plain)
2012-09-22 09:52 UTC, Julien Nabet
Details
bt + console logs on 4.0 branch (11.21 KB, text/plain)
2013-01-22 20:54 UTC, Julien Nabet
Details
bt on master (10.91 KB, text/plain)
2013-02-18 22:21 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elicoten 2012-09-10 19:02:49 UTC
Created attachment 66937 [details]
Document that causes the crash

Problem description: 
A multi-page document which has more than one page style can cause a crash when saving as docx.

Steps to reproduce:
1. Open the attached ODT file.
2. Attempt to save as DOCX
3. CRASH!

            
Browser: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0.1
Comment 1 billhook 2012-09-12 01:19:42 UTC
Confirmed on LO 3.6.1.2 Vista 32bit

Note that there is another docx filesave crash bug report here:

https://bugs.freedesktop.org/show_bug.cgi?id=48569

It is not clear if this is the same bug or a different one.
Comment 2 Julien Nabet 2012-09-22 09:52:38 UTC
Created attachment 67543 [details]
bt + console logs on master

On pc Debian x86-64 with master sources updated today, I reproduced the bug.
I attached bt + console logs.
Comment 3 Julien Nabet 2012-09-22 09:54:16 UTC
Cedric: one for you?
Comment 4 Julien Nabet 2012-09-22 09:55:59 UTC
(In reply to comment #1)
> Confirmed on LO 3.6.1.2 Vista 32bit
> 
> Note that there is another docx filesave crash bug report here:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=48569
> 
> It is not clear if this is the same bug or a different one.
I don't think so, at least it's not the same bt
Comment 5 Julien Nabet 2013-01-22 20:54:06 UTC
Created attachment 73476 [details]
bt + console logs on 4.0 branch

On pc Debian x86-64 with 4.0 sources updated 2 days ago, I reproduced the crash (commit 75b9b28e62494346aa119dbab424cb3d843ae694). I attached console logs and bt

However with master sources updated today (commit 9d7544b7502f27b961115ef9ad373b5e570d0dd4), I don't reproduce the crash
Comment 6 Jorendc 2013-02-17 18:10:36 UTC
Reproducible using Version 4.1.0.0.alpha0+ (Build ID: c16e9f4ed97f65357e9986f46ad88ee9f223799).
Comment 7 Julien Nabet 2013-02-18 22:21:12 UTC
Created attachment 75075 [details]
bt on master

On pc Debian x86-64 with master sources updated today, I reproduced the crash.

Bt is different than previous one.
Comment 8 Julien Nabet 2013-02-18 22:22:50 UTC
Cédric/Michael: one for you?
Comment 9 retired 2013-12-08 11:56:38 UTC
WORKSFORME in 4.3alpha0+ and 4.1.3.2 on OS X 10.9.

Please re-open if this still happens for you with 4.1.3.2 or above. Thanks :)
Comment 10 elicoten 2013-12-09 19:08:11 UTC
Works for me in 4.1.2.3 on Ubuntu. Is it correct to mark it fixed now?
Comment 11 Julien Nabet 2013-12-09 19:13:51 UTC
elicoten: thank you for your feedback! Just nitpicking but since there's no specific fix that we can link to this bug, I just change to WFM.