Created attachment 124914 [details] Select gray cells and move with drag & drop = crash. ISSUE: Selecting a specific range of cells and moving them by drag & drop crashes LibreOffice. No matter if I try to move for just one row/column or to outside the selected region, crash every time. REPRODUCE: In the sample document, select the gray cells and try to move them anywhere = crash. CULPRIT: If I delete any of the remaining calculations at column X (=SUM(C18:W18)), the crash no longer happens. I was able to remove just one of them (at row 20) to keep the crash happening, removing any other results in no crash. LIBREOFFICE VERSIONS: Crash happens in all LibreOffice versions tested, all on MacBook Air or Pro, running OSX 10.11.4: Version: 5.1.0.3 Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737 CPU Threads: 4; OS Version: -; UI Render: default; Locale: en-US (en.UTF-8) Version: 5.1.1.1 Build ID: c43cb650e9c145b181321ea547d38296db70f36e CPU Threads: 4; OS Version: Mac OS X 10.11.4; UI Render: GL; Locale: fi-FI (en.UTF-8) Version: 5.2.0.0.alpha0+ Build ID: 101e5bbc8aaa77d5db36e0969a512b5a283f1672 CPU Threads: 4; OS Version: Mac OS X 10.11.4; UI Render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-04-18_05:11:03 Locale: fi-FI (en.UTF-8) Version: 5.2.0.0.alpha1+ Build ID: d223aa57a1d6e356f24cd5ac4ddd702336b2ee87 CPU Threads: 4; OS Version: Mac OS X 10.11.4; UI Render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-05-07_00:24:03 Locale: fi-FI (en.UTF-8) DUPLICATES: I found two similiar reports on Linux from 2012 (LO 3), but they were resolved, so this should be a new issue.
Saving the spreadsheet in .xlsx or .ods and restarting LibreOffice doesn't affect the issue, still crashes the same.
Please try resetting the user profile, sometimes solves strange issues. https://wiki.documentfoundation.org/UserProfile 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.
The menu item mentioned in the wiki: Tools > Options does not exist. Anyway, renaming the user profile directory and relaunching LibreOffice did not affect this issue. Still crashes.
Sorry I think for mac is Menu/Edit/Preferences.
It's actually in the main application menu: LibreOfficeDev > Preferences... Anyway, no help from resetting the user profile, still crashes.
No crash Version: 5.2.0.0.alpha1+; win7
Repro. Version: 5.1.2.2 Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f CPU Threads: 4; OS Version: Mac OS X 10.11.4; UI Render: default; Locale: en-US (en.UTF-8)
Created attachment 125259 [details] valgrind log
I can reproduce this. https://gerrit.libreoffice.org/#/c/25405/ is my (simplistic?) fix
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0d116ad98d7c25df4ad63839bcf2fd7f152956df Resolves: tdf#99733 don't crash on moving range of cells It will be available in 5.2.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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a4ca886a6c0febac630761f4e7f685fc96a083ca&h=libreoffice-5-1 Resolves: tdf#99733 don't crash on moving range of cells It will be available in 5.1.4. 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 96342 has been marked as a duplicate of this bug. ***
No crash from moving the grey ones anymore. Version: 5.3.0.0.alpha0+ Build ID: b2f994469f3e2f1fe72e9f103b840aa949ace6dd CPU Threads: 4; OS Version: Mac OS X 10.11.5; UI Render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2016-05-25_23:36:03 Locale: en-US (en.UTF-8)
*** Bug 100058 has been marked as a duplicate of this bug. ***
*** Bug 90689 has been marked as a duplicate of this bug. ***
*** Bug 94755 has been marked as a duplicate of this bug. ***
*** Bug 100527 has been marked as a duplicate of this bug. ***