Description: Crash when copying/pasting a Calc Sheet (multi_type_vector::get_type#1613: block position not found!) Steps to Reproduce: 1. Open attachment 133235 [details] (bug 107770 2. Select sheet S3 3. CTRL+A & CTRL+C 4. Open a new sheet & paste (CTRL-V) 5. Crash Actual Results: Crash dialog: multi_type_vector::get_type#1613: block position not found! Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Found in Version: 5.5.0.0.alpha0+ Build ID: ec79f3453471ee9b6ae32e71ff16ea99d9b7751c CPU threads: 4; OS: Windows 6.19; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-05-28_23:21:44 Locale: nl-NL (nl_NL); Calc: CL and in Versie: 4.4.6.3 Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d Locale: nl_NL but not Versie: 4.2.0.4 Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Step 4 should be: Open a new document
Repro with 4.3.0.4 / Ubuntu 17.04. Adding regression-related keywords.
Confirmed using repo bibisect-43max. # bad: [74b89c3193673ba9897dc4a4541500ef6e8d9bf7] source-hash-8f97326bdd3f42fc82aa5e1989fd03b0af1daf64 # good: [9c392cfdfe6e9a9bce98555ea989283a957aa3ad] source-hash-fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3 git bisect start 'latest' 'oldest' # bad: [e289d9d328719fd70e9a2680fd0e4f586a97b3be] source-hash-3c0a7cf4f67720f2cca2c4eb543f838d5b644e7f git bisect bad e289d9d328719fd70e9a2680fd0e4f586a97b3be # good: [0327d0bc45d60df0d1c8ac2470cf252b6bb8f780] source-hash-38fed70782ae6ac6b0282897c7abc6fa33a6de9e git bisect good 0327d0bc45d60df0d1c8ac2470cf252b6bb8f780 # good: [3179b7f12b618884e4e9cfbc80a3f3200a3cb411] source-hash-38ea39b517b218573b8d1430d7b06280bcfef0fb git bisect good 3179b7f12b618884e4e9cfbc80a3f3200a3cb411 # skip: [aad1feb1280361422ec841d742e4a6749aec6f76] source-hash-56bea42176e5f0b850da0bab410dda560fc89255 git bisect skip aad1feb1280361422ec841d742e4a6749aec6f76 # skip: [6f82394f10ede8d0ffb9aaf27ececb44269d7a6c] source-hash-91a7096af027d3a5b12972a6a5256c2a52812686 git bisect skip 6f82394f10ede8d0ffb9aaf27ececb44269d7a6c # skip: [2f816974ccef86e6520bee33d59b67bcafec8c7e] source-hash-14829a84ff4f77091767cf4503db0c8a6624f036 git bisect skip 2f816974ccef86e6520bee33d59b67bcafec8c7e # bad: [6319b9c91cf637e5bbf5746bd4a6501a934773c3] source-hash-537a6be2a81255ec4f1f90c6f5fa699f00356a88 git bisect bad 6319b9c91cf637e5bbf5746bd4a6501a934773c3 # good: [099d55c67aa833aa438b19a562e6a0b1c00cca09] source-hash-ab5d60574b22376912fa0e6a391a781c3ec366e3 git bisect good 099d55c67aa833aa438b19a562e6a0b1c00cca09 # good: [46c6e6d5621e816acc92d720d5f8e2f0ee0b2d25] source-hash-9a883d6d6fcc9ec4be777cff62cef564e551750a git bisect good 46c6e6d5621e816acc92d720d5f8e2f0ee0b2d25 # good: [4c9e00e8c5096c8b60208de1fb21ddc77e3b523a] source-hash-b74870f27557265e347f2e191a222f514d1b8c50 git bisect good 4c9e00e8c5096c8b60208de1fb21ddc77e3b523a # bad: [0ad3b541cdfaf3552c6c2757fc901d7f949e10f8] source-hash-86a094eb2b4fc602462e7ac3513c3b2eb032f7c5 git bisect bad 0ad3b541cdfaf3552c6c2757fc901d7f949e10f8 # good: [2a929b39d3e2f202668c060576604178d9faaae9] source-hash-7e5ce8c4fce2be0d1e73fe3c8003a17bad221625 git bisect good 2a929b39d3e2f202668c060576604178d9faaae9 # bad: [28c552e4d841013bfa7d98be9c891d986420447d] source-hash-ffaa20a1de7c34a71babc2c777e896fd02e7b98d git bisect bad 28c552e4d841013bfa7d98be9c891d986420447d # bad: [d358a2e31f6e68a09c28f8b9a06dc40827216b44] source-hash-ae838de0a3840e0fd490db5447bd6d481616e9d7 git bisect bad d358a2e31f6e68a09c28f8b9a06dc40827216b44 # good: [92432c2ac3fab85dc8a3c162f765bc4926a8ad86] source-hash-f538522a3b5e9a60ee7371485ca9446cd213a586 git bisect good 92432c2ac3fab85dc8a3c162f765bc4926a8ad86 # good: [52c2fc47dee640d58e09333d0555783a7c2eeabe] source-hash-da3c8bfb0be627da9b74ebf2b1d1ec339b702980 git bisect good 52c2fc47dee640d58e09333d0555783a7c2eeabe # bad: [4a1ab1c9d120110fe5435ae3c4fe42589a025935] source-hash-2bcd18892f1903d2434bc5dc6828841e49bb78a2 git bisect bad 4a1ab1c9d120110fe5435ae3c4fe42589a025935 # first bad commit: [4a1ab1c9d120110fe5435ae3c4fe42589a025935] source-hash-2bcd18892f1903d2434bc5dc6828841e49bb78a2
The bug started with the commit referenced below. Adding Cc: to Kohei Yoshida. https://cgit.freedesktop.org/libreoffice/core/commit/?id=2bcd18892f1903d2434bc5dc6828841e49bb78a2 author Kohei Yoshida <kohei.yoshida@collabora.com> 2014-02-20 21:05:51 (GMT) committer Kohei Yoshida <kohei.yoshida@collabora.com> 2014-02-20 21:09:01 (GMT) "fdo#72041: Intern strings in the external ref cache with the host document."
Created attachment 134108 [details] screenshot of crash error message
Created attachment 134109 [details] sample file to test crash cut a& paste of the cell CF4 -> BX400 (Sheet SODs_YPD) crashes Libre Office Calc
Libre office crashes during cut and paste of the cells CF4 -> BX400 on the first Sheet. Probably, the problem depends on the functions on the second sheet. The deletion of the second sheet prevent Calc from crashing. Copy and pasting for the same cells did not commit the crash. Curiously, cut and paste CF4 -> BX399 makes no problems and prevents from further crashing on CF4 -> BX400 Version: Version: 5.3.1.2 Build ID: 1:5.3.1-0ubuntu2 CPU Threads: 2; OS Version: Linux 4.10; UI Render: default; VCL: gtk3; Layout Engine: new; Locale: en-US (en_US.UTF-8); Calc: group
Reproduced in Version: 6.0.0.0.alpha0+ Build ID: 08f6f9dded1b142b858c455da03319abac691655 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group Steps to reproduce ( just for clarification ): Steps to Reproduce: 1. Open attachment 133235 [details] (bug 107770) 2. Select sheet S3 3. CTRL+A & CTRL+C 4. Open a new document & paste (CTRL-V) 5. Crash
Created attachment 134174 [details] stack trace on the location where the exception is thrown. Looks like the problem occurs during VLOOKUP.
Investigating.
(In reply to Aron Budea from comment #4) > The bug started with the commit referenced below. Adding Cc: to Kohei > Yoshida. > > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=2bcd18892f1903d2434bc5dc6828841e49bb78a2 Completely unrelated though, just a bibisect border, and this is *not* bisected, just bibisected.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d3b77628efc72d857c63c8fb91d7ed2b499ac860 Resolves: tdf#108292 WalkAndMatchElements: really limit the match It will be available in 6.0.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.
Pending review https://gerrit.libreoffice.org/39081 for 5-4 https://gerrit.libreoffice.org/39082 for 5-3
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6a4343a9925dbc5a75b7aeb5dfd4fde21124492f&h=libreoffice-5-4 Resolves: tdf#108292 WalkAndMatchElements: really limit the match It will be available in 5.4.0.1. 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.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=23580a95fb5aa5b64d7d767eb0f5a89b0d740460 assert( nX < nC && nY < nR ); cause of tdf#108292 It will be available in 6.0.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.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f8f29503cc4fda0a2f3750f82ac5d7f784bdf0f6&h=libreoffice-5-3 Resolves: tdf#108292 WalkAndMatchElements: really limit the match It will be available in 5.3.5. 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.
Eike Rathke committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=25b3806ac509006573e669acc33643af3bd77380 WalkAndMatchElements: really really limit the match, tdf#108292 follow-up It will be available in 6.0.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.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8d8044d25a6d112854655ef0ad51f1a904350f0f&h=libreoffice-5-3 Resolves: tdf#111943 really really limit the match, tdf#108292 follow-up It will be available in 5.3.6. 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.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-5-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9bedb5caae9cb4b535b9fc370480c1b4f5cd70f6&h=libreoffice-5-4 Resolves: tdf#111943 really really limit the match, tdf#108292 follow-up It will be available in 5.4.2. 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.
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-5-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d5e600aeb89915f1fbc291462190573e555bf21d&h=libreoffice-5-4-1 Resolves: tdf#111943 really really limit the match, tdf#108292 follow-up It will be available in 5.4.1. 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.
Verified in Version: 6.0.0.0.alpha0+ Build ID: 78960ad06faca055a6d97afbc764c902d5d07f6f CPU threads: 1; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@39, Branch:master, Time: 2017-08-30_06:31:19 Locale: es-ES (es_ES); Calc: group
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7bc16436e28153dfdd01e8d49cd193f62098476c tdf#108292: sc_uicalc: Add unittest It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.