Bug 1089077 - [abrt] libreoffice-core: get_previous_start(): soffice.bin killed by SIGSEGV
Summary: [abrt] libreoffice-core: get_previous_start(): soffice.bin killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:fb48455e9254302714f366fb626...
: 1127567 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 20:35 UTC by Milan Bouchet-Valat
Modified: 2015-06-29 20:09 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 20:09:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (81.73 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: cgroup (172 bytes, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: core_backtrace (54.38 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: dso_list (32.03 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: environ (2.99 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: exploitable (110 bytes, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: limits (1.29 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: maps (146.09 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: open_fds (1.97 KB, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: proc_pid_status (957 bytes, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details
File: var_log_messages (361 bytes, text/plain)
2014-04-17 20:35 UTC, Milan Bouchet-Valat
no flags Details

Description Milan Bouchet-Valat 2014-04-17 20:35:30 UTC
Version-Release number of selected component:
libreoffice-core-4.2.3.3-1.fc20

Additional info:
reporter:       libreport-2.2.1
backtrace_rating: 3
cmdline:        /usr/lib64/libreoffice/program/soffice.bin --impress file:///var/tmp/journ%C3%A9e_pls.ppt --splash-pipe=5
crash_function: get_previous_start
executable:     /usr/lib64/libreoffice/program/soffice.bin
kernel:         3.13.9-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 get_previous_start at /usr/include/boost/unordered/detail/table.hpp:245
 #1 begin at /usr/include/boost/unordered/detail/table.hpp:256
 #2 find_node_impl<int, std::equal_to<int> > at /usr/include/boost/unordered/detail/unique.hpp:236
 #3 find_node at /usr/include/boost/unordered/detail/table.hpp:782
 #4 find at /usr/include/boost/unordered/unordered_map.hpp:1208
 #5 ServerFont::GetGlyphData at /usr/src/debug/libreoffice-4.2.3.3/vcl/generic/glyphs/glyphcache.cxx:348
 #6 GetGlyphMetric at /usr/src/debug/libreoffice-4.2.3.3/vcl/inc/generic/glyphcache.hxx:208
 #7 freetypeServerFontAdvance at /usr/src/debug/libreoffice-4.2.3.3/vcl/generic/glyphs/graphite_serverfont.cxx:39
 #8 ??
 #9 ??

Comment 1 Milan Bouchet-Valat 2014-04-17 20:35:35 UTC
Created attachment 887296 [details]
File: backtrace

Comment 2 Milan Bouchet-Valat 2014-04-17 20:35:37 UTC
Created attachment 887297 [details]
File: cgroup

Comment 3 Milan Bouchet-Valat 2014-04-17 20:35:39 UTC
Created attachment 887298 [details]
File: core_backtrace

Comment 4 Milan Bouchet-Valat 2014-04-17 20:35:41 UTC
Created attachment 887299 [details]
File: dso_list

Comment 5 Milan Bouchet-Valat 2014-04-17 20:35:42 UTC
Created attachment 887300 [details]
File: environ

Comment 6 Milan Bouchet-Valat 2014-04-17 20:35:44 UTC
Created attachment 887301 [details]
File: exploitable

Comment 7 Milan Bouchet-Valat 2014-04-17 20:35:46 UTC
Created attachment 887302 [details]
File: limits

Comment 8 Milan Bouchet-Valat 2014-04-17 20:35:49 UTC
Created attachment 887303 [details]
File: maps

Comment 9 Milan Bouchet-Valat 2014-04-17 20:35:51 UTC
Created attachment 887304 [details]
File: open_fds

Comment 10 Milan Bouchet-Valat 2014-04-17 20:35:53 UTC
Created attachment 887305 [details]
File: proc_pid_status

Comment 11 Milan Bouchet-Valat 2014-04-17 20:35:55 UTC
Created attachment 887306 [details]
File: var_log_messages

Comment 12 Milan Bouchet-Valat 2014-05-06 14:02:55 UTC
Another user experienced a similar problem:

Changed line spacing of a large document and scrolled a little too quickly.

reporter:       libreport-2.2.2
backtrace_rating: 3
cmdline:        /usr/lib64/libreoffice/program/soffice.bin --impress file:///home/milan/EHESS/Homogamie/LFS/Budapest/Poster%20Budapest.odp --splash-pipe=5
crash_function: get_previous_start
executable:     /usr/lib64/libreoffice/program/soffice.bin
kernel:         3.13.10-200.fc20.x86_64
package:        libreoffice-core-4.2.3.3-9.fc20
reason:         soffice.bin killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 13 Caolan McNamara 2014-05-06 15:55:06 UTC
a font cache problem I suspect

Comment 14 Milan Bouchet-Valat 2014-05-07 19:12:33 UTC
Yeah, this is again using Linux Libertine G in a long Writer document. I've not been able to reproduce the crash again with a few attempts. Note that I had opened several similar documents, modified them, and closed most of them. So there may be something with incorrectly freed memory.

Comment 15 Seb L. 2014-08-06 07:50:36 UTC
Another user experienced a similar problem:

Crashed while drag-and-dropping an element on a master slide (Impress).

reporter:       libreport-2.2.3
backtrace_rating: 3
cmdline:        /usr/lib64/libreoffice/program/soffice.bin --impress '/tmp/intoPIX - TICO Technical Presentation - 2014 06 15 - IPX_GRO.pptx' --splash-pipe=5
crash_function: get_previous_start
executable:     /usr/lib64/libreoffice/program/soffice.bin
kernel:         3.15.6-200.fc20.x86_64
package:        libreoffice-core-4.2.5.2-10.fc20
reason:         soffice.bin killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 16 Milan Bouchet-Valat 2014-10-13 19:33:39 UTC
Another user experienced a similar problem:

Crashed when scrolling too fast in a Writer doc.

reporter:       libreport-2.2.3
backtrace_rating: 3
cmdline:        /usr/lib64/libreoffice/program/soffice.bin --impress file:///home/milan/EHESS/Homogamie/INED/Journ%C3%A9e%20GRAB%20SFdS/Journ%C3%A9e%20GRAB%20SFdS.odp --splash-pipe=5
crash_function: get_previous_start
executable:     /usr/lib64/libreoffice/program/soffice.bin
kernel:         3.16.3-200.fc20.x86_64
package:        libreoffice-core-4.2.6.3-8.fc20
reason:         soffice.bin killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 17 Caolan McNamara 2014-10-14 14:56:06 UTC
Have we a reproducible scenario ? i.e. a document I could open and reproduce the problem with.

Comment 18 Milan Bouchet-Valat 2014-10-14 21:30:36 UTC
Caolan: I've just sent to you the document with which I've experienced the crash several times. This document is generated by R/odfWeave based on an ODF containing code. This means I very often reload the document, and scroll quite fast while it's loading images. I cannot be sure that's the problem, but it seems the crash happens when scrolling too fast while the layout is being updated. But then what would be the relationship with the fonts cache, no idea...

Another possible explanation is that running R consumes quite a bit of memory, which triggers delays when reloading the document. Maybe there's a race condition between scrolling and updating the view, which is too hard to trigger under normal RAM conditions.

Comment 19 Caolan McNamara 2014-10-28 11:36:49 UTC
*grumble*, why am I never able to reproduce these things.

Comment 20 Milan Bouchet-Valat 2014-10-28 13:59:38 UTC
(In reply to Caolan McNamara from comment #19)
> *grumble*, why am I never able to reproduce these things.

Maybe because your machine is fast and the bug only happens when the system is slowed down by memory pressure? I think we discussed this already. Maybe you could try filling your memory to reproduce these conditions...

Comment 21 Caolan McNamara 2014-10-28 16:33:37 UTC
Nothing under valgrind either. But now that I think about it I was using an self-build upstream mode 4.2 and not the stock Fedora one which uses system graphite which might make a difference. Will try again.

Comment 22 Caolan McNamara 2014-10-29 10:36:32 UTC
and nothing for me with 4.2 LibreOffice. Maybe I didn't get the right "G" fonts installed. Can I get the output of fc-list -v ?

(if you want to try and get a valgrind trace yourself its...

export VALGRIND=memcheck
oowriter file.odt > ~/valgrind.log 2>&1
and attach the valgrind.log if office crashes or there is anything suspicious in the log.

Comment 23 Milan Bouchet-Valat 2014-10-30 21:00:38 UTC
Actually I've not been able to reproduce the problem now after quite a few attempts. I seems to only happen when I want to concentrate on my work! Unfortunately, running inside Valgrind is so slow that I really can't work with it waiting for the bug to happen again. Any other debugging solution available? Maybe adding a few lines of code would be enough to print interesting information before the crash happens?

Comment 24 Caolan McNamara 2015-01-06 11:09:33 UTC
*** Bug 1127567 has been marked as a duplicate of this bug. ***

Comment 25 Fedora End Of Life 2015-05-29 11:36:29 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 26 Fedora End Of Life 2015-06-29 20:09:52 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.