Random crashes with Libre Office Writer (strace included)

Hi,

I've got one issue with LibreOffice 3.3.2 on Ubuntu 11.04 (LibreOffice 3.3.2 OOO330m19 (Build:202) tag libreoffice-3.3.2.2, Ubuntu package 1:3.3.2-1ubuntu5).

I'm trying to edit a docx file, but writer crashes randomly, so I really can't work with. It may be relative to the review function.

I've made a strace to help more advanced users than me to figure out what's the problem.

How to fix it? :slight_smile:

Regards,

Eric

I've got one issue with LibreOffice 3.3.2 on Ubuntu 11.04 (LibreOffice
3.3.2 OOO330m19 (Build:202) tag libreoffice-3.3.2.2, Ubuntu package
1:3.3.2-1ubuntu5).

I'm trying to edit a docx file, but writer crashes randomly, so I
really can't work with. It may be relative to the review function.

So that's the *only* file which causes a crash?

I've made a strace to help more advanced users than me to figure out
what's the problem.

You can open a bug and attach the strace there, and also the file if
Writer does not crash with other files (and if you can share the file
with the world).

See http://wiki.documentfoundation.org/BugReport

How to fix it? :slight_smile:

The way to fix it would be inspecting the strace to guess why does it
happen, and look at the code for obvious problems. Two hours later, you
probably start looking for not-so-obvious problems, and so on, until you
find the problem.

Eric

Hi,

I've got one issue with LibreOffice 3.3.2 on Ubuntu 11.04 (LibreOffice 3.3.2 OOO330m19 (Build:202) tag
libreoffice-3.3.2.2, Ubuntu package 1:3.3.2-1ubuntu5).

I'm trying to edit a docx file, but writer crashes randomly, so I really can't work with. It may be relative to the
review function.

I've made a strace to help more advanced users than me to figure out what's the problem.

How to fix it? :slight_smile:

Regards,

Eric

Does this document require any .docx features? If not, try opening and
saving as .doc or .odt. Close and open the just created file.

Hi Nuno,

No it's not the only file which causes a crash,
and as I can't see my attached strace, i've posted it here:
http://dl.free.fr/o9kL0sy6V
I hope it will help you, its reading is not obvious at all for me :slight_smile:

Hi Jay,

I unfortunately must keep this document as a docx file, because it's a
working document that I need to check and modify, before sending it back to
his owner (who obviously uses MS Word).

By the way, what's the command to open this document in command line, to see if I can catch some errors when it crashes?

Le 28/06/2011 23:53, Eric wrote:

Hi Eric,

By the way, what's the command to open this document in command line, to see if I can catch some errors when it crashes?

You start writer from the commandline with "swriter". If you want you can enter the filename after it, but it should not be necessary. Similar commands exist for all the other parts, like scalc, simpress and so on.

Did you open a bug report?
See http://wiki.documentfoundation.org/BugReport for more information how to do it and the link to bugzilla.

Btw, this list does not allow any attachments and removes those automatically. So posting your strace somewhere else was a good idea.

Oh, since you have this problem with an ubuntu-package, did you check with the ubuntu mailinglist, bugzilla etc?

Sigrid

Back again with an LO crash:
Opened LO for first time in three days;
Opened 3 .rtf files I had worked on in OO yesterday;
When I hit "Enter" to open a line-space in one of the files, LO crashed;
Even "Force Quit" could not close it, but it finally died after about 10 minutes jiggling.
Does anyone think I should try to use LO again, after this yet again repetitive near-disaster?
ernie kurtz

Hi Ernest,

Ernest Kurtz wrote (29-06-11 19:03)

Opened 3 .rtf files I had worked on in OO yesterday;
When I hit "Enter" to open a line-space in one of the files, LO crashed;
Even "Force Quit" could not close it, but it finally died after about 10 minutes jiggling.
Does anyone think I should try to use LO again, after this yet again repetitive near-disaster?

Yes, definitely.
The rtf-files I work with never crashed - up until now maybe :wink:

So please do us a favor and make (one of) the files available for testing (might be via private mail), or even better, create and rtf file with the part in it that causes a problem.

Thanks,
Cor

PS: http://wiki.documentfoundation.org/BugReport

Eric

Hi Jay,

I unfortunately must keep this document as a docx file, because it's a
working document that I need to check and modify, before sending it back to
his owner (who obviously uses MS Word).

--
View this message in context: http://nabble.documentfoundation.org/Random-crashes-with-Libre-Office-Writer-strace-included-tp3119368p3119634.html
Sent from the Users mailing list archive at Nabble.com.

A possible work around is to save the file in odt, then open and edit
it. Then save as docx or doc. Doc files are better understood and easier
to handle. Also, doc files can be opened by the current version of MS
Word. Unless the files contain Word 2007/2010 specific features, this
could work.

