← Back to team overview

desktop-packages team mailing list archive

[Bug 745836] Re: encrypted swap corrupts application stack/heap [was: soffice.bin SIGSEGV cppu::throwException()]

 

Launchpad has imported 15 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=37850.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-06-02T11:08:20+00:00 Jfk-o wrote:

If I leave LibreOffice with a document open for a while (doc, calc, any
type), then resume typing in that document, it immediately crashes.

LibreOffice 3.3.2 
OOO330m19 (Build:202)
tag libreoffice-3.3.2.2, Ubuntu package 1:3.3.2-1ubuntu2~maverick1


uname -a
Linux will 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux

dmesg output:
[24354.244064] soffice.bin[4180] general protection ip:7fa9d70d9f0e sp:7fff592c1a80 error:0 in libuno_cppuhelpergcc3.so.3[7fa9d70ba000+9e000]

>From postings it seems this also affects 32 bit users and is not
specific to LO either. It was happening to me on OOO before I migrated.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/8

------------------------------------------------------------------------
On 2011-06-02T14:18:40+00:00 Tlillqvist-k wrote:

Ubuntu specific, for Björn?

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/9

------------------------------------------------------------------------
On 2011-06-02T15:05:45+00:00 Jfk-o wrote:

Just to clarify: by IDLE I mean not using LO application - I go off and
do other tasks on other apps. Then when I come back and resume typing
into LO it crashes. Other apps all remain stable.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/10

------------------------------------------------------------------------
On 2011-06-26T16:39:40+00:00 Cdr-devinov wrote:

Created attachment 48444
gdb backtrace and all thread backtrace

remember the bug : work sometime on OOo, then do something else, come
back after a while on OOo -> crash (sometime). or do CTRL+s after having
spent sometime on other stuff -> crash(sometime).

>From my past experience, this kind of bug started first with the version 3 of openoffice. a try with IBM lotus symphony was resulting in the same crash!!!
finally I though libreoffice was not affected... but that is not the case.

