Bug 855541

Summary: [abrt] libreoffice-core-3.5.6.2-2.fc17: multi-threaded XIOError segv
Product: [Fedora] Fedora Reporter: Sergey Kurtsev <skurtsev>
Component: libreofficeAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: caolanm, dtardon, erack, ltinkl, mikhail.v.gavrilov, mstahl, sbergman, sm301
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:fb7c7f4de5f534a1d96e9fb18ac24a924bc1e959
Fixed In Version: libreoffice-3.5.6.2-5.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 16:11:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: core_backtrace
none
File: environ
none
File: limits
none
File: backtrace
none
File: cgroup
none
File: maps
none
File: dso_list
none
File: var_log_messages
none
File: open_fds none

Description Sergey Kurtsev 2012-09-08 19:14:59 UTC
Version-Release number of selected component:
libreoffice-core-3.5.6.2-2.fc17

Additional info:
libreport version: 2.0.13
abrt_version:   2.0.12
backtrace_rating: 4
cmdline:        /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=6
crash_function: exit
kernel:         3.5.3-1.fc17.i686.PAE

truncated backtrace:
:Thread no. 1 (6 frames)
: #1 exit at exit.c
: #2 gdk_x_io_error at gdkmain-x11.c
: #3 _XIOError at XlibInt.c
: #5 XGetSelectionOwner at GetSOwner.c
: #6 x11::SelectionManager::run at /usr/src/debug/libreoffice-3.5.6.2/vcl/unx/generic/dtrans/X11_selection.cxx
: #7 osl_thread_start_Impl at thread.c

Comment 1 Sergey Kurtsev 2012-09-08 19:15:02 UTC
Created attachment 611045 [details]
File: core_backtrace

Comment 2 Sergey Kurtsev 2012-09-08 19:15:04 UTC
Created attachment 611046 [details]
File: environ

Comment 3 Sergey Kurtsev 2012-09-08 19:15:07 UTC
Created attachment 611047 [details]
File: limits

Comment 4 Sergey Kurtsev 2012-09-08 19:15:09 UTC
Created attachment 611048 [details]
File: backtrace

Comment 5 Sergey Kurtsev 2012-09-08 19:15:11 UTC
Created attachment 611049 [details]
File: cgroup

Comment 6 Sergey Kurtsev 2012-09-08 19:15:14 UTC
Created attachment 611050 [details]
File: maps

Comment 7 Sergey Kurtsev 2012-09-08 19:15:16 UTC
Created attachment 611051 [details]
File: dso_list

Comment 8 Sergey Kurtsev 2012-09-08 19:15:19 UTC
Created attachment 611052 [details]
File: var_log_messages

Comment 9 Sergey Kurtsev 2012-09-08 19:15:21 UTC
Created attachment 611053 [details]
File: open_fds

Comment 10 Caolan McNamara 2012-09-10 09:56:21 UTC
There was an XIOError which typically is "the X server went away" while the app was running and we can do nothing about that. There appears then to be a segv during the unexpected shutdown

Comment 11 Caolan McNamara 2012-09-10 22:10:39 UTC
hmm, two threads, both get the XIOError, both call the default gdk xioerror handler which isn't prepared for that. Safest solution might be to install our own xioerror handler which discards xioerrors from the non-main thread.

Comment 12 Caolan McNamara 2012-09-11 10:38:38 UTC
*** Bug 820074 has been marked as a duplicate of this bug. ***

Comment 13 Caolan McNamara 2012-09-12 13:08:56 UTC
tweaked the XIOError handler to hopefully avoid this double exit problem. Will be in >= libreoffice-3.5.6.2-5.fc17

Comment 14 Fedora Update System 2012-09-26 08:21:38 UTC
libreoffice-3.5.6.2-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libreoffice-3.5.6.2-5.fc17

Comment 15 Fedora Update System 2012-09-27 04:30:16 UTC
Package libreoffice-3.5.6.2-5.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreoffice-3.5.6.2-5.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14896/libreoffice-3.5.6.2-5.fc17
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2012-12-20 16:11:32 UTC
libreoffice-3.5.6.2-5.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.