Bug 159383 - Crash if I use SF_Calc CopyToRange
Summary: Crash if I use SF_Calc CopyToRange
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-26 10:48 UTC by Carel
Modified: 2024-01-27 15:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc document that triggers the bub (14.29 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-01-26 17:31 UTC, Carel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carel 2024-01-26 10:48:57 UTC
Description:
In the Public Function CopyToRange() on line 1086 the function instantly crashes,
The label 'Check:string' has an obvious error.


Steps to Reproduce:
1.use the function
2.
3.

Actual Results:
crashes

Expected Results:
no crashes


Reproducible: Always


User Profile Reset: No

Additional Info:
don't crash
Comment 1 Julien Nabet 2024-01-26 10:51:58 UTC
Could you please attach a minimal example file so it's quick and easy to reproduce?
Comment 2 Carel 2024-01-26 17:31:30 UTC
Created attachment 192187 [details]
Calc document that triggers the bub

I have made a short sketch that triggers the bug.
It's a Calc document with macro's
The code also shows on the sheet.
Just push the button and see what happens.
Comment 3 Julien Nabet 2024-01-26 18:21:19 UTC
Thank you for the feedback, I could reproduce this.
Comment 4 BogdanB 2024-01-27 15:23:01 UTC
In debug version I get this:
warn:basic.sbx:1266509:1267587:basic/source/sbx/sbxvalue.cxx:710: Not at Parent-Prop - otherwise CyclicRef
warn:stoc:1266509:1267587:stoc/source/inspect/introspection.cxx:1612: object of type "com.sun.star.beans.XIntrospectionAccess" lacks XTypeProvider
warn:stoc:1266509:1267587:stoc/source/inspect/introspection.cxx:1612: object of type "com.sun.star.beans.XIntrospectionAccess" lacks XTypeProvider
warn:stoc:1266509:1267587:stoc/source/inspect/introspection.cxx:1612: object of type "com.sun.star.beans.XIntrospectionAccess" lacks XTypeProvider
warn:basic.sbx:1266509:1267587:basic/source/sbx/sbxvalue.cxx:710: Not at Parent-Prop - otherwise CyclicRef


Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2cedb1a19ad605df4e148589e9027512e4dd9265
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded