Issue 125193 - crash with comments and table row selected
Summary: crash with comments and table row selected
Status: CLOSED DUPLICATE of issue 125024
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.0
Hardware: Mac All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2014-07-03 11:48 UTC by David
Modified: 2017-05-20 10:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
crash report (68.90 KB, text/plain)
2014-07-03 11:48 UTC, David
no flags Details
Document crash example (10.79 KB, application/vnd.oasis.opendocument.text)
2014-07-03 16:30 UTC, David
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description David 2014-07-03 11:48:10 UTC
Created attachment 83632 [details]
crash report

Crash when press alignment center button on a table row selected.

Crash report file is attached.
Comment 1 Ariel Constenla-Haile 2014-07-03 12:28:12 UTC
I can't reproduce this with the following steps:
- new Writer document
- insert a 4x4 table
- select first row
- press the align center toolbar button

@David: does the crash happen with a particular document? If so, can you attach the document?
From the crash report, it seems that your document has comments, and they are visible (menu View - Comments is checked).
Comment 2 David 2014-07-03 16:30:13 UTC
Created attachment 83635 [details]
Document crash example

This is a document example when crash occur. When I attempt select the second row of the table 2x2, the program go to crash. If I remove the comment, crash does not occur.
Comment 3 Ariel Constenla-Haile 2014-07-03 16:59:59 UTC
(In reply to David from comment #2)
> Created attachment 83635 [details]
> Document crash example

Thanks. The bug is reproducible on Linux with the following steps:

- open the document
- select the second row
- toogle the sidebar visibility by selecting menu View - Sidebar
- Crash
Comment 4 Ariel Constenla-Haile 2014-07-03 17:13:48 UTC
This isn't reproducible on 4.1.1
AOO411m1(Build:9770)  -  Rev. 1603804
2014-06-19 10:08 - Linux x86_64

Duplicated of bug 125024 according to the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007f5902e13767 in SwRootFrm::CalcFrmRects(SwShellCrsr&, unsigned char) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
(gdb) bt
#0  0x00007f5902e13767 in SwRootFrm::CalcFrmRects(SwShellCrsr&, unsigned char) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#1  0x00007f59030a8e90 in sw::sidebarwindows::SwSidebarWin::SetPosAndSize() () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#2  0x00007f59030a9265 in sw::sidebarwindows::SwSidebarWin::ShowNote() () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#3  0x00007f59030a220e in SwPostItMgr::LayoutPostIts() () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#4  0x00007f5902f9c96b in ViewShell::VisPortChgd(SwRect const&) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#5  0x00007f5902c7cc5b in SwCrsrShell::VisPortChgd(SwRect const&) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#6  0x00007f590314561c in SwView::SetVisArea(Rectangle const&, unsigned char) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#7  0x00007f59031437ec in SwView::CalcVisArea(Size const&) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#8  0x00007f59031441ac in SwView::OuterResizePixel(Point const&, Size const&) () from /home/ariel/aoo/installation/openoffice4/program/../program/libsw.so
#9  0x00007f59367a22c7 in SfxViewFrame::DoAdjustPosSizePixel (this=0x2d1e8c8, pSh=0x2e300e8, rPos=Point = {...}, rSize=Size = {...})
    at /build/aoo/src/playground/trunk/main/sfx2/source/view/viewfrm.cxx:1752

*** This issue has been marked as a duplicate of issue 125024 ***
Comment 5 Ariel Constenla-Haile 2014-07-03 17:14:10 UTC
@David: you can try with a build from https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds
Comment 6 David 2014-07-04 07:39:27 UTC
With this build, the crash doesn't happen. Thanks.

(In reply to Ariel Constenla-Haile from comment #5)
> @David: you can try with a build from
> https://cwiki.apache.org/confluence/display/OOOUSERS/
> Development+Snapshot+Builds
Comment 7 fanyuzhen 2014-07-09 07:54:41 UTC
Change defect status per above comment 4 and comment 6, it's verified fixed in build AOO411m1(Build:9770)  -  Rev. 1603804 2014-06-16 14:10:45 (Mo, 16 Jun 2014)