Bug 89554 - EDITING: Dragging table to other page causes crash
Summary: EDITING: Dragging table to other page causes crash
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: highest critical
Assignee: Caolán McNamara
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2015-02-22 09:42 UTC by Yousuf Philips (jay) (retired)
Modified: 2016-05-25 15:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample doc (10.10 KB, application/vnd.oasis.opendocument.text)
2015-02-22 09:42 UTC, Yousuf Philips (jay) (retired)
Details
linux backtrace (23.55 KB, text/plain)
2015-02-22 09:43 UTC, Yousuf Philips (jay) (retired)
Details
backtrace (12.15 KB, text/plain)
2015-07-04 15:52 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2015-02-22 09:42:45 UTC
Created attachment 113592 [details]
sample doc

Steps:
1) Open attached document
2) Drag the table on page 1 to page 6
3) Crash

Tested and this crash also occurs in 3.3.0, but required undoing the drag and repeating it a few times.

Version: 4.5.0.0.alpha0+
Build ID: 4cf69df2f543b023f4ec3d4279c5ac11a2a819d9
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2015-02-21_03:46:34
Comment 1 Yousuf Philips (jay) (retired) 2015-02-22 09:43:21 UTC
Created attachment 113594 [details]
linux backtrace
Comment 2 Arnaud Versini 2015-02-22 10:03:13 UTC
Confirmed on LibreOffice 4.4.0 on openSUSE.
Comment 3 Gordo 2015-07-04 15:52:47 UTC
Created attachment 117046 [details]
backtrace

It does freeze for a little bit and then it is possible to click on things but they do not work.  Going into print preview and coming back out and everything works.  Does crash on close.

I narrowed the problem down to dragging a table over a page break with a different page style.  I thought that two page view might have been involved but the same happens in singe page view.
1. New Text Document.
2. Enter some empty paragraphs.
3. Insert -> Manual Break -> select style First page or Index and OK.
4. On first page, Insert table.
5. Select table and drag with mouse to second page.
Result:
Hangs for about 10 - 20 seconds and then application mostly unresponsive.

Also, something interesting is that dragging a table results in the new table having the same name.

Windows Vista 64
Version: 4.4.4.3
Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8

Version: 5.1.0.0.alpha1+
Build ID: 89b5967658392d27fb3147e85abb2b5c1c34b101
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-24_04:10:17
Comment 4 Caolán McNamara 2016-05-25 15:19:35 UTC
Used the wrong bug prefix on the fix for this

https://cgit.freedesktop.org/libreoffice/core/commit/?id=0ea1ff986cae245ec0c17da03a5fa0a90b59b679