https://bugs.freedesktop.org/show_bug.cgi?id=69862

          Priority: medium
            Bug ID: 69862
          Keywords: regression
                CC: [email protected]
          Assignee: [email protected]
           Summary: EDITING "Select All" crashes Writer when the document
                    contains a footnote and starts with a table
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: Writer
           Product: LibreOffice

1 Create table at start of the document
2 Add a footnote to the document
3 Press Ctrl-A

Expected result:
Everything in the document is selected

Actual result:
Writer crashes.

gdb output at the moment of the crash:
warn:legacy.osl:8968:1:sw/source/core/layout/trvlfrm.cxx:2493:
<SwRootFrm::CalcFrmRects(..)> - no content frame. This is a serious defect ->
please inform OD

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aaac0bc5700 (LWP 9849)]
0x00002aaaf182ffb0 in BigPtrEntry::GetPos (this=0x0) at
/home/stephan/Software/libreoffice/core/sw/inc/bparr.hxx:109
109         assert(this == pBlock->pData[ nOffset ]); // element not in the
block

(gdb) backtrace
#0  0x00002aaaf182ffb0 in BigPtrEntry::GetPos (this=0x0) at
/home/stephan/Software/libreoffice/core/sw/inc/bparr.hxx:109
#1  0x00002aaaf183004e in SwNode::GetIndex (this=0x0) at
/home/stephan/Software/libreoffice/core/sw/inc/node.hxx:279
#2  0x00002aaaf1b01024 in SwEditShell::_CopySelToDoc (this=0x1d262e0,
pInsDoc=0x21c35b0, pSttNd=0x0) at
/home/stephan/Software/libreoffice/core/sw/source/core/edit/edglss.cxx:240
#3  0x00002aaaf1b57293 in SwFEShell::Copy (this=0x1d262e0, pClpDoc=0x21c35b0,
pNewClpTxt=0x0) at
/home/stephan/Software/libreoffice/core/sw/source/core/frmedt/fecopy.cxx:219
#4  0x00002aaaf213c514 in (anonymous namespace)::lclOverWriteDoc
(rSrcWrtShell=..., rDest=...) at
/home/stephan/Software/libreoffice/core/sw/source/ui/dochdl/swdtflvr.cxx:373
#5  0x00002aaaf213c9f1 in SwTransferable::GetData (this=0x2169db0, rFlavor=...)
at /home/stephan/Software/libreoffice/core/sw/source/ui/dochdl/swdtflvr.cxx:438
#6  0x00002aaaae69fde6 in TransferableHelper::getTransferData (this=0x2169db0,
rFlavor=...) at
/home/stephan/Software/libreoffice/core/svtools/source/misc/transfer.cxx:361
#7  0x00002aaabce7e204 in x11::SelectionManager::convertData (this=0x1427570,
xTransferable=..., nType=364, nSelection=1, rFormat=@0x2aaac0bc482c: 8,
rData=...)
    at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:668
#8  0x00002aaabce81d23 in x11::SelectionManager::sendData (this=0x1427570,
pAdaptor=0x17b1070, requestor=50331684, target=364, property=305, selection=1)
    at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:1535
#9  0x00002aaabce82761 in x11::SelectionManager::handleSelectionRequest
(this=0x1427570, rRequest=...) at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:1763
#10 0x00002aaabce89ac8 in x11::SelectionManager::handleXEvent (this=0x1427570,
rEvent=...) at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:3644
#11 0x00002aaabce89d85 in x11::SelectionManager::dispatchEvent (this=0x1427570,
millisec=-1) at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:3723
#12 0x00002aaabce89f0e in x11::SelectionManager::run (pThis=0x1427570) at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:3752
#13 0x00002aaabce7b52c in call_SelectionManager_run (pMgr=0x1427570) at
/home/stephan/Software/libreoffice/core/vcl/unx/generic/dtrans/X11_selection.cxx:91
#14 0x00002aaaaaceac4b in osl_thread_start_Impl (pData=0x143ed30) at
/home/stephan/Software/libreoffice/core/sal/osl/unx/thread.c:251
#15 0x00002aaaab61fe0f in start_thread (arg=0x2aaac0bc5700) at
pthread_create.c:308
#16 0x00002aaaab3537dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Crash occurs on openSuSE 12.3 (64-bit) in MASTER:
Version: 4.2.0.0.alpha0+ (Build ID: 81202ae7487b139cb473ff85634003b36d67e8c4)
Version: 4.2.0.0.alpha0+ (Build ID: d3c70e68c652bbdeeaea20200e003b6c5f92a62f)

Crash does not occur in the standard openSuSE 12.3 LO:
Version 4.0:build-305 (Build ID: 400m0(Build:305))

@vmiklos: I suspect your recent "Select All" patch triggered this crashing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to