crash in SwXTextDocument::getRendererCount

Bug #1097782 reported by Björn Michaelsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Fedora)
Fix Released
Undecided
libreoffice (Ubuntu)
Fix Released
Undecided
Björn Michaelsen

Bug Description

on LibreOffice 3.5, see rhbz#890080 for details

Revision history for this message
In , David (david-redhat-bugs) wrote :

Version-Release number of selected component:
libreoffice-core-3.5.7.2-7.fc17

Additional info:
libreport version: 2.0.18
abrt_version: 2.0.18
backtrace_rating: 3
cmdline: /usr/lib64/libreoffice/program/soffice.bin --writer --splash-pipe=6
crash_function: os::die
kernel: 3.6.10-2.fc17.x86_64

truncated backtrace:
:Thread no. 1 (10 frames)
: #2 os::die at /usr/src/debug/java-1.7.0-openjdk/openjdk/hotspot/src/os/linux/vm/os_linux.cpp:1597
: #3 VMError::report_and_die at /usr/src/debug/java-1.7.0-openjdk/openjdk/hotspot/src/share/vm/utilities/vmError.cpp:1022
: #4 crash_handler at /usr/src/debug/java-1.7.0-openjdk/openjdk/hotspot/src/os/linux/vm/vmError_linux.cpp:106
: #6 ??
: #7 os::abort at /usr/src/debug/java-1.7.0-openjdk/openjdk/hotspot/src/os/linux/vm/os_linux.cpp:1578
: #8 VMError::report_and_die at /usr/src/debug/java-1.7.0-openjdk/openjdk/hotspot/src/share/vm/utilities/vmError.cpp:1018
: #9 JVM_handle_linux_signal at /usr/src/debug/java-1.7.0-openjdk/openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:528
: #11 SwView::RecheckBrowseMode at /usr/src/debug/libreoffice-3.5.7.2/solver/unxlngx6.pro/inc/svl/eitem.hxx:51
: #12 SwXTextDocument::getRendererCount at /usr/src/debug/libreoffice-3.5.7.2/sw/source/ui/uno/unotxdoc.cxx:2564
: #13 SfxPrinterController::getPageCount at /usr/src/debug/libreoffice-3.5.7.2/sfx2/source/view/viewprn.cxx:241

Potential duplicate bug: 706076

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668642
File: core_backtrace

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668643
File: environ

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668644
File: backtrace

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668645
File: limits

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668646
File: smolt_data

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668647
File: cgroup

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668648
File: executable

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668649
File: maps

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668650
File: dso_list

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668651
File: proc_pid_status

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668652
File: open_fds

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 668653
File: var_log_messages

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

crash because pSwView is 0 in "pSwView->RecheckBrowseMode();"

apparently this pSwView was introduced in OOo 3.4 in commit 2f9f480b22f2fff59d9c48b4b46706c3d5223e66
so it's likely this crash is a regression.

pSwView is checked for 0 in every use except the one the one that
causes this crash here, so i'll assume it's a simple oversight.

fixed upstream master in commit 1c52268a5bc6d79c6ee1344e4e341c7e3820d4e0
and backported to 4.0 branch and proposed for 3.6 branch;
added to f17 package, should be in next update for that.

Changed in libreoffice (Ubuntu):
status: New → In Progress
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libreoffice-3.5.7.2-8.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libreoffice-3.5.7.2-8.fc17

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

Package libreoffice-3.5.7.2-8.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.7.2-8.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1280/libreoffice-3.5.7.2-8.fc17
then log in and leave karma (feedback).

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libreoffice-3.5.7.2-9.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libreoffice-3.5.7.2-9.fc17

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

lp#1097782: released on Fedora 17 and upstream, one-line change adding a check for a NULL pointer (most possibly a regression against 3.3 too), crasher, thus dataloss

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

libreoffice-3.5.7.2-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.

Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
Changed in libreoffice (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.