Bug 105412 - Hard crash when trying to delete rows in a sheet.
Summary: Hard crash when trying to delete rows in a sheet.
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: target:6.1.0
Depends on:
Reported: 2017-01-18 11:04 UTC by Romano Giannetti
Modified: 2018-04-23 16:53 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:
Regression By:

the document that crashes Calc (36.84 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-01-18 11:04 UTC, Romano Giannetti
Screenshot of the crash (127.22 KB, image/png)
2017-01-18 11:08 UTC, Romano Giannetti
Screen Shot of the crash. (15.86 KB, image/png)
2017-01-30 12:30 UTC, jteera5

Note You need to log in before you can comment on or make changes to this bug.
Description Romano Giannetti 2017-01-18 11:04:46 UTC
Created attachment 130519 [details]
the document that crashes Calc

Simple enough, if in the attached document you go to the last sheet ("Lab Eval"), select a whole row like for example row#20 (but it is more or less the same if you select another one or multiple one), Calc crashes with the message: 

multi_type_vector::position#1321: block position not found! (logical pos=18446744073709551594, block size=10, logical size=1048576)

Thank you!
Comment 1 Romano Giannetti 2017-01-18 11:08:45 UTC
Created attachment 130520 [details]
Screenshot of the crash
Comment 2 Xisco Faulí 2017-01-18 11:09:47 UTC Comment hidden (obsolete)
Comment 3 Romano Giannetti 2017-01-18 11:43:05 UTC
If it does not happen on the 5.4 probably it has been fixed on the road up :). I am using the included bundle in Ubuntu 16.04 so it is quite an hassle to update --- I will see if I can in the next days. 

Thanks a lot for the very fast answer.
Comment 4 m.a.riosv 2017-01-18 12:49:19 UTC
No issue with:
Versión: (x64)
Id. de compilación: f3e25ec0581f5012f54d8810dcddd5824f4ee374
Subprocesos de CPU: 1; Versión de SO: Windows 6.19; Renderizado de IU: Default; 
Configuración regional: es-ES (es_ES); Calc: group

Please try resetting the user profile, sometimes solves strange issues.
Usually it's enough renaming/deleting the file "user/registrymodifications.xcu",  it affects all the options in Menu/Tools/Options, and the files "user/basic/dialog.xlc" and "scrip.xlc" are overwritten, additionally custom colors in "user/config/standard.soc" are lost.
Comment 5 Julien Nabet 2017-01-18 15:53:17 UTC
Could you check LO ppa to install a newer LO version? Last TDF official stable one is 5.2.4
Comment 6 jteera5 2017-01-30 12:30:25 UTC
Created attachment 130766 [details]
Screen Shot of the crash.

I had the same problem. I was moving the row by cutting and pasting the row. Then I came back to the cut empty row to delete it and the error box appeared and Calc crashed.
Comment 7 Timur 2017-01-30 17:07:47 UTC
Not Linux only, repro on Windows with 5.1.4. No repro with 5.1.5 so WFM. 
If tested otherwise, feel free to reopen with details. 

For reporters, in Linux you can: 
- install latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/
- add LO PPA to install latest 5.1.x (still) or 5.2.y (fresh) or even 5.3.z (development) - this is same as 5.w
- use Bash Script to Extract Parallel LO (no installation) from http://pastebin.com/L6SFSYFR (good for testing)

I wonder why Ubuntu doesn't upgrade to x.y. last for stable branch.
Comment 8 Commit Notification 2018-02-25 14:58:55 UTC
Zdeněk Crhonek committed a patch related to this issue.
It has been pushed to "master":


uitest Calc merged cells- tdf#51368 tdf#105412 tdf#37901 tdf#51368 tdf#63766

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.