Bug 60027

Summary: Writer crashes when saving and opening documents
Product: LibreOffice Reporter: bahuffma
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID    
Severity: major CC: l.lunak, michael.meeks, nadimkhoury, serval2412
Priority: high    
Version: 3.6.5.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: simple odt file that crashes writer

Description bahuffma 2013-01-29 15:14:17 UTC
Writer crashes when saving any document, no matter what text is present. It also crashes when opening any document.
Comment 1 bahuffma 2013-01-29 15:21:33 UTC
Correction: it is not crashing on opening all document. Just any documents that I create in odf format. It opens doc files created elsewhere just fine.

I ran a sudo apt-get install libreoffice. It is still saying its the same version but doing similar things.

It crashes when saving to odt format but will pop up with a window saying that I don't have appropriate permissions even though I have verified that permissions in the folder I am saving are ok.
Comment 2 bahuffma 2013-01-29 16:41:32 UTC
Does this crash relate to this (http://ask.libreoffice.org/en/question/952/writer-35-keeps-crashing/) problem?
Comment 3 bahuffma 2013-01-29 19:51:22 UTC
Calc also crashes when trying to save an excel sheet.
Comment 4 Julien Nabet 2013-01-29 20:54:27 UTC
What's your Linux distribution and version?
Did you install any specific extensions?
Did you install any specific fonts?
What's your Java version?

Could you attach an original file you retrieved which crashes (so we can try to reproduce the problem)?
Comment 5 bahuffma 2013-01-29 22:38:19 UTC
Created attachment 73883 [details]
simple odt file that crashes writer

Open Writer and try to open this file. It will crash.
Comment 6 bahuffma 2013-01-29 22:51:03 UTC
Added file that crashes Writer.

I am running Kubuntu 12.10, 64-bit. No specific extensions or fonts are installed. 

Java is 1.7.0_19, 64-bit.
Comment 7 Julien Nabet 2013-01-30 04:29:02 UTC
Michael: Could you remind me the status of Java 64 with LO? I think it's still not possible since there's no LO 64 for the moment.
Comment 8 Julien Nabet 2013-01-30 21:42:13 UTC
bahuffma:
1) for the test, could you remove Java 64 bits and install Java 32 instead and give a new try (after having renamed your LO directory profile
2) could you give a try to 3.6.4 by adding Libreoffice ppa in your apt repositories?
Comment 9 Phoebus 2013-01-31 09:22:38 UTC
Same problem here with writer AND calc (haven't tried other programs)
I tried upgrading to latest ppa, nothing changed.
I also tried moving user config dir (.config/libreoffice), no solution.

I _need_ java for other apps so I can't remove it. 

Few days ago it worked OK, after regular kubuntu upgrade it started crashing. It is impossible to save anything!

may@MayPad:~$ dpkg -l | grep libreoffice

may@MayPad:~$ dpkg -l | grep libreoffice
ii  libreoffice-base-core                 1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- shared library
ii  libreoffice-calc                      1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- spreadsheet
ii  libreoffice-common                    1:3.6.4-0ubuntu1~quantal1                 all          office productivity suite -- arch-independent files
ii  libreoffice-core                      1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- arch-dependent files
ii  libreoffice-draw                      1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- drawing
ii  libreoffice-emailmerge                1:3.6.4-0ubuntu1~quantal1                 all          office productivity suite -- email mail merge
ii  libreoffice-help-en-us                1:3.6.2~rc2-0ubuntu4                      all          office productivity suite -- English_american help
ii  libreoffice-impress                   1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- presentation
ii  libreoffice-kde                       1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- KDE integration
ii  libreoffice-math                      1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- equation editor
ii  libreoffice-pdfimport                 1.0.6+LibO3.6.4-0ubuntu1~quantal1         amd64        LibreOffice extension for importing PDF documents
ii  libreoffice-style-oxygen              1:3.6.4-0ubuntu1~quantal1                 all          office productivity suite -- Oxygen symbol style
ii  libreoffice-writer                    1:3.6.2~rc2-0ubuntu4                      amd64        office productivity suite -- word processor



may@MayPad:~$ dpkg -l | grep java

ii  oracle-java7-installer                7u11-0~webupd8~3                          all          Oracle Java(TM) Development Kit (JDK) 7

may@MayPad:~$ java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)


may@MayPad:~$ uname -a
Linux MayPad 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:47:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Need anything else? :-)
Comment 10 Michael Meeks 2013-01-31 10:22:14 UTC
So - first lets isolate KDE. If you do:

pkill -9 -f soffice.bin
SAL_USE_VCLPLUGIN=gen soffice -writer

can you reproduce the crash [ the UI should look ultra-ugly ;-] ? if so - it's a KDE theming / backend bug; if not it's more general - stick with that option.

Java shouldn't be relevant to a plain document load - we shouldn't touch it during that flow (I hope).

Then - we'd need a stack-trace; can you do:

cd /usr/lib/libreoffice/program # or equivalent - check the package file list
gdb --args ./soffice.bin /path/to/your/odf
run
thread apply all backtrace

and attach the result here.

Thanks ! :-)
Comment 11 Phoebus 2013-01-31 11:42:15 UTC
It seems it's kde's fault- it saves normally using your commands.

Thanks.... I guess I should remove libreoffice-kde for now, right?
Comment 12 bahuffma 2013-01-31 14:57:23 UTC
I will get you the stack trace this afternoon. It is not crashing anymore, but I still cannot save. I get a window which pops up and says:

"Error saving the document <doc name>:
 Object not accesible.
 The object cannot be accessed
 due to insufficient user rights."

I need the 64 bit java on here. I tried pulling the 32 bit binaries and just having them on my machine and adding them via Tools->Options->LibreOffice->Java->Add but it was not recognizing that it was there for some reason.

I also have Gnome and XFCE on my machine. I will load into each this afternoon and see if this is a KDE-specific thing or not.
Comment 13 Saba 2013-01-31 20:29:45 UTC
I had this problem with Libreoffice 3.5.4. I upgraded to Version 3.6.5.2 (Build ID: 5b93205) and made sure all the latest security updates are installed. It works fine now.
Comment 14 Michael Meeks 2013-02-01 03:34:47 UTC
Suggestion that this is KDE specific; Saba the bug is filed against the version you claim works so ... ;-) not sure what's up there. Any thoughts / dups Lubos ?
Comment 15 QA Administrators 2013-09-24 01:59:17 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 16 QA Administrators 2013-10-25 15:17:08 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided):

a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. 
Please do not:
a) respond via email 
b) update the version field in the bug or any of the other details on the top section of FDO