Hi :slight_smile:

Have you tried deleting the user-profile? Do you have both LO and OOo installed
at the same time? If so is the Quick Start on in either package? If you have
OOo open at the same time as LO then they can get a bit confused. There is a
guide to help you have both installed so that they don't clash. I have lost
track, are you using Windows or Ubuntu or which OS?
Regards from
Tom :slight_smile:

Le 30/06/2011 01:44, planas wrote:

Hi Jay,

I unfortunately must keep this document as a docx file, because it's a
working document that I need to check and modify, before sending it back to
his owner (who obviously uses MS Word).

--

A possible work around is to save the file in odt, then open and edit
it. Then save as docx or doc. Doc files are better understood and easier
to handle. Also, doc files can be opened by the current version of MS
Word. Unless the files contain Word 2007/2010 specific features, this
could work.

Hi, that's what i did, unfortunately it doesn't prevent lowriter from crashing.

Here are 2 another strace logs :

1- http://dl.free.fr/b6M830KIY (crash right from the beginning)
2- http://dl.free.fr/ai9UYfNXm (random crash while i was working on the document)

Is anyone here who can read them and understand what is the problem (which really prevents me from working with LibreOffice) ?

Regards,

Eric

They are segmentation faults. I'd recommend trying 3.4.1 and see if that
solves your problem:
http://www.libreoffice.org/download/
You can leave your existing Ubuntu LO in place.

Just download the .deb (including the help .deb). In nautilus, right
click on the .tz and select 'Extract here'. Then go to:
LibO_3.4.1rc3_Linux_x86_install-deb_en-US/DEBS in a terminal and:

$ sudo dpkg -i *.deb

Do the same for the help files:
LibO_3.4.1rc3_Linux_x86_helppack-deb_en-US/DEBS

After you've installed (again in the terminal):

$ cd /opt/libreoffice3.4/program
$ gksu gedit bootstraprc

Modify the following line:

UserInstallation=$SYSUSERCONFIG/.libreoffice/3
to
UserInstallation=$SYSUSERCONFIG/.libreoffice/3.4

Save the file & exit gedit. This will have LO 3.4 use the
~/.libreoffice/3.4 for your user profile and will not interfere with
your existing Ubuntu LO 3.3 at .libreoffice/3.

Again in the terminal:
$ /opt/libreoffice3.4/program/soffice

That will bring up 3.4.1 & you can try your .docx that crashes
immediately. Let us know how that goes. If if works, then you can create
an Applications|Office menu for 3.4.

...
*Correction:*
Modify the following line:

UserInstallation=$SYSUSERCONFIG/.libreoffice/3
to
UserInstallation=$SYSUSERCONFIG/.libreoffice3.4/3

Save the file & exit gedit. This will have LO 3.4 use the
~/.libreoffice3.4/3 for your user profile and will not interfere with
your existing Ubuntu LO 3.3 at .libreoffice/3.

The one that crashed in the beggining, it looks like it was loading some
UNO stuff, the other two (the second you linked now and the other you
linked in an earlier message) crash after trying to load autocorrection
data (that does not exist):

Hi :slight_smile:
Is it possible to find a bug-report about this issue and upload the straces to
there? That might help developers to see the strace. There are few devs on
the Users List.
Regards from
Tom :slight_smile:

Hi Nuno,Le 02/07/2011 12:13, Nuno J. Silva a écrit :On 2011-07-02, Eric wrote:Le 30/06/2011 01:44, planas wrote:A possible work around is to save the file in odt, then open and edit
it. Then save as docx or doc. Doc files are better understood and easier
to handle. Also, doc files can be opened by the current version of MS
Word. Unless the files contain Word 2007/2010 specific features, this
could work.Hi, that's what i did, unfortunately it doesn't prevent lowriter from crashing.

Here are 2 another strace logs :

1-http://dl.free.fr/b6M830KIY(crash right from the beginning)
2-http://dl.free.fr/ai9UYfNXm(random crash while i was working on the document)The one that crashed in the beggining, it looks like it was loading some
UNO stuff, the other two (the second you linked now and the other you
linked in an earlier message) crash after trying to load autocorrection
data (that does not exist):

...

If you can try getting a backtrace, it’ll probably be useful too.
The problem is that for a complete, human-readable backtrace you need
LibO debug packages.
See:http://wiki.documentfoundation.org/BugReport#How_to_get_backtrace_.28on_Linux.29I’m
ok to make a backtrace, but where can I find the
libreoffice*-debuginfo packages (I’m on Ubuntu 11.04)?Regards,Eric

$ sudo apt-get install libreoffice-dbg

You might also want to add the uno symbols as well:

$ sudo apt-get install ure-dbg
$ sudo apt-get install uno-libs3-dbg