Bug 51803

Summary: Saving .ods in libreoffice to new .ods causes crash
Product: LibreOffice Reporter: netflow
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium CC: bfo.bugmail
Version: 3.4.6 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: log file mentioned above

Description netflow 2012-07-06 14:39:39 UTC
Created attachment 63912 [details]
log file mentioned above

I had a suspicion that the .ods in question was corrupt as there were some key functions like merge and center that just wouldn't work regardless.  So I tried to save it as a new ods(ie: filenameA.ods instead of filename.ods) and it crashes libre completely without saving the new document.

Here's the error message I received from cli


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3edea86a30, pid=17614, tid=139908481664800
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8.13
# Distribution: Debian GNU/Linux 6.0.4 (squeeze), package 6b18-1.8.13-0+squeeze1
# Problematic frame:
# C  [libsclx.so+0x498a30]
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid17614.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

[error occurred during error reporting , id 0xb]

It should be noted that I am able to save the potentially corrupt file as an .xls and then save that file as an .ods without issue.  However even after saving the file to .xls and then to a new ods I can't merge and center cells :(

I've attached the log file as well and I have filed this bug over at the java bugzilla (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1066) just incase it was more a java issue than a libreoffice issue.. however considering that saving to .xls causes no crash I was tempted to think it was more to do with LO than java.
Comment 1 Markus Mohrhard 2012-07-06 14:44:19 UTC
Calc export should not use any java.
Comment 2 bfoman 2012-07-09 09:04:43 UTC
Could you attach any example documents to allow others to check on different
system/build?
Comment 3 netflow 2012-07-09 15:11:52 UTC
Not with this doc no, it contains confidential company information unfortunately
Comment 4 Markus Mohrhard 2012-07-10 01:29:23 UTC
Without a test document we can't do anything here.
Comment 5 bfoman 2012-10-11 20:56:47 UTC
Do not hesitate to reopen if this bug is reproducible with the latest stable release and example document can be attached.

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.