I use ubuntu 10.10 (32b) when the problem started with compiz. (disabling opengl for OOO doesn't affect the bug).
I now have on ubuntu 10.10 libreoffice 3.1 and it seems not to be affected by this bug (I was not able to reproduce it).
I also recently got Ubuntu 10.04.... libreoffice 3.3 crash... 3.4 also!!!
The backtrace seems explicit... the trouble come from uno, ure. Except that is a .net like stuff, I have no more idea how it works, and what part it play in Libreoffice, OOo or lotus symphony.

However it seems related to file io with an exception badly uncatched
prducing a SIGSEGV.

My guess is that this bug should be redirected to uno framwork. Also
ubuntu distro might also play a role in it.

If you need testing for this bug, I have a document (but professional,
not to share) that seems to trigger the bug almost garanted within an
hour.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/12

------------------------------------------------------------------------
On 2011-06-26T20:25:49+00:00 Cdr-devinov wrote:

(In reply to comment #3)
> Created an attachment (id=48444) [details]
> gdb backtrace and all thread backtrace
> 
> remember the bug : work sometime on OOo, then do something else, come back
> after a while on OOo -> crash (sometime). or do CTRL+s after having spent
> sometime on other stuff -> crash(sometime).
> 
> From my past experience, this kind of bug started first with the version 3 of
> openoffice. a try with IBM lotus symphony was resulting in the same crash!!!
> finally I though libreoffice was not affected... but that is not the case.
> 
> I use ubuntu 10.10 (32b) when the problem started with compiz. (disabling
> opengl for OOO doesn't affect the bug).
> I now have on ubuntu 10.10 libreoffice 3.1 and it seems not to be affected by
> this bug (I was not able to reproduce it).
> I also recently got Ubuntu 10.04.... libreoffice 3.3 crash... 3.4 also!!!

OOOps, mistake in ubuntu version
read Ubuntu 10.04 as 11.04, sorry...

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/13

------------------------------------------------------------------------
On 2011-07-28T15:07:23+00:00 Jfk-o wrote:

gdb backtrace and valgrind from 10.10 (Mint) 64 bit.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/21

------------------------------------------------------------------------
On 2011-07-28T15:10:27+00:00 Jfk-o wrote:

Created attachment 49669
gdb backtrace taken from 10.10 (mint), 64bit

2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU
/Linuxlibreoffice-core                      1:3.3.2-1ubuntu2~maverick1

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/22

------------------------------------------------------------------------
On 2011-07-28T15:11:07+00:00 Jfk-o wrote:

Created attachment 49670
valgrind taken from 10.10 (mint), 64bit

2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU
/Linuxlibreoffice-core                      1:3.3.2-1ubuntu2~maverick1

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/23

------------------------------------------------------------------------
On 2011-07-31T21:56:52+00:00 Yaron Sheffer wrote:

I am seeing the exact same behavior for many months, also since OOo. I
have previously submitted two gdb traces which might be useful to people
debugging this issue - below.

I am seeing this issue both in Writer and Impress very often, and it
makes working with these applications extremely unpredictable and
unpleasant. Maybe 50% of the times I start the application, I need to go
through document recovery first.

https://bugs.freedesktop.org/show_bug.cgi?id=35424

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/24

------------------------------------------------------------------------
On 2011-09-23T18:16:43+00:00 Björn Michaelsen wrote:

not really an libreoffice bug, but an issue with encrypted home/swap.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/80

------------------------------------------------------------------------
On 2011-09-23T18:17:35+00:00 Björn Michaelsen wrote:

*** Bug 35424 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/81

------------------------------------------------------------------------
On 2011-09-23T18:19:16+00:00 Björn Michaelsen wrote:

(see https://launchpad.net/bugs/745836 for details)

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/82

------------------------------------------------------------------------
On 2011-09-23T18:20:32+00:00 Björn Michaelsen wrote:

*** Bug 33025 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/83

------------------------------------------------------------------------
On 2011-09-23T18:41:39+00:00 Björn Michaelsen wrote:

*** Bug 40766 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/84

------------------------------------------------------------------------
On 2011-12-24T12:27:26+00:00 Björn Michaelsen wrote:

closing

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/745836/comments/110


** Bug watch added: freedesktop.org Bugzilla #35424
   https://bugs.freedesktop.org/show_bug.cgi?id=35424

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/745836

Title:
  encrypted swap corrupts application stack/heap [was: soffice.bin
  SIGSEGV cppu::throwException()]

Status in LibreOffice Productivity Suite:
  Won't Fix
Status in “ecryptfs-utils” package in Ubuntu:
  Invalid
Status in “libreoffice” package in Ubuntu:
  Invalid
Status in “linux” package in Ubuntu:
  Fix Released
Status in “openoffice.org” package in Ubuntu:
  Won't Fix
Status in “ecryptfs-utils” source package in Maverick:
  Invalid
Status in “libreoffice” source package in Maverick:
  Invalid
Status in “linux” source package in Maverick:
  Confirmed
Status in “openoffice.org” source package in Maverick:
  Won't Fix
Status in “ecryptfs-utils” source package in Natty:
  Invalid
Status in “libreoffice” source package in Natty:
  Invalid
Status in “linux” source package in Natty:
  Fix Released
Status in “openoffice.org” source package in Natty:
  Won't Fix
Status in “ecryptfs-utils” source package in Oneiric:
  Invalid
Status in “libreoffice” source package in Oneiric:
  Invalid
Status in “linux” source package in Oneiric:
  Fix Released
Status in “openoffice.org” source package in Oneiric:
  Won't Fix

Bug description:
  Binary package hint: libreoffice

  1) lsb_release -rd
  Description:	Ubuntu 11.04
  Release:	11.04

  2) apt-cache policy libreoffice-calc
  libreoffice-calc:
    Installed: 1:3.3.3-1ubuntu2
    Candidate: 1:3.3.3-1ubuntu2
    Version table:
   *** 1:3.3.3-1ubuntu2 0
          100 /var/lib/dpkg/status
       1:3.3.2-1ubuntu5 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
       1:3.3.2-1ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

  apt-cache policy libreoffice-writer
  libreoffice-writer:
    Installed: 1:3.3.3-1ubuntu2
    Candidate: 1:3.3.3-1ubuntu2
    Version table:
   *** 1:3.3.3-1ubuntu2 0
          100 /var/lib/dpkg/status
       1:3.3.2-1ubuntu5 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
       1:3.3.2-1ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

  3) What is expected to happen in a KDE Natty in a KDE session with the
  KDE integration active or GNOME is a Writer or Calc file untouched for
  a long period of time (ex. 1 hour+) is when one tries to edit it, the
  application does not crash.

  4) What happens instead is it crashes. This is highly correlated to
  both EcryptfsInUse and resource constrained (Memory & CPU >> 50%)
  environments. Occurs with:

  + Intel drivers, Compiz not enabled, Writer open only bug 745836
  + binary ATI drivers, Compiz enabled, Calc open only bug 799047

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: libreoffice-core 1:3.3.2-1ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
  Uname: Linux 2.6.38-7-generic i686
  Architecture: i386
  Date: Wed Mar 30 12:34:39 2011
  Disassembly: => 0x100000:	Cannot access memory at address 0x100000
  EcryptfsInUse: Yes
  ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
  ProcCmdline: /usr/lib/libreoffice/program/soffice.bin -writer -splash-pipe=5
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x100000:	Cannot access memory at address 0x100000
   PC (0x00100000) not located in a known VMA region (needed executable region)!
  SegvReason: executing unknown VMA
  Signal: 11SourcePackage: libreoffice
  StacktraceTop:
   ?? ()
   cppu::throwException(com::sun::star::uno::Any const&) () from /usr/lib/libreoffice/program/../basis-link/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
   ucbhelper::cancelCommandExecution(com::sun::star::ucb::IOErrorCode, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandProcessor> const&) () from /usr/lib/libreoffice/program/../basis-link/program/libucbhelper4gcc3.so
   ?? () from /usr/lib/libreoffice/program/../basis-link/program/libucpfile1.so
   ?? () from /usr/lib/libreoffice/program/../basis-link/program/libucpfile1.so
  Title: soffice.bin crashed with SIGSEGV in cppu::throwException()UpgradeStatus: Upgraded to natty on 2011-03-29 (0 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/745836/+subscriptions