Bug 1098579 - [abrt] libreoffice-core: memmove(): soffice.bin killed by SIGSEGV
Summary: [abrt] libreoffice-core: memmove(): soffice.bin killed by SIGSEGV
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Stahl
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4d42716b08eab65a84507e81de0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-16 15:16 UTC by A. Barcomb
Modified: 2014-05-23 10:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-23 10:36:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (156.69 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: cgroup (172 bytes, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: core_backtrace (35.50 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: dso_list (23.00 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: environ (2.14 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: exploitable (82 bytes, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: limits (1.29 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: maps (116.01 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: open_fds (446 bytes, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: proc_pid_status (948 bytes, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details
File: var_log_messages (1.21 KB, text/plain)
2014-05-16 15:16 UTC, A. Barcomb
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 78742 0 None None None Never

Description A. Barcomb 2014-05-16 15:16:04 UTC
Description of problem:
This particular bug report comes not from 4.2.3.3 as in my initial bug report but from  4.2.4.2 but not a blank profile.
See https://bugs.freedesktop.org/show_bug.cgi?id=78742

If I create a master document and attempt to insert a new file which happens to be a Libre Office spreadsheet, Libreoffice hangs and eventually crashes.  I am able to add Writer documents and also slides to the master document.

Steps to reproduce:
1. Create a new master document.
2. In the master document navigator, select Insert/File and choose a Libreoffice spreadsheet.

Actual results:
Libreoffice hangs and then crashes.

Expected results:
While I would prefer to be able to add spreadsheets to the master document so that I am able to cross-reference between all documents which are part of the project (consider an exercise/answer sheet where you want to demonstrate how the spreadsheet was filled), if this is not supported I would expect to receive an error message informing me that I may not add a spreadsheet to a master document.

This was observed on Fedora 20.

Version-Release number of selected component:
libreoffice-core-4.2.4.2-8.fc20

Additional info:
reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        /usr/lib64/libreoffice/program/soffice.bin --writer file:///home/a/Desktop/Case-2012-01%20-%20When%20to%20Disrupt%20Your%20Customers%20(Method%20Park)/Case%202012-01%20-%20When%20to%20Disrupt%20your%20Customers%20-%20Case.odt --splash-pipe=5
crash_function: memmove
executable:     /usr/lib64/libreoffice/program/soffice.bin
kernel:         3.14.2-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 memmove at /lib64/libc.so.6
 #1 BigPtrArray::InsBlock(unsigned short) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #2 BigPtrArray::Insert(BigPtrEntry* const&, unsigned long) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #3 SwNodes::InsertNode(SwNode*, SwNodeIndex const&) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #4 SwNode::SwNode(SwNodeIndex const&, unsigned char) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #5 SwStartNode::SwStartNode(SwNodeIndex const&, unsigned char, SwStartNodeType) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #6 SwNodes::MakeTextSection(SwNodeIndex const&, SwStartNodeType, SwTxtFmtColl*, SwAttrSet*) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #7 SwXMLTableContext::InsertTableSection(SwStartNode const*, rtl::OUString const*) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #8 SwXMLTableContext::InsertRepRows(unsigned int) at /usr/lib64/libreoffice/program/../program/libswlo.so
 #9 SvXMLImport::endElement(rtl::OUString const&) at /usr/lib64/libreoffice/program/../program/libxolo.so

Comment 1 A. Barcomb 2014-05-16 15:16:09 UTC
Created attachment 896434 [details]
File: backtrace

Comment 2 A. Barcomb 2014-05-16 15:16:11 UTC
Created attachment 896435 [details]
File: cgroup

Comment 3 A. Barcomb 2014-05-16 15:16:13 UTC
Created attachment 896436 [details]
File: core_backtrace

Comment 4 A. Barcomb 2014-05-16 15:16:16 UTC
Created attachment 896437 [details]
File: dso_list

Comment 5 A. Barcomb 2014-05-16 15:16:18 UTC
Created attachment 896438 [details]
File: environ

Comment 6 A. Barcomb 2014-05-16 15:16:20 UTC
Created attachment 896439 [details]
File: exploitable

Comment 7 A. Barcomb 2014-05-16 15:16:22 UTC
Created attachment 896440 [details]
File: limits

Comment 8 A. Barcomb 2014-05-16 15:16:24 UTC
Created attachment 896441 [details]
File: maps

Comment 9 A. Barcomb 2014-05-16 15:16:26 UTC
Created attachment 896442 [details]
File: open_fds

Comment 10 A. Barcomb 2014-05-16 15:16:28 UTC
Created attachment 896443 [details]
File: proc_pid_status

Comment 11 A. Barcomb 2014-05-16 15:16:30 UTC
Created attachment 896444 [details]
File: var_log_messages

Comment 12 Michael Stahl 2014-05-23 10:36:41 UTC
Writer master documents should not allow inserting non-Writer documents,
upstream bug 78742.

fixed upstream master:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=805fd1ca343d6295b8114a24cc29bdac332f266d

fixed upstream libreoffice-4-2 for 4.2.5.1:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=f3ca9cc78e77dda656b5c39be928fdbb7f8babe8&h=libreoffice-4-2

since this is mostly a "don't do that, then" problem i'll not
do extra work add a patch to current Fedora packages.


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