Bug 1403014

Summary: [abrt] libreoffice-core: (anonymous namespace)::signalHandlerFunction(): soffice.bin killed by SIGABRT
Product: [Fedora] Fedora Reporter: James C. De Ricco <jamescdericco>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: caolanm, dtardon, erack, jamescdericco, mstahl, sbergman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ac1b1d4756aefa61fd8b0368010557779ff7a1a4
Whiteboard: abrt_hash:c9873549f82a2c8f024728d6b5b2dd09cc0e38cd;VARIANT_ID=workstation;
Fixed In Version: libreoffice-5.2.4.1-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 10:17:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
File: presentation.pptx none

Description James C. De Ricco 2016-12-08 21:47:21 UTC
Description of problem:
With a particular Office Open XML Presentation (.pptx extension) exported from Google Slides, openning it with LibreOffice, either with the command line "libreoffice presentation.pptx" or from Files (nautilus) crashes LibreOffice during its splash screen. Also openning the presentation with the open dialog also crashes LibreOffice. In all cases LibreOffice displays the "LibreOffice Document Recovery" dialog saying "Due to an unexpected error, LibreOffice crashed."

For some reason, I cannot reproduce this crash if I make a copy of it in Google Drive and download it.

Version-Release number of selected component:
libreoffice-core-5.2.3.3-11.fc25

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/lib64/libreoffice/program/soffice.bin 'SWEN 444 Presentation.pptx.pptx' --splash-pipe=5
crash_function: (anonymous namespace)::signalHandlerFunction
executable:     /usr/lib64/libreoffice/program/soffice.bin
global_pid:     2492
kernel:         4.8.11-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 (anonymous namespace)::signalHandlerFunction at /usr/src/debug/libreoffice-5.2.3.3/sal/osl/unx/signal.cxx:434
 #4 rtl_uString_assign at /usr/src/debug/libreoffice-5.2.3.3/sal/rtl/strtmpl.cxx:1461
 #5 rtl::OUString::operator= at /usr/src/debug/libreoffice-5.2.3.3/include/rtl/ustring.hxx:402
 #6 oox::ppt::Comment::setText at /usr/src/debug/libreoffice-5.2.3.3/include/oox/ppt/comments.hxx:78
 #7 oox::ppt::PresentationFragmentHandler::importSlide at /usr/src/debug/libreoffice-5.2.3.3/oox/source/ppt/presentationfragmenthandler.cxx:336
 #8 oox::ppt::PresentationFragmentHandler::finalizeImport at /usr/src/debug/libreoffice-5.2.3.3/oox/source/ppt/presentationfragmenthandler.cxx:413
 #9 sax_fastparser::FastSaxParserImpl::parseStream at /usr/src/debug/libreoffice-5.2.3.3/sax/source/fastparser/fastparser.cxx:788
 #10 oox::core::FastParser::parseStream at /usr/src/debug/libreoffice-5.2.3.3/oox/source/core/fastparser.cxx:118
 #12 oox::core::XmlFilterBase::importFragment at /usr/src/debug/libreoffice-5.2.3.3/oox/source/core/xmlfilterbase.cxx:360
 #14 oox::ppt::PowerPointImport::importDocument at /usr/src/debug/libreoffice-5.2.3.3/oox/source/ppt/pptimport.cxx:93

Comment 1 James C. De Ricco 2016-12-08 21:47:27 UTC
Created attachment 1229645 [details]
File: backtrace

Comment 2 James C. De Ricco 2016-12-08 21:47:28 UTC
Created attachment 1229646 [details]
File: cgroup

Comment 3 James C. De Ricco 2016-12-08 21:47:29 UTC
Created attachment 1229647 [details]
File: core_backtrace

Comment 4 James C. De Ricco 2016-12-08 21:47:31 UTC
Created attachment 1229648 [details]
File: dso_list

Comment 5 James C. De Ricco 2016-12-08 21:47:32 UTC
Created attachment 1229649 [details]
File: environ

Comment 6 James C. De Ricco 2016-12-08 21:47:33 UTC
Created attachment 1229650 [details]
File: limits

Comment 7 James C. De Ricco 2016-12-08 21:47:35 UTC
Created attachment 1229651 [details]
File: maps

Comment 8 James C. De Ricco 2016-12-08 21:47:36 UTC
Created attachment 1229652 [details]
File: mountinfo

Comment 9 James C. De Ricco 2016-12-08 21:47:37 UTC
Created attachment 1229653 [details]
File: namespaces

Comment 10 James C. De Ricco 2016-12-08 21:47:39 UTC
Created attachment 1229654 [details]
File: open_fds

Comment 11 James C. De Ricco 2016-12-08 21:47:40 UTC
Created attachment 1229655 [details]
File: proc_pid_status

Comment 12 James C. De Ricco 2016-12-08 21:47:41 UTC
Created attachment 1229656 [details]
File: var_log_messages

Comment 13 James C. De Ricco 2016-12-08 21:47:48 UTC
Created attachment 1229657 [details]
File: presentation.pptx

Comment 14 Caolan McNamara 2016-12-09 11:25:08 UTC
I believe this is what I fixed upstream with https://cgit.freedesktop.org/libreoffice/core/commit/?id=5c4ace9cc3eccbe252b5d284abcdc640ac763a50

Comment 15 Caolan McNamara 2016-12-09 11:32:17 UTC
works in my local up to date 5-2 build, so should be good in 5.2.4 which will be updated soon