Bug 1040708 - std::nth_element crash: LibreOffice needs to be rebuilt against libstdc++-dev with gcc#58800 fixed
Summary: std::nth_element crash: LibreOffice needs to be rebuilt against libstdc++-dev...
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 19
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
: 1034383 (view as bug list)
Depends On: 1025072
TreeView+ depends on / blocked
Reported: 2013-12-11 23:55 UTC by roger griffiths
Modified: 2013-12-24 18:40 UTC (History)
10 users (show)

Fixed In Version: libreoffice-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-12-24 03:35:20 UTC

Attachments (Terms of Use)
backtrace (says to attache the coredump, but it is too large!) (4.39 KB, text/plain)
2013-12-11 23:55 UTC, roger griffiths
no flags Details
requested backtrace (59.52 KB, text/plain)
2013-12-12 19:15 UTC, roger griffiths
no flags Details

System ID Priority Status Summary Last Updated
FreeDesktop.org 72201 None None None Never

Description roger griffiths 2013-12-11 23:55:02 UTC
Created attachment 835517 [details]
backtrace (says to attache the coredump, but it is too large!)

Description of problem:
I have several uses of the MEDIAN() function in this spreadsheet, as I enter data libreoffice crashes.

Version-Release number of selected component (if applicable):     (release:  8.fc19  )

How reproducible:

Steps to Reproduce:
The following simple columns of data will repeatedly cause a crash:


Note, if you sort the data first then use MEDIAN() it correctly determines the value. I have tried this both in separate pages in the spreadsheet, and in a fresh (new) spreadsheet.

Actual results:

Expected results:

Additional info:

Comment 1 roger griffiths 2013-12-11 23:58:00 UTC
I have attempted to submit this via abrt many times, but it will not submit? That is why I did this -- manually. The coredump was too large to upload (124MB)

Comment 2 Eike Rathke 2013-12-12 11:55:55 UTC
Unfortunately I can't reproduce this and the backtrace is incomplete (gdb hung and killed), could you try to generate a complete backtrace?

Comment 3 roger griffiths 2013-12-12 13:21:13 UTC
I have repeated the process several times (same column of data), each time I get a crash. When I review the backtrace, each one ends with:

Timeout exceeded: 240 seconds, killing gdb.
Looks like gdb hung while generating backtrace.
This may be a bug in gdb. Consider submitting a bug report to gdb developers.
Please attach coredump from this crash to the bug report if you do.

I am not sure how to proceed from here, I don't know any options to set in gdb. My system is up2date.

Comment 4 roger griffiths 2013-12-12 19:15:17 UTC
Created attachment 835996 [details]
requested backtrace

I generated this backtrace as part of a crash submission. It marked the bug as 1034383 and did not attach the backtrace. So I am adding it here. Additional information: I have tried this same test on 4 different machines, as different users and in different desktops (xfce, gnome, gnome classic); in each case libre office crashes (everytime) when I use MEDIAN() of the column of data [below].

Comment 5 Caolan McNamara 2013-12-13 13:11:59 UTC
*** Bug 1034383 has been marked as a duplicate of this bug. ***

Comment 6 Caolan McNamara 2013-12-13 13:14:11 UTC

=MEDIAN(<that range>) crashes reproducible as reported via 1034383

Comment 7 Caolan McNamara 2013-12-13 13:18:13 UTC

Comment 8 Caolan McNamara 2013-12-13 13:34:07 UTC

* Sun Oct 20 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-2
- update from the 4.8 branch
  - PRs c++/58596, libstdc++/58800
- power8 TImode fix (#1014053, PR target/58673)

which on the face of it would suggest that a rebuild with >= 4.8.2-2 would fix this. But gcc-4.8.2-1 is the latest available pushed to f19 as far as I can see so we don't have anything more recent we can rebuild against.

caolanm->jakub: any workarounds, or plans to push an updated f19 libstdc++-devel ?

Comment 9 Jakub Jelinek 2013-12-17 09:43:00 UTC
Why have you reassigned it to gcc?
Just add karma to https://admin.fedoraproject.org/updates/FEDORA-2013-23419/gcc-4.8.2-7.fc19
and it will be hopefully pushed earlier.  There is also bodhi request for F20, but that one has been already pushed stable, but is likely waiting for F20 release.

Comment 10 Caolan McNamara 2013-12-18 11:10:11 UTC
because when I searched admin I could find no f19 pending update

Comment 11 Fedora Update System 2013-12-19 16:37:28 UTC
libreoffice- has been submitted as an update for Fedora 20.

Comment 12 Fedora Update System 2013-12-21 02:11:10 UTC
Package libreoffice-
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreoffice-'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2013-12-21 20:10:29 UTC
libreoffice- has been submitted as an update for Fedora 19.

Comment 14 Fedora Update System 2013-12-24 03:35:20 UTC
libreoffice- has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2013-12-24 03:42:55 UTC
libreoffice- has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 roger griffiths 2013-12-24 18:40:18 UTC
Thanks Caolan, it appears to be fixed, nice detective work.

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