https://bugs.documentfoundation.org/show_bug.cgi?id=155037
Bug ID: 155037
Summary: Crash in: rtl_uString_new when attempting to copy
sheet to a sheet containing VBA macro
Product: LibreOffice
Version: 7.5.2.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 186946
--> https://bugs.documentfoundation.org/attachment.cgi?id=186946&action=edit
histogram.xls containing binHistogram macro for counting data
This bug was filed from the crash reporting server and is
br-6353002a-03d3-4359-8301-6d1021d2fb70.
=========================================
I hit this on an old version 7.3.3. I upgraded to the latest and reproduced it
the same way
7.5.2.2 (x86_64)
https://git.libreoffice.org/core/+log/53bb9681a964705cf672590721dbc85eb4d0c3a2
I'm running windows 10 22H2
I'm wanted to use a VBA macro I had in Excel, so I made the following settings:
Tools\Options\LibreOffice\Security\Macro Security - Medium
Tools\Options\Load/Save\VBA Properties - all boxes checked
load histogram.xls (attached) containing VBA macro - confirm enable macros
save as history_test.ods
click new
type 1 in first cell
rename sheet from "Sheet1" to "Data"
right click "Data" tab / Move/Copy Sheet / copy to document
"histogram_test.ods"
Make sure "Copy" not "Move" is selected, then click the big "Copy" button at
the bottom.
"Due to an error, LibreOffice crashed.... "
When I restart Calc, it runs through recovery
https://crashreport.libreoffice.org/stats/crash_details/6353002a-03d3-4359-8301-6d1021d2fb70
Most times the data was not copied, but one time when I was doing this with
real data it actually had the copied sheet in the file with the macro when it
was recovered.
If you have trouble reproducing this, let me know. I should be able to do it
again and give more details.
Here's some mother crash reports for this issue:
First time, copied multiple tabs of data:
https://crashreport.libreoffice.org/stats/crash_details/0c8eae5f-a200-43f9-8800-d1e929f05077
Tried copying only one tab of data. (This time data got copied when file was
recovered.)
https://crashreport.libreoffice.org/stats/crash_details/fcfe19f2-7ec1-4c19-922b-368a25594b4d
Tried again with page containing very little data
https://crashreport.libreoffice.org/stats/crash_details/6f3a2063-5bb6-4598-b2e9-38db95f2faba
Tried loading file containing macro, but with with macros disabled. It still
crashed.
https://crashreport.libreoffice.org/stats/crash_details/23c87c1a-0828-4ca4-98e8-e119965896ab
Updated to latest version and retested repro steps to generate the main crash
report linked to this bug report.
--
You are receiving this mail because:
You are the assignee for the bug.