Bug 37712 - Crash: LibreOffice AND Ubuntu X-Windows crash opening .odt-file
Summary: Crash: LibreOffice AND Ubuntu X-Windows crash opening .odt-file
Status: CLOSED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.0 release
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Björn Michaelsen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-29 05:54 UTC by gleppert
Modified: 2011-12-24 04:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
gdb.log to crash (1.89 KB, text/x-log)
2011-05-29 05:55 UTC, gleppert
Details
strace log of crash (first part) (921.60 KB, application/octet-stream)
2011-05-29 06:03 UTC, gleppert
Details
strace log of crash (second part of 7z-file) (921.60 KB, application/octet-stream)
2011-05-29 06:04 UTC, gleppert
Details
strace log of crash (third and last part of 7z-file) (198.79 KB, application/octet-stream)
2011-05-29 06:05 UTC, gleppert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gleppert 2011-05-29 05:54:57 UTC
I tried to open an odt-file. LibreWriter displays the file for a few seconds, but then crashes and also crashes XWindows in Ubuntu. The system comes back to the login screen.

Unfortunately, I cannot attach the file to this bug report. However, I can send the file via email on request.

Reproducible: 
Always

The ddb.log is attached to this bug entry.

System: Ubuntu 10.10, gnome2, LibreOffice 3.4rc1, English UI, Intel 32-bit
Comment 1 gleppert 2011-05-29 05:55:46 UTC
Created attachment 47269 [details]
gdb.log to crash
Comment 2 gleppert 2011-05-29 06:03:46 UTC
Created attachment 47270 [details]
strace log of crash (first part)
Comment 3 gleppert 2011-05-29 06:04:28 UTC
Created attachment 47271 [details]
strace log of crash (second part of 7z-file)
Comment 4 gleppert 2011-05-29 06:05:04 UTC
Created attachment 47272 [details]
strace log of crash (third and last part of 7z-file)
Comment 5 gleppert 2011-05-29 14:22:50 UTC
Additional information: The file makes use of Graphite fonts and citations from the bibliographic program Zotero.

This crash occurs with LO 3.3.2, LO 3.4rc2, OOo 3.3, OOo 3.4beta

As this issue is also there in OpenOffice.org, I also filed a bug entry there: https://openoffice.org/bugzilla/show_bug.cgi?id=118100
Comment 6 Luboš Luňák 2011-05-30 02:53:42 UTC
X crashing is an X bug, even if triggered by an application -> please report to Ubuntu or X developers.
Comment 7 gleppert 2011-05-30 03:24:14 UTC
Hi, I need some help in filing this bug, if the LibreOffice bugtracker is not the right place:

I am not allowed to file this bug somewhere else for two reasons: First, the Ubuntu Bugtracker does not allow for bugs resulting from third party programs or PPA. Second, the LibreOffice PPA (https://launchpad.net/~libreoffice) does not allow for filing bugs.

Where else should I file this bug? This bug/crash is important to me, because I need to work on this file.

I encounter this bug with:
LO 3.3.2 from the LibreOffice PPA
LO 3.4rc2 from the LibreOffice website
OOo 3.3. from OpenOffice.org website
OOo 3.4Beta from OpenOffice.org website

Thank you very much for your help!
Comment 8 Don't use this account, use tml@iki.fi 2011-05-30 03:27:05 UTC
Björn, please help?
Comment 9 Björn Michaelsen 2011-05-30 03:46:36 UTC
The Xorg bug needs to be filed at launchpad:

 https://launchpad.net/ubuntu/+source/xorg

However, LibreOffice itself crashing is very much our own bug, regardless of what happens afterwards with X.

@gleppert: Does LibreOffice really crash before X or does it crash after X is gone? The last one is irrelevant in real life.

One way to find out is to open the file headless:

 soffice.bin -headless foo.odt

or
 export SAL_USE_VCLPLUGIN="svp"
 soffice.bin foo.odt
 

If that crashes, it is indeed our bug and needs to be reopened, please attach the offending file in that case.
Comment 10 Luboš Luňák 2011-05-30 04:15:41 UTC
LibreOffice does not crash according to the gdb log, it merely goes away when the X connection crashes. Even if LibreOffice is triggering this problem, it still needs investigation on the X side first.
Comment 11 gleppert 2011-05-30 04:43:04 UTC
I performed the steps, Björn proposed. Here are the results:

* soffice.bin -headless myfile 
This command runs for about 10 seconds and then it ends without any output. A new cursor in the terminal appears.

* export SAL_USE_VCLPLUGIN="svp"
 soffice.bin myfile
This command runs forever. No output. It does not come to an end.

I filed a new bug in the xorg Ubuntu bugtracker:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/790171
Comment 12 gleppert 2011-05-30 04:45:09 UTC
I performed the steps, Björn proposed. Here are the results:

* soffice.bin -headless myfile 
This command runs for about 10 seconds and then it ends without any output. A new cursor in the terminal appears.

* export SAL_USE_VCLPLUGIN="svp"
 soffice.bin myfile
This command runs forever. No output. It does not come to an end.

I filed a new bug in the xorg Ubuntu bugtracker:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/790171
Comment 13 Björn Michaelsen 2011-05-30 05:14:43 UTC
@gleppert: That means that there is no crash in LO.

Also I tried to reproduce the crash with the confidential document on 3.3.2-1ubuntu5 on natty (and on the 3.3.2-1ubuntu6~ppa1 prerelease) -> no crash.

Most likely depending on X11 and the used drivers. Please continue investigation at:

 https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/790171

As a workaround, you might try to run LibreOffice in a local VNC session. That might or might not help.
Comment 14 Rainer Bielefeld Retired 2011-06-10 02:57:50 UTC
RC2 is bit by bit identical with release version, so separate items in the version picker are useless. Changes have been discussed with Michael Meeks.
Comment 15 Björn Michaelsen 2011-12-24 04:27:33 UTC
closing