Problem description: Download the file of Bug 61763, mentioned in the description (direct link = http://www.europass.si/files/userfiles/europass/dokumenti/Europass%20CV%20nov.doc )
Steps to reproduce:
1. Open that file in LibreOffice
2. File > Save As
3. Alter the name a bit and save file as .docx
Current behavior: Crash
I tried a backtrace, but it hanged when I did step 3. So I had to force quit LibreOffice. This is the only rule I can see in the log (see attachment):
Program received signal SIGSEGV, Segmentation fault.
0x00007fffd9ee0a44 in SwAnchoredObject::GetCurrRelPos (this=0x0) at /home/joren/core/sw/source/core/layout/anchoredobject.cxx:412
412 return maRelPos;
Tested using Linux Mint 14 x64 with LibreOffice 220.127.116.11 (Build ID: 84102822e3d61eb989ddd325abf1ac077904985) and LibreOffice Version 18.104.22.168.alpha0+ (Build ID: 9e991e1852fa764e78d88b5d3aab17e45ac9213)
Operating System: Linux (Other)
Version: 22.214.171.124 rc
Created attachment 75974 [details]
Thank you for reporting this issue! I have been able to confirm the issue on:
Platform: Bodhi Linux 2.2 x64
As I've been able to confirm this problem on an earlier release I am changing the version number as version is the earliest version that we can confirm the bug, we use comments to say that the bug exists in newer versions as well.
Major (crash, loss of data)
Cannot bibisect this one - just attempted to do so
Created attachment 76046 [details]
console + bt with master sources
On pc Debian x86-64 with master sources updated today (+brand new LO directory profile), I reproduced the crash.
I attached bt + console logs
Michael/Cédric: one for you?
As far as I could test, this is related to Section Break handling.
The original file has a Section Break at the bottom of page 1. This is imported into LibreOffice as Page Break. When Section Break is removed from the original file, LibreOffice does not crash.
Tested with MS Office 2007 SP3, LibreOffice 126.96.36.199 Release (Build ID: 5b93205), Windows 7 SP1 46bit
Steps to reproduce:
1. Open original document in MS Office
2. Delete section break
3. Save the document (as .doc)
4. Open the document in LibreOffice
5. File -> Save as
6. Save the document as .docx
LibreOffice will not crash.
However, the file is not converted properly (try closing it and reopen, or open in MS Office)
(In reply to comment #5)
> However, the file is not converted properly (try closing it and reopen, or open > in MS Office)
Filed a new bug, see 62126
For the record, I gave a new try with master sources updated yesterday, I don't reproduce the crash anymore
Julien, thank you for looking into this. I must admit that I didn't touch the file lately, so I can not confirm your findings either way. Glad to hear it is no longer crashing with recent master.
For the record, with 4.1 sources updated 2 days ago, I reproduce the crash with same bt.
I put 4.2.0 as future first LO version ok
(In reply to comment #9)
> For the record, with 4.1 sources updated 2 days ago, I reproduce the crash
> with same bt.
> I put 4.2.0 as future first LO version ok
Mmh, sadly still crashing over here. Therefore I remove target:4.2.0 in the whiteboard.
Tested using Windows 8 and LibreOffice Version: 188.8.131.52.alpha0+
Build ID: 3de7c7b5854335a82948560b3cc5b302171e340f
TinderBox: Windows-x86@47-TDF, Branch:master, Time: 2013-10-15_13:31:21
Created attachment 90904 [details]
Another (even simpler) example which crashes
odt-Original was converted successfully to doc-Format.
Writer crashed when trying to convert odt-Original to Office10-docx-Format.
MS word 2010 and writer can correctly read doc-Format.
(In reply to comment #11)
> Created attachment 90904 [details]
> Another (even simpler) example which crashes
> odt-Original was converted successfully to doc-Format.
> Writer crashed when trying to convert odt-Original to Office10-docx-Format.
> MS word 2010 and writer can correctly read doc-Format.
By the way:
I used LO Version: 184.108.40.206 on Windows 7 64-bit.
Both the original and the new example crashed.
Restricted my LibreOffice hacking area
Looks fixed to me, tested using Mac OSX 10.9 with LibreOffice Version: 220.127.116.11.alpha0+
Build ID: 5c8a3bfc7e42009a7eaa6353cf2f66a14bfdab76
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-02-10_10:33:47
Also tested using Linux Mint 16 x64. Lets just mark this one as RESOLVED WORKSFORME.