Created attachment 79360 [details] Crash report Crashes every time file is saved as .xlsx Crashes after more than one cell has been modified/pasted when saved as .xls Will not crash .xls save if saved as .ods prior to saving as .xls Problem occurs in current version and previous version. Problem started when sheet is added with cells linked to another sheet. Once sheet is added, it cannot be deleted. Process: soffice [299] Path: /Applications/LibreOffice.app/Contents/MacOS/soffice Identifier: org.libreoffice.script Version: 4.0.3.3 (???) Code Type: X86 (Native) Parent Process: launchd [158] User ID: 501 Date/Time: 2013-05-15 13:37:25.324 -0500 OS Version: Mac OS X 10.8.3 (12D78) Report Version: 10 Interval Since Last Report: 52 sec Crashes Since Last Report: 2 Per-App Crashes Since Last Report: 2 Anonymous UUID: 7F071085-75B0-DE86-C9B4-9E3819308374
Jan: could it be fixed by http://cgit.freedesktop.org/libreoffice/core/commit/?id=9da54417345c6069d995bdabae7d7dd6de40d1a6 on master sources? John: could you attach the file so we can try to reproduce the problem?
Created attachment 79666 [details] attachment-22657-0.html From: bugzilla-daemon@freedesktop.org To: johnebli1000@hotmail.com Subject: [Bug 64646] filesave crash on .xls .xlsx save with cells linked between sheets Date: Fri, 17 May 2013 21:32:08 +0000 Julien Nabet changed bug 64646 What Removed Added Status UNCONFIRMED NEEDINFO CC kendy@suse.cz, serval2412@yahoo.fr Ever confirmed 1 Comment # 1 on bug 64646 from Julien Nabet Jan: could it be fixed by http://cgit.freedesktop.org/libreoffice/core/commit/?id=9da54417345c6069d995bdabae7d7dd6de40d1a6 on master sources? John: could you attach the file so we can try to reproduce the problem? You are receiving this mail because: You reported the bug.
Created attachment 79667 [details] attachment-22657-1.dat
Created attachment 79668 [details] Workout2013.xls
Created attachment 79909 [details] console + bt with symbols on master sources On pc Debian x86-64 with master sources updated today, I reproduced the crash. I attached console logs and bt.
John: thank you for the attachment. I put this tracker to NEW. Next time, please don't answer from your emailer but by using this link for attachment+comment: https://bugs.freedesktop.org/attachment.cgi?bugid=64646&action=enter and this link for just comment: https://bugs.freedesktop.org/show_bug.cgi?id=64646# Markus: the bt shows a problem with number formatting. This patch helps (at least I don't have the same bt): diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 34ae049..af41467 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3306,8 +3306,10 @@ sal_uInt32 ScDocument::GetNumberFormat( const ScRange& rRange ) const sal_uInt32 ScDocument::GetNumberFormat( const ScAddress& rPos ) const { SCTAB nTab = rPos.Tab(); - if ( maTabs[nTab] ) + if ( nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] ) + { return maTabs[nTab]->GetNumberFormat( rPos ); + } return 0; } But then I have another crash. I can provide the new bt if needed but I wonder if it's useful since I know you work on this part. What do you suggest?
> But then I have another crash. I can provide the new bt if needed but I > wonder if it's useful since I know you work on this part. > What do you suggest? This is a bit nasty. The change tracking contains references to a deleted sheet but does not contain change track information about deleting the sheet. Your patch might be necessary but right now it is too simple until we understand why there is a reference to a sheet that does not appear anywhere in the change tracking information. Currently I suspect that it might in fact be an import issue that results in a more or less corrupt change tracking state but without more inspection I can't confirm that.
.xls saves also crash occasionally after a sheet has been edited and successfully saved as an .ods If the .ods is recovered/reloaded, the next save as .xls will work.
Problem still exists with Version 4.0.4.2 If I edit the document, save it as .ods, then save as .xls without reopening the .ods version, it will crash. If I save the document as and .ods then reopen the .ods file and save it as .xls, it works every time.
v4.1.1.2 still crashes every time a document is saved as .xlsx
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.