Bug 48029 - Crash when try to merge cells on RTF pasted table
Summary: Crash when try to merge cells on RTF pasted table
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.1 release
Hardware: x86 (IA32) All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 01:18 UTC by fabien.michel
Modified: 2012-11-15 11:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fabien.michel 2012-03-29 01:18:45 UTC
On MacOS Lion 10.7

On a new writer document.
Create a simple table.
Select all the table and copy it to clipboard.
Below it, paste the clipboard with "special paste"
Select "Formatted text RTF"
The table is pasted.
Select two cells and merge thems.
Libo Crash.
Comment 1 Miklos Vajna 2012-03-29 02:18:53 UTC
Backtrace:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f3b5bdc93e4 in SwTableLine::GetUpper (this=0x0) at /home/vmiklos/git/libreoffice/master/sw/inc/swtable.hxx:349
349               SwTableBox *GetUpper() { return pUpper; }
(gdb) bt
#0  0x00007f3b5bdc93e4 in SwTableLine::GetUpper (this=0x0) at /home/vmiklos/git/libreoffice/master/sw/inc/swtable.hxx:349
#1  0x00007f3b5c053f38 in SwTable::IsTblComplex (this=0x2956630) at /home/vmiklos/git/libreoffice/master/sw/source/core/table/swtable.cxx:1543
#2  0x00007f3b5bf264ad in GetTblSel (rCrsr=..., rBoxes=..., eSearchType=2) at /home/vmiklos/git/libreoffice/master/sw/source/core/frmedt/tblsel.cxx:209
#3  0x00007f3b5bf26302 in GetTblSel (rShell=..., rBoxes=..., eSearchType=2) at /home/vmiklos/git/libreoffice/master/sw/source/core/frmedt/tblsel.cxx:180
#4  0x00007f3b5c54efa2 in SwTableShell::GetState (this=0x1b5c9a0, rSet=...) at /home/vmiklos/git/libreoffice/master/sw/source/ui/shells/tabsh.cxx:1314
#5  0x00007f3b5c549a0c in SfxStubSwTableShellGetState (pShell=0x1b5c9a0, rSet=...) at /home/vmiklos/git/libreoffice/master/workdir/unxlngx6.pro/SdiTarget/sw/sdi/swslots.hxx:9872

Seems to be specific to the old RTF import filter, i.e. it does not happen if you have experimental features enabled (in that case the new RTF import filter is used even for copy&paste).
Comment 2 Only A Test Account, do not aadd to CC! 2012-03-29 03:47:08 UTC
[Reproducible] with "LibreOffice 3.5.1.2 German UI/Locale [Build-ID: dc9775d-05ecbee-0851ad3-1586698-727bf66] on German WIN7 Home Premium (64bit) and enabled  Experimental Features
Comment 3 fabien.michel 2012-07-13 11:25:45 UTC
I can't reproduce with
LibreOffice 3.5.5.3 
Version ID : 7122e39-92ed229-498d286-15e43b4-d70da21
On MacOS Lion 10.7.4