soffice.bin crashed with SIGSEGV in framework::LockHelper::acquireReadAccess()

Bug #857638 reported by Björn Michaelsen
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Invalid
High
libreoffice (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Open then close sample document from:
https://bugs.freedesktop.org/attachment.cgi?id=50610

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: libreoffice-core 1:3.4.3-1ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Fri Sep 23 20:30:34 2011
ExecutablePath: /usr/lib/libreoffice/program/soffice.bin
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: /usr/lib/libreoffice/program/soffice.bin --writer /tmp/test.odt --splash-pipe=7
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7ff3f84eb4dc <_ZN9framework10LockHelper17acquireReadAccessEv+60>: mov (%rdi),%rax
 PC (0x7ff3f84eb4dc) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: libreoffice
StacktraceTop:
 framework::LockHelper::acquireReadAccess() () from /usr/lib/libreoffice/program/../basis-link/program/libfwilx.so
 ?? () from /usr/lib/libreoffice/program/../basis-link/program/libfwklx.so
 VclEventListeners::Call(VclSimpleEvent*) const () from /usr/lib/libreoffice/program/../basis-link/program/libvcllx.so
 Window::CallEventListeners(unsigned long, void*) () from /usr/lib/libreoffice/program/../basis-link/program/libvcllx.so
 Window::~Window() () from /usr/lib/libreoffice/program/../basis-link/program/libvcllx.so
Title: soffice.bin crashed with SIGSEGV in framework::LockHelper::acquireReadAccess()
UpgradeStatus: Upgraded to oneiric on 2011-06-28 (87 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
In , Pavel223344 (pavel223344) wrote :

Created attachment 48543
Error message recieved upon crash

Some documents crash upon saving or closing in LibO Writer 3.4 in Ubuntu 11.4.

This happens in Ubuntu 11.04. It doen‘t happen in Windows 7 and not in Debian stable. The documents must be of some complexity. Newly created docs work as expected, but some, but not all, papers I have been working on for a while crashes.

I guess that there is something in some of my docs that doesn‘t work properly in LibO 3.4. I have not been able to pinpoint what it is. I have made a test document (2 pages) with the error present out of a much bigger document. If I shorten the document further or insert dummy text instead of real text the document does not crash.

I am reluctant to post even a small part of my document publicly. If I change to dummy text the error is gone so its the real thing. Perhaps I could mail the file to someone for further analysis?

How to recreate:
Open the document in LibO 3.4 on Ubuntu 11.04
Close the document
Writer crashes
When Writer is restarted you are prompted to recreate the document

The document works fine in LibO 3.3 (and earlier versions of OOo).

I get error reports in my home folder every time LibO crashes. I post one of them. It says something about Java. I have tested LibO 3.4 with SUN Java and Open JDK. The document crashes with either.

I have also tested with LibO 3.4.1 RC3 and the documents still crash.

This is a serious bug since data is lost upon crash, especially if you are working on several documents, since all open documents crash without saving.

Revision history for this message
In , Pavel223344 (pavel223344) wrote :

The bug is present in LibO 3.4.1 in all OS, Windows and Debian, I was wrong earlier. Several of my documents crash in all systems I have available.
I suspect it has something to do with fields. I use endnotes and footnotes in the documents that crash. I think that the documents must be of some length and complexity for the crash to appear.
I still have a document to test for any developer interested...

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

@reporter:
Please attach one of those documents causing a crash!
Can you please check <https://bugs.launchpad.net/ubuntu/+source/libreoffice> for similar bugs?

Revision history for this message
In , dnh (dnh) wrote :

I have a similar problem on both Kubuntu 11.04 and W7 which I reported as bug 40178.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

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

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

Without sample document nothing can be done, closing Bug due to reporters' inactivity as WFM.

@reporters:
Please feel free to reopen this bug if you find out that the problem still exists with the current stable LibreOffice version and if you can contribute requested additional information due to <http://wiki.documentfoundation.org/BugReport> (especially BugReport Details)!

Revision history for this message
In , dnh (dnh) wrote :

Created attachment 50610
First file used to replicate a crash.

Revision history for this message
In , dnh (dnh) wrote :

Created attachment 50611
Second file used to replicate a crash.

Revision history for this message
In , dnh (dnh) wrote :

I have now understood how to replicate a crash. I tried it a couple of times, it always crashes.

Setup two odt-files with a fairly large amount of text (copying this page into the files worked for me: http://www.spiegel.de/panorama/0,1518,782809,00.html, I have attached both files).

Close LO. Reopen both files. Attempt to close one of the files by hitting the small close-button in the upper right corner - LO crashes.

Best,
dnh

Revision history for this message
In , dnh (dnh) wrote :

Updating to 3.4.3 is to no avail, it still crashes.

Revision history for this message
In , dnh (dnh) wrote :

Let me by the way add that I use a 32-bit system, not a 64 as originally reported by Pavel.

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

[Reproducible] with reporter's sample documents and "LibreOffice 3.4.3 RC2 - WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:302)]".

I open document as the only one, scroll down with scroll slider, wait until missing objects or pictures have appeared, scroll on until bottom of document, scroll up quickly again, close document close it clicking the right top little close-"x".
Expected: should close document, open LibO Start Center
Actual: crash.

The crash does no longer appear with Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) English UI [(Build ID: a6adae1-4eb4f62-09af278)]".

@Reporter
can you confirm that the problem is no longer visible with Master (please see <http://wiki.documentfoundation.org/Installing_in_parallel>!)?

Revision history for this message
In , Digitalant-com (digitalant-com) wrote :

3.4.3 Mac OSX 10.6.8, Apple Java 6u26, EN US

The doc opens for me and does not crash, but scrolling up and down causes LibO to hang for about 5-8 secs on the pictures with links. I did notice the pictures, menu items and undefined objects are all just links, it takes a while for it to populate over the net. Possibly a timeout issue.

I right-clicked on the images, saved them all to my computer and everything worked smoothly with no delay.

Revision history for this message
In , julien2412 (serval2412-6) wrote :
Download full text (3.3 KiB)

It doesn't crash on my laptop (Debian testing x86 on master updated today).
But here are some console logs (debug mode) :
Error: <SwNoTxtNode::SetObjTitle(..)> - missing <SdrObject> instance From File /home/maryline/compile-libreoffice/libo/sw/source/core/layout/atrfrm.cxx at Line 2945
Error: Don't close the medium when loading documents! From File /home/maryline/compile-libreoffice/libo/sfx2/source/doc/objmisc.cxx at Line 1301
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: Special modes not compatible with hidden mode! From File /home/maryline/compile-libreoffice/libo/sfx2/source/view/sfxbasecontroller.cxx at Line 1377
Error: assertion failed! From File /home/maryline/compile-libreoffice/libo/sw/source/ui/app/apphdl.cxx at Line 698
Error: Don't close the medium when loading documents! From File /home/maryline/compile-libreoffice/libo/sfx2/source/doc/objmisc.cxx at Line 1301
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: invalid type for InteractionHandler From File /home/maryline/compile-libreoffice/libo/sfx2/source/appl/appuno.cxx at Line 518
Error: <SwNoTxtNode::SetObjTitle(..)> - missing <SdrObject> instance From File /home/maryline/compile-libreoffice/libo/sw/source/core/layout/atrfrm.cxx at Line 2945
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: assertion failed! From File /home/maryline/compile-libreoffice/libo/sw/source/ui/app/apphdl.cxx at Line 698
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: SVRect() without Width or Height From File /home/maryline/compile-libreoffice/libo/sw/inc/swrect.hxx at Line 306
Error: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Please inform OD. From File /home/maryline/compile-libreoffice/libo/sw/source/core/layout/anchoredobject.cxx at Line 670
Error: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Please inform OD. From File /home/maryline/compile-lib...

Read more...

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

The question is: what will we do with this one? I think a new report for observations in Comment 13?

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 acquireReadAccess () from /tmp/tmplIHE3N/usr/lib/libreoffice/program/../basis-link/program/libfwilx.so
 framework::LayoutManager::WindowEventListener () from /tmp/tmplIHE3N/usr/lib/libreoffice/program/../basis-link/program/libfwklx.so
 VclEventListeners::Call () from /tmp/tmplIHE3N/usr/lib/libreoffice/program/../basis-link/program/libvcllx.so
 Window::CallEventListeners () from /tmp/tmplIHE3N/usr/lib/libreoffice/program/../basis-link/program/libvcllx.so
 ~Window () from /tmp/tmplIHE3N/usr/lib/libreoffice/program/../basis-link/program/libvcllx.so

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in df-libreoffice:
importance: Unknown → High
status: Unknown → Confirmed
Changed in libreoffice (Ubuntu):
status: New → Triaged
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :
visibility: private → public
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

Since all new unconfirmed bugs start in state UNCONFIRMED now and old unconfirmed bugs were moved to NEEDINFO with a explanatory comment, all bugs promoted above those bug states to NEW and later are automatically confirmed making the CONFIRMED whiteboard status redundant. Thus it will be removed.

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

closing as worksforme as there seems to be no crash on this with 3.5.x+

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

marking as fix released as per upstream

Changed in df-libreoffice:
status: Confirmed → Invalid
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

same as upstream

Changed in libreoffice (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.