[SRU] soffice.bin crashed with SIGSEGV in Application::GetSolarMutex()
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | LibreOffice |
Fix Released
|
Medium
|
||
| | libreoffice (Ubuntu) |
Medium
|
Unassigned | ||
| | Vivid |
Medium
|
Unassigned | ||
Bug Description
[Impact]
* crash on close of document
* possible loss of data (from other unsaved documents still open)
* top1 crasher for LibreOffice on errors.ubuntu.com
* regression versus prior major releases of LibreOffice
[Test Case]
* not easily/reliably reproducable sadly
[Regression Potential]
* low: minimal patch, not a core code area (only affects scenarios using StarBasic, not document model or e.g. layout), tested upstream and in PPA
[Other Info]
closed libreoffice calc
a java update has been running while soffice.bin was in action...
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: libreoffice-core 1:4.4.0~
ProcVersionSign
Uname: Linux 3.18.0-11-generic x86_64
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Feb 5 14:20:32 2015
ExecutablePath: /usr/lib/
ProcCmdline: /usr/lib/
SegvAnalysis:
Segfault happened at: 0x7fe8106f7e7a <_ZN11Applicati
PC (0x7fe8106f7e7a) ok
source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed readable region)!
destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: libreoffice
StacktraceTop:
Application:
?? () from /usr/lib/
?? () from /usr/lib/
?? () from /usr/lib/
__run_
Title: soffice.bin crashed with SIGSEGV in Application:
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: admin bacula dialout fuse libvirtd pcscd plugdev sudo
| Apport retracing service (apport) wrote : | #2 |
| Changed in libreoffice (Ubuntu): | |
| importance: | Undecided → Medium |
| tags: | removed: need-amd64-retrace |
| Launchpad Janitor (janitor) wrote : Re: soffice.bin crashed with SIGSEGV in Application::GetSolarMutex() | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in libreoffice (Ubuntu): | |
| status: | New → Confirmed |
This seems to be a crash on document close, which is good to know. Is there a good example document/
| information type: | Private → Public |
| Changed in libreoffice (Ubuntu): | |
| status: | Confirmed → Incomplete |
regression vs. 4.3: crash on close from BASIC -- stacktrace downstream at https:/
StractraceTop:
#0 0x00007fe8106f7e7a in Application:
No locals.
#1 0x00007fe812acd81c in SolarMutexGuard (this=<synthetic pointer>) at /build/
No locals.
#2 DocBasicItem:
No locals.
#3 0x00007fe812acd949 in DocBasicItem:
No locals.
#4 0x00007fe812ad1835 in release (this=<optimized out>) at /build/
No locals.
#5 ~Reference (this=0x7fe7d83
No locals.
#6 ~pair (this=0x7fe7d83
No locals.
#7 destroy<
No locals.
#8 destroy<
No locals.
#9 destroy_
No locals.
#10 delete_node (this=<optimized out>, prev=0x7fe7d81a
n = 0x7fe7d83d4c70
#11 delete_nodes (end=0x0, prev=0x7fe7d81a
count = <optimized out>
#12 delete_buckets (this=0x7fe812e
No locals.
#13 ~table (this=0x7fe812e
No locals.
#14 ~table_impl (this=0x7fe812e
This seems to be caused by a1fad26e045ff1f
The GaDocBasicItems is a rtl::Static<> and seems to thus live longer than even the SolarMutex -- as the change above is trying to get a guard for the mutex in dtor, that map has to be cleared before the SolarMutex is gone.
Also: Did any of the reporters have extensions installed? Did any of the reporters have NO extension installed? If the former, a list of extensions would be interesting.
A likely commit has been identified - marking as bisected
| Harm van Bakel (hvbakel) wrote : | #9 |
In my case at least some of these crashes seem to be related to the loss of the gvfsd-sftp mount point where the document was loaded from.
Michael Stahl committed a patch related to this issue.
It has been pushed to "master":
http://
tdf#90969: basic: add horrible hack to avoid crash due to ...
It will be available in 5.0.0.
The patch should be included in the daily builds available at
http://
information about daily builds can be found at:
http://
Affected users are encouraged to test the fix and report feedback.
|
|
#15 |
added a work-around for the BASIC global variable madness on master
| Changed in df-libreoffice: | |
| importance: | Unknown → Medium |
| status: | Unknown → Fix Released |
Michael Stahl committed a patch related to this issue.
It has been pushed to "libreoffice-4-4":
tdf#90969: basic: add horrible hack to avoid crash due to ...
It will be available in 4.4.4.
The patch should be included in the daily builds available at
http://
information about daily builds can be found at:
http://
Affected users are encouraged to test the fix and report feedback.
| description: | updated |
| summary: |
- soffice.bin crashed with SIGSEGV in Application::GetSolarMutex() + [SRU] soffice.bin crashed with SIGSEGV in Application::GetSolarMutex() |
| description: | updated |
| Changed in libreoffice (Ubuntu): | |
| status: | Incomplete → Fix Committed |
| Changed in libreoffice (Ubuntu): | |
| milestone: | none → vivid-updates |
| Changed in libreoffice (Ubuntu Vivid): | |
| milestone: | none → vivid-updates |
|
|
#17 |
*** Bug 91214 has been marked as a duplicate of this bug. ***
*** Bug 92012 has been marked as a duplicate of this bug. ***
| Launchpad Janitor (janitor) wrote : | #19 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in libreoffice (Ubuntu Vivid): | |
| status: | New → Confirmed |
| Launchpad Janitor (janitor) wrote : | #20 |
This bug was fixed in the package libreoffice - 1:4.4.4~
---------------
libreoffice (1:4.4.
* new upstream rc, includes hack to prevent crash on exit (LP: #1418551)
* Fix mailmerge without libreoffice-base scenario
-- Bjoern Michaelsen <email address hidden> Mon, 06 Jul 2015 17:24:44 +0200
| Changed in libreoffice (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in libreoffice (Ubuntu): | |
| milestone: | vivid-updates → none |
| Changed in libreoffice (Ubuntu Vivid): | |
| importance: | Undecided → Medium |
|
|
#21 |
Migrating Whiteboard tags to Keywords: (bibisected)
[NinjaEdit]
vivid is EOL
| Changed in libreoffice (Ubuntu Vivid): | |
| status: | Confirmed → Won't Fix |


StacktraceTop: :GetSolarMutex () at /build/ buildd/ libreoffice- 4.4.0~rc2/ vcl/source/ app/svapp. cxx:409 buildd/ libreoffice- 4.4.0~rc2/ include/ vcl/svapp. hxx:1567 :~DocBasicItem (this=0x7fe7d83 d1610, __in_chrg= <optimized out>) at /build/ buildd/ libreoffice- 4.4.0~rc2/ basic/source/ classes/ sb.cxx: 112 :~DocBasicItem (this=0x7fe7d83 d1610, __in_chrg= <optimized out>) at /build/ buildd/ libreoffice- 4.4.0~rc2/ basic/source/ classes/ sb.cxx: 116 buildd/ libreoffice- 4.4.0~rc2/ include/ cppuhelper/ implbase1. hxx:109
Application:
SolarMutexGuard (this=<synthetic pointer>) at /build/
DocBasicItem:
DocBasicItem:
release (this=<optimized out>) at /build/