Bug 55141 - FILESAVE - CRASH on Saving MS Word DOC when CMD+S or CMD+Shift+s pressed
Summary: FILESAVE - CRASH on Saving MS Word DOC when CMD+S or CMD+Shift+s pressed
Status: RESOLVED DUPLICATE of bug 54648
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.1.2 release
Hardware: All All
: high critical
Assignee: Michael Stahl (allotropia)
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2012-09-20 12:08 UTC by Tamas Horvath
Modified: 2012-10-10 12:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
backtrace of crash upon saving - no debug symbols (7.48 KB, text/plain)
2012-10-05 11:16 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas Horvath 2012-09-20 12:08:24 UTC
Problem description: 
Up to date 10.6.8 OSX when Save or Save as shortcut pressed the application crashes. It seems it has only problems with MS Word for Mac is used (either docx or doc file from it)


Steps to reproduce:
1. .Open either docx or doc file which was last saved by the MS Word..
2. .Change..
3. ..Press CMD+s.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
Comment 1 Joel Madero 2012-10-03 17:58:50 UTC
Can you try backing up your user config and then delete it so that LibO can start from a fresh start. If that fixes it, please attach a zipped version of your backed up user config so that we can diagnose what's triggering it.
Comment 2 Alex Thurgood 2012-10-04 08:20:07 UTC
This might not be OSX related, there is a bug report about opening a certain type of docx file that causes LO to crash, even on the future 3.5.7, which is why a RC2 is/will be announced for that version.

Perhaps what the reporter here is noticing is a bug in the import filter with a particular type of DOCX/DOC file.

I can not reproduce on OSX 10.8.2 with general DOCX or XLSX files that I receive from my clients, even with the latest daily build from master.


Alex
Comment 3 Alex Thurgood 2012-10-04 08:22:36 UTC
@Tamas : a sample document that is causing the problem would help us in determining whether it is your own installation (e.g. configuration, or the file import filter) or something else that might be at fault.

Please provide us with one of the sample documents that causes the crash on your machine.


Alex
Comment 4 Alex Thurgood 2012-10-04 08:24:12 UTC
@Tamas : why is BASIC mentioned in the title of the report ? Are you doing something with macros in the macro editor ?

Without proper explanation, we won't be able to take this further.


Alex
Comment 5 Alex Thurgood 2012-10-04 08:35:45 UTC
So, I tried messing around in the Macro Editor with some basic macro instructions to be loaded within the document and pressing Cmd-S : save worked just fine, no crash.


We definitely need more info here.

Alex
Comment 6 Tamas Horvath 2012-10-04 19:32:13 UTC
Hello All,

thanks for getting on the topic here.

Sorry about the "BASIC" I don't know why I choosed that, it was misleading. There is no scripting involved.

I removed the old LibreOffice with AppZapper (deleted user configs) and installed 3.6.2 (LibO_3.6.2_MacOS_x86_install_en-US.dmg), and opened the problematic .docx file and I was able to save as. 

I quit, started LO again, opened the .doc file, tried to save as, got the windows if I want to save as .doc or .odf, clicked on Use MS Word crashed. Repeated, crashed again.

As the files are larger then allowed, please find all of them in a .zip here:
https://dl.dropbox.com/u/719787/LO_bugzilla_55141.zip

Let me know if you need any other information

Br, Tamas
Comment 7 Alex Thurgood 2012-10-05 10:43:43 UTC
Thanks Tamas, I will take a look and test on Linux 32bit to compare with OSX.


Alex
Comment 8 Alex Thurgood 2012-10-05 11:03:30 UTC
The documents provided save fine for me on Linux 32bit 3.5.4.2. Will test on home dev build too, then OSX.

TAMAS : You didn't need to provide the LO user configuration, just made the download a whole lot bigger ;-)
Comment 9 Alex Thurgood 2012-10-05 11:08:25 UTC
However, Ctrl-S on my 32bit Linux dev build: 

Version 3.7.0.0.alpha0+ (Build ID: e292cb0)

with the DOC file causes the app to crash. Will try and get a trace. This would therefore appear to not be specific to Mac OSX.

The DOCX file doesn't cause a crash on save.


Alex
Comment 10 Alex Thurgood 2012-10-05 11:16:25 UTC
Created attachment 68113 [details]
backtrace of crash upon saving - no debug symbols
Comment 11 Tamas Horvath 2012-10-05 19:20:51 UTC
Joel asked for the user config

If you need any trace output, let me know
Comment 12 Alex Thurgood 2012-10-06 05:32:36 UTC
Setting as regression since the doc file opens and saves ok in 3.5.4
Comment 13 Michael Stahl (allotropia) 2012-10-10 12:50:11 UTC
SwAnchoredObject::FindPageFrmOfAnchor called on null pointer
from lcl_isInHeader. another duplicate of the 
invisible drawing objects crash.

*** This bug has been marked as a duplicate of bug 54648 